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
      Preview
    • Site to Site
      Preview

VPC Peering

  • Peering in AWS allows any two vpcs without conflicting CIDR Ranges to communicate privately
  • Overview
    Preview
  • Lets create a VPC (vpc-mumbai) in mumbai region with CIDR 192.168.0.0/16 with some subnets
    Preview
  • Lets create a vpc (vpc-oregon) in oregon region with CIDR 10.100.0.0/16 with some subnets
    Preview
  • Lets create a Peering request from vpc-mumbai to vpc-oregon. Now accept the peering request in vpc-oregon
    Preview
    Preview
    Preview
    Preview
    Preview
  • Once the request is accepted then the peering connnection objects (PCO) will be created.
    Preview
    Preview
    Preview
    Preview
  • Now change the route tables in vpc-mumbai to forward all the traffic with destination 10.100.0.0/16 to Peering Connection object
    Preview
  • Now change the route tables in vpc-oregon to forward all the traffic with destination 192.168.0.0/16 to Peering Connection object
    Preview
  • Now create an ec2 instance in each of region and try ping using private ip
    Preview
    Preview
    Preview
    Preview
  • 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 Reply

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

Please turn AdBlock off
Social Network Integration by Acurax Social Media Branding Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube