[go: up one dir, main page]

0% found this document useful (0 votes)
72 views25 pages

Create VPC in AWS

1. Create a VPC and edit its settings to enable DNS hostnames and DNS resolution. 2. Create internet gateways and attach them to the VPC to allow access to internet. Also create public and private subnets with appropriate configurations. 3. Set up route tables and associate the public subnet with the public route table and private subnet with the private route table. Also create a NAT gateway for instances in the private subnet. 4. Launch instances like a jump server in the public subnet and a database server in the private subnet to demonstrate the VPC configuration.

Uploaded by

nam.sam.bk
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)
72 views25 pages

Create VPC in AWS

1. Create a VPC and edit its settings to enable DNS hostnames and DNS resolution. 2. Create internet gateways and attach them to the VPC to allow access to internet. Also create public and private subnets with appropriate configurations. 3. Set up route tables and associate the public subnet with the public route table and private subnet with the private route table. Also create a NAT gateway for instances in the private subnet. 4. Launch instances like a jump server in the public subnet and a database server in the private subnet to demonstrate the VPC configuration.

Uploaded by

nam.sam.bk
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/ 25

How to Create VPC

1. Go to search type VPC and click on first option and then click on
Create VPC

2. Now do the following steps to create VPC


After filling all credential hit the create VPC button

Select your VPC and click on actions go to edit vpc settings


Tick both options in red square

3. Now we have to Create Internet gateway for VPC for that follow
the Following Steps
After creating gateway click on actions then attach to VPC
After selecting VPC click on Attach internet gateway

4. Create 2 Subnet one for public and one for private and make
some setting for each subnet respectively
After filling all credential click on Create Subnet
Tick on both options shown as in red box
Then click on save button.
This subnet is for public
Now for Private Subnet
5. Create Route table for public and private and add routes and
subnet association respectively
This is public route table
Carefully select you VPC for route table

Now click on subnet associations


This is Private Route Table
6. Create Nat gateway so that instances in private subnet can
connect to service outside your VPC but external services
cannot initiate a connection with those instances. To do that
follow the steps given below
Carefully select Public Subnet

7. After creating VPC now create Two instance it’ll be jum server
and DB server in newly created VPC. We will create jum srv as
public server and DB srv as private server
You can select AMI as you want
Select your VPC and subnet correctly
This instance is for Database Server

Select existing key that we were created for jum srv


For security we will use same as jum server

After creating instance click on connect


Make sure that after creating windows instance you have to
wait 4 mins to generate password
Upload the same key we created while creating insatance
Here we enter the DB server instance’s private IP addres

Enter username Administrator


Then DB instance password then click
You have to generate DB instance’s Password also
Girish Shirsath

You might also like