How to build the environment & the web application altogether We'll be using terraform to provision the infrastructure & build the application
Pre-requisite: AWS Account
Please follow below steps to achieve that
- Create an IAM role with read-write access to computing & networking
- Set programatic access to IAM role & create ACCESS_KEY & SECRET_ACCESS_KEY
- Create a aws profile in your local to store the creds in /.aws/credentials or export them or pass it as env for terraform during it's execution (of your own choice)
- Get into web-app folder
- Do $terraform init to download the required provider plugins
- Do $terraform plan to review the infrastructure
- Do $terraform apply to deploy the infrastructure & the web_application
- Post completion please do curl or copy & paste the output "Application_URL_is {elb.dns}" in your web-browser to access the Hello-World application