This project demonstrates Infrastructure as Code using Terraform to provision and manage AWS cloud resources in a repeatable, secure, and automated manner.
The infrastructure follows real-world best practices and is suitable for production and non-production environments.
- VPC with public and private subnets
- Internet Gateway and Route Tables
- EC2 instances
- Security Groups
- IAM roles and policies
- Terraform
- AWS (EC2, VPC, IAM, Security Groups)
- Linux
. ├── main.tf ├── variables.tf ├── outputs.tf ├── provider.tf ├── terraform.tfvars └── modules/
- Configure AWS credentials:
aws configure
- Initialize Terraform:
terraform init
- Validate configuration:
terraform validate
- Plan infrastructure:
terraform plan
- Apply infrastructure:
terraform apply