Creation of Route Table, Internet Gateway and Security Groups
Route Table
A route table contains
a set of rules, called routes that are used to determine where
network traffic from your subnet or gateway is directed. For more information
please navigate here.
·
Click on Route
Tables from sidebar menu.
·
Click on
Create Route Table button.
·
Enter Name
Tag. For Exp: DemoDevOps-Public
·
Select the
VPC created.
·
Click on
Create button
·
Edit
routes
·
Assign
destination as 0.0.0.0/0 and assign internet gateway
Similarly create a private route table
·
Click on
Route Tables from sidebar menu.
·
Click on
Create Route Table button.
·
Enter Name
Tag. For Exp: DemoDevOps-Private
·
Select the
VPC created.
·
Click on
Create button
·
Edit
routes
·
Assign
destination as 0.0.0.0/0 and assign nat gateway
Please Note: Public route should have
Internet gateway attached with it, however private gateway should have nat
gateway attached with it.
Creating Internet Gateway
An internet gateway is
a horizontally scaled, redundant, and highly available VPC component that allows
communication between instances in your VPC and the internet. It therefore
imposes no availability risks or bandwidth constraints on your network traffic.
For more information please navigate here.
·
Click on
Internet Gateways from sidebar menu.
·
Click on
Internet Gateways.
·
Enter Name
tag. For Exp: DemoDevOps Internet Gateways
·
Click on
Create button.
·
Attach
proper VPC. If any wrong VPC attached then please detach that by clicking on
Action > Detach and then Action > Attach VPC
Creating Security Groups
AWS Security Groups
act like a firewall for your Amazon EC2 instances controlling both inbound and
outbound traffic. When you launch an instance on Amazon EC2, you need to assign
it to a particular security group.
·
Click on
Security Groups from side bar menu.
·
Click on
Create security Group button.
·
Enter
Security Group name. For Exp: DemoDevOps
·
Associate
the VPC created.
·
Click on
Inbound tab and Click on Add Rule.
·
Enter Port
range as 22 and IP as 10.0.0.0/24
·
Click on
Outbound and Select Type as All Traffic and IP as 0.0.0.0/0
· Click on Create
Comments
Post a Comment