Skip to content

Siddhantrathod/aws-vpc-peering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 AWS VPC Peering Project

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.


πŸ“Œ Project Overview

  • βœ… Created two VPCs (Prod-VPC and Test-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

🧱 Architecture Diagram

VPC Peering Architecture


πŸš€ AWS Services Used

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

πŸ“Έ Project Screenshots

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

πŸ’‘ Key Learnings

  • 🌐 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

πŸ§‘β€πŸ’» Author

Siddhant Rathod

About

Setup and configuration of AWS VPC Peering to enable private communication between EC2 instances in different VPCs.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors