An open API service indexing awesome lists of open source software.

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

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