Aws Practice Lab Notes
Aws Practice Lab Notes
Create VPC
Resource to create: VPC Only
Name tag: xxxx
IPV4 CIDR block: IPV4 CIDR manual input
IPV4 CIDR: 10.0.0.0xxxxx
CREATE VPC
Select the created VPC, click on “ACTION”, then “EDIT VPC SETTINGS”
DNS settings: Enable DNS resolution and hostnames, then SAVE
Create Subnets
VPC ID: select the correct VPC
Subnet name: Public Subnet
Availability Zone: select the correct AZ
IPv4 VPC CIDR block: 10.0.0.0/24
CREATE Subnet
Select the created subnet, click on “ACTION”, then “EDIT SUBNET SETTINGS”
Auto-assign IP settings: ENABLE auto-assign public IPv4 address. then SAVE. It is for public subnet setting.
Create Private subnet
The router tables are critical to decide the traffic comes in or it goes out of a particular VPC subnets, it is
automatically created when we created the VPC. This is a private route table.
Create route table
Launch Instance
Name: APP Server
Network settings: Choose “EDIT” then under network settings: VPC (select the correct one), and Subnet
(select the correct one)
Under the FIREWALL, select “SELECT EXISTING SECURITY GROUP”, then tick box of the correct security
group.
Click on “ADVANCED DETAILS”, select IAM INSTANCE PROFILE, select “INVENTORY APP ROLE”
A new tab - Create a new security group, enter name, description. Need to “ADD RULES”
Back to the original tab for load balancer – refresh the security group, select the correct security group
(delete the default one if it’s there)
Under listeners and routing, click on “CREATE TARGET GROUP”, open a new tab
Back to the original tab for load balancer, refresh the listeners and routing, find the CREATED TARGET
GROUP
Then click on “CREATE LAUNCH TEMPLATE”, click on the link in the success message to open the template.
Then click on “ACTIONS”, select “CREATE AUTO SCALLING GROUP”