A hands-on lab using Terraform to provision AWS infrastructure within the Free Tier limits. This project is designed to demonstrate basic infrastructure-as-code (IaC) skills, reusable modules, and deployment automation practices.
- β Create VPC, Subnets, Internet Gateway, Route Tables
- β Provision EC2 instance (Amazon Linux 2)
- β Attach Security Groups and Key Pairs
- β Create an S3 bucket
- β Use remote state with Terraform backend (optional)
- β Written with Free Tier limits in mind
- Clone the repo
git clone https://github.com/girishpotdar/terraform-aws-free-tier-lab.git cd terraform-aws-free-tier-lab - Configure AWS Credenetials
aws configure
- Initialize and apply Terraform
terraform init terraform plan terraform apply
- Destroy resources when done
terraform destroy
terraform-aws-free-tier-lab/
β
βββ main.tf # Core resources
βββ variables.tf # Input variables
βββ outputs.tf # Output values
βββ provider.tf # AWS provider config
βββ terraform.tfvars # Variable values
βββ README.md # Project documentationTerraform v1.3+
AWS CLI configured with IAM credentials
An AWS account (Free Tier eligible)
All resources are created within AWS Free Tier limits.
Always run terraform destroy to avoid unintended charges.