https://github.com/miteshsharma/terraformansiblewebsite
Setup static website using nginx inside an EC2 instance in VPC with ansible and terraform
https://github.com/miteshsharma/terraformansiblewebsite
ansible nginx terraform
Last synced: 9 months ago
JSON representation
Setup static website using nginx inside an EC2 instance in VPC with ansible and terraform
- Host: GitHub
- URL: https://github.com/miteshsharma/terraformansiblewebsite
- Owner: MiteshSharma
- License: mit
- Created: 2018-09-19T17:44:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T17:49:16.000Z (over 7 years ago)
- Last Synced: 2025-03-23T11:32:55.497Z (9 months ago)
- Topics: ansible, nginx, terraform
- Language: HCL
- Size: 5.86 KB
- Stars: 21
- Watchers: 2
- Forks: 36
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Static website Setup using Terraform and Ansible
In this project, we are creating a instance with webserver which serves static website, setup with ansible.
## Getting Started
First needs to run terraform with aws access key and secury key.
Terraform commands:
terraform init
terraform plan
terraform apply
terraform destroy
Then run ansible to provision webserver servers.
Ansible command: ansible-playbook playbook.yml