Skip to content

lukepopp/TerraformAnsibleWebsite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Setup static website using nginx inside an EC2 instance in VPC with ansible and terraform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 98.6%
  • HTML 1.4%