Creation of a VPC network
STEP 1: Create a VPC
Click create VPC option and make sure the same region is selected as for other services.
A page will open like this and fill the details like VPC name ,IPv4 CIDR and leave other details as default.
Click create VPC
STEP 2 : Create a Subnet
Select Subnet in virtual private cloud and click create subnet option on the right side
- Created first private subnet
- Creating Third private subnet
Step 3:Create an Internet Gateway
Select the Internet Gateways to create the internet gateway after the creation of internet gateway attach it with VPC.
An internet gateway must be attached to the VPC. The route tables associated with your public subnet must have a route to the internet gateway.
Step 4:Creation Of Route Table
Select route table and click create route table option on right side
fill the details like route table name and configure the VPC and click create route table
Choose the route table and edit the Routes tab to add one more route with destination as “0.0.0.0/0” and choose internet gateway.
- Choose route tables and edit subnet associations.
- Select the public subnet and save changes.
The image shows the route tables
Download the putty & puttygen software to your windows server and Create key pair The private key file (.pem).
save the ppk file
Open Putty In the Host Name (or IP address) box, enter instance-user-name@public-ipv4 address or also you can use public IPV4 DNS instead.
The EC2 window appears
At last terminate all EC2 instances and remove elastic IP, terminate NAT Gateway
Comments
Post a Comment