A small demo of using Terraform with AWS, created for educational purposes.
Go to file
2022-08-30 11:19:14 +02:00
modules Add dynamic resources naming and tfvars example 2022-08-26 15:24:01 +02:00
prod Add dynamic resources naming and tfvars example 2022-08-26 15:24:01 +02:00
.gitignore Initial commit 2022-08-24 16:25:55 +02:00
LICENSE Initial commit 2022-08-24 16:25:55 +02:00
README.md Create documentation 2022-08-30 11:19:14 +02:00

mr-vercetti/tf-aws-demo

Simple demo of using Terraform in an AWS environment created for learning purposes.

Used AWS services

Operation

This terraform configuration creates VPC and public and private networks with Internet access via IGW and NAT Gateway. A bastion host is created in one of the public networks, from which we can access an autoscaling group of EC2 instances located in the private network. The group hosts a simple web application and scales according to CPU usage. In front of the application is an ALB that directs traffic appropriately.

Prerequirements

  • EC2 key pair created
  • Completed terraform.tfvars file

Future work

  • Move state to S3 bucket and create state locking via DynamoDB