DevOps Project-11: Two-Tier AWS Infrastructure with Terraform
- Authors

- Name
- NotHarshhaa
- GitHub

š Overview
This project demonstrates a Two-Tier architecture on AWS using Terraform for Infrastructure as Code (IaC). It follows a modular and security-enhanced approach to create a scalable, secure, and maintainable infrastructure.
ā Key Features
- Modular Architecture ā Reusable Terraform modules for better management
- Infrastructure as Code (IaC) ā Automate AWS resource provisioning
- Security Best Practices ā IAM roles, policies, and WAF integration
- Scalability & High Availability ā Auto Scaling, Load Balancing, and Route 53
- Database Integration ā Managed Amazon RDS deployment
- SSL & CDN Optimization ā Secure connections and content acceleration
š Step-by-Step Guide
š Read the full tutorial with screenshots:
Deploy Two-Tier Architecture on AWS using Terraform
š Getting Started
1ļøā£ Clone the Repository
git clone https://github.com/NotHarshhaa/DevOps-Projects
cd DevOps-Projects/DevOps-Project-11/
2ļøā£ Initialize and Apply Terraform
terraform init
terraform plan -var-file=variables.tfvars
terraform apply -var-file=variables.tfvars --auto-approve
3ļøā£ Cleanup (Destroy Infrastructure)
terraform destroy -var-file=variables.tfvars --auto-approve
šļø Project Architecture Highlights
š¹ Networking & Security
ā
VPC & Subnets ā Securely isolated environment for your application
ā
IAM & Role-Based Access Control ā Fine-grained security permissions
ā
AWS WAF ā Protect against common web threats
š¹ Compute & Scaling
ā
Auto Scaling Group ā Dynamic scaling based on demand
ā
Application Load Balancer (ALB) ā Efficient traffic distribution
ā
EC2 Instances ā Reliable computing power
š¹ Storage & Database
ā
Amazon RDS ā Managed database for scalability and reliability
ā
S3 Buckets ā Secure storage for application assets
š¹ Networking & Optimization
ā
Amazon Route 53 ā Scalable domain name system (DNS)
ā
Amazon CloudFront (CDN) ā Faster content delivery worldwide
ā
SSL/TLS Encryption ā Secure communication with ACM
š ļø Author & Community
This project is crafted by Harshhaa š”.
Iād love to hear your feedback! Feel free to share your thoughts.
š§ Connect with me:
- GitHub: @NotHarshhaa
- Blog: ProDevOpsGuy
- Telegram Community: Join Here
- LinkedIn: Harshhaa Vardhan Reddy
ā Support the Project
If you found this helpful, consider starring ā the repository and sharing it with your network! š
š¢ Stay Connected
