Create a VPC network and internet gateway

Create a VPC network and internet gateway

On the VPC dashboard. Select a VPC configuration on VPC with single public subnet. 

In VPC setting, choose create only tht VPC resource and give the name of your tag , put the IPv4 CIDR block as default

Click the create VPC

After creation of VPC. we have to Attach a subnet so i have created a public subnet which is the name of "Pub_subnet"

Create a another subnet that is private subnet. In the navigation, select subnets, select the subnet with the name priv_subnet , and select the Summary tab at the bottom of the page. Make a note of the Availability Zone of this subnet.

Create a Internet gateway and demonstrate the communication via the gateway for a EC machine within Public subnet

Edit your routes and add another route destination with the internet gateway.

Create an instance and connect that instance with public subnet which is already created 

I have successfully configured the gateway for my EC machine with public subnet






















Comments

Popular posts from this blog