VPC Peering
VPC Peering
VPC Peering
Amazon Virtual Private Cloud (Amazon VPC) enables you to launch AWS
resources into a virtual network that you've defined. This virtual network closely resembles
a traditional network that you'd operate in your own data Centre, with the benefits of using
the scalable infrastructure of AWS.
In this topic we are going to see how the VPC created in Linux Machine.
Steps to be followed
• Create VPC
• Create subnets
• Create IGW(Internet Gate Way)
• Create Route table
• Create Peering VPC
• Create security groups
• Create instance
Create subnets
• Public
• Private
First public
Choose the Public Route table and assign the subnet to it by editing. Then save it.
Choose the Route table and edit it with below data by adding another Route. Assign the
Internet Gateway to it. Then save it.
Then now create private RT
Same like, Create Private Route Table, associate Subnet & leave the Route rules without
assigning any.
\
Go to Private Route table & edit the route. Map the NAT gateway to it.
• Public
• Private
For private
Copy the public SG ID
Choose it and change the inbound Rules of it by editing & save it.
Log on to ec2-user
Then go to root user
Go to VPC service
Go to action
Task: 2
Task: 3