A Terraform project to automate the provisioning of cloud infrastructure. This repository includes code to set up VPCs, subnets, EC2 instances, security groups, and other essential components on AWS using infrastructure as code (IaC) practices. Ideal for DevOps automation, reproducibility, and version control of infrastructure deployments.
This repository contains Terraform code to provision AWS cloud infrastructure automatically. The configuration follows infrastructure-as-code principles and is modular and reusable.
- VPC creation
- Public and private subnets
- Internet Gateway and NAT Gateway
- Route tables and associations
- EC2 instance provisioning
- Security groups setup
- Scalable and configurable using variables
- Terraform
- AWS CLI configured with proper credentials
- Git
-
Clone the repo:
git clone https://github.com/MrSandSort/TerraformIaC/
-
For ec2 instances
cd instance -
For Virtual Private Cloud(VPC):
cd vpc -
Terraform commands:
terraform init terraform plan terraform apply