This project involved deploying a two-tier architecture on AWS using Terraform, with a VPC that included public and private subnets. A NAT Gateway was set up in the public subnet to allow internet access for instances in the private subnet. Custom Terraform modules and variables were used to ensure modular, reusable, and flexible infrastructure code. The deployment was verified on AWS, emphasizing automation, scalability, and best practices in infrastructure as code. Finally, Terraform was used to manage the state and clean up resources when they were no longer needed.
- Terraform
- AWS Subnets
- AWS EC2
- AWS NAT Gateways
- VPC and Subnet Setup: Created a VPC with public and private subnets using Terraform.
- NAT Gateway Configuration: Deployed a NAT Gateway in the public subnet to allow private subnet instances to access the internet.
- Terraform Modules and Variables: Developed reusable Terraform modules and utilized variables for a flexible infrastructure setup.
- Deployment and Verification: Deployed the architecture on AWS and verified functionality, ensuring everything was automated and scalable.
Credits: Piyush