This project demonstrates how to set up secure communication between two Virtual Private Clouds (VPCs) using AWS VPC Peering. As a DevOps learner, this helped me understand cloud networking, routing, and AWS infrastructure cost management.
- β
Created two VPCs (
Prod-VPCandTest-VPC) in different CIDR ranges - β Launched EC2 instances in each VPC (public & private subnets)
- β Enabled communication using VPC Peering
- β Configured route tables and security groups
- β Set up NAT Gateway for private subnet internet access
- β Monitored AWS Billing & Cost Explorer
- β Documented the learning and architecture clearly
| Service | Purpose |
|---|---|
| VPC | Create isolated cloud networks |
| EC2 | Launch test instances |
| VPC Peering | Enable cross-VPC communication |
| NAT Gateway | Allow private subnets to access internet |
| Elastic IP | Used for NAT Gateway |
| Security Groups | Control inbound/outbound traffic |
| Route Tables | Define traffic routing between VPCs |
| Cost Explorer | Track and analyze project costs |
All key components have been captured and added to the /screenshots folder, including:
- EC2 Instances
- Subnets
- Route Tables
- VPC Peering Connection
- NAT Gateway
- Elastic IP
- Internet Gateway
- Security Groups
- Cost Explorer & Billing Breakdown
- π How VPC Peering enables private communication across VPCs
- πΆ Difference between public and private subnets
- π Setting up correct routing and security groups
- π° AWS Free Tier limitations and cost traps (e.g. NAT Gateway, Elastic IP)
- π§ Importance of deleting unused resources to avoid billing
- π Documenting infrastructure to showcase DevOps skills
Siddhant Rathod
