π Excited to share my latest project where I set up a highly available and scalable infrastructure on AWS using Terraform! π
π§ Project Overview:
1) Provider Configuration: Utilized AWS as the cloud provider with the region set to us-east-1.
2) VPC Creation: Built a Virtual Private Cloud (VPC) with subnets in two different availability zones for enhanced fault tolerance.
3) Internet Gateway & Route Table: Established an Internet Gateway and configured route tables to manage internet access for our resources.
4) Security Group: Implemented a robust security group to control inbound and outbound traffic, ensuring only HTTP and SSH traffic are allowed.
5) EC2 Instances: Deployed two EC2 instances across the subnets with user data scripts for initialization, enabling automated setup.
6) Application Load Balancer: Configured an application load balancer to distribute traffic between the EC2 instances, ensuring high availability and reliability.
7) S3 Bucket: Created an S3 bucket for additional storage needs.
Outputs: Provided the DNS name of the load balancer for easy access to the deployed application.
This project underscores the power of Infrastructure as Code (IaC) with Terraform, enabling automated, repeatable, and efficient cloud infrastructure setup.
Top comments (0)