0% found this document useful (0 votes)
11 views10 pages

Activity VPC

Uploaded by

navyasatyamsetti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views10 pages

Activity VPC

Uploaded by

navyasatyamsetti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

 Create VPC with 100.10.0.0 range(1000 ips).

For
1000 ip’s we have given slash value as /20.

>>Create a route table and give the vpc which we


have created .
Created an internet gateway and attached it to
vpc.

/24 is used for 256 ip’s as per the requirement


Created asubnet1 and subnet2 with ip addresses
100.10.2.0/24 and for subnet1 it is 100.10.1.0/24.
Two subnets are created and we need to select
and edit route table association.

Selected the required route table which is created.


Created a nat gateway by giving the subnet.

Edit routes by giving nat gateway.


Launch an instance with linux operating system

Select subnet1 and launch the instance and in the


same way select subnet2 and launch other
instance.
Select enable for public and select disable for
private.and give the inbound rules as http,ssh.

Launched the instance.


Connect the public operating system.
Give yum update as it is linux server.

But for private we cant directly connect .we need


to connect from public server.
We need to save the private key and give in
instance .and give the required commands to
connect to the private server

Now we have connected to the private server.

You might also like