AWS Classroom notes 31/Oct/2023

AWS Networking Contd

What is VPN (Virtual Private Network)

  • VPN enables private connectivity
  • There are primarily two types of VPNs
    • Point to site
    • Site to Site

VPC Peering

  • Peering in AWS allows any two vpcs without conflicting CIDR Ranges to communicate privately
  • Overview
  • Lets create a VPC (vpc-mumbai) in mumbai region with CIDR 192.168.0.0/16 with some subnets
  • Lets create a vpc (vpc-oregon) in oregon region with CIDR 10.100.0.0/16 with some subnets
  • Lets create a Peering request from vpc-mumbai to vpc-oregon. Now accept the peering request in vpc-oregon




  • Once the request is accepted then the peering connnection objects (PCO) will be created.



  • Now change the route tables in vpc-mumbai to forward all the traffic with destination 10.100.0.0/16 to Peering Connection object
  • Now change the route tables in vpc-oregon to forward all the traffic with destination 192.168.0.0/16 to Peering Connection object
  • Now create an ec2 instance in each of region and try ping using private ip



  • Peering connections are between two vpcs and peering connections are not transitive.
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Floating Social Media Icons by Acurax Wordpress Designers
Exit mobile version
%%footer%%