This lab walks you through creating a VPC, some subnets, an Internet Gateway, a route table, and then configuring these services to work together to form an effective VPC. We will then launch an EC2 instance. into the VPC and create a web page using AWS CLI commands.
Duration: 1 hour 15 minutes
AWS Region: US East (N. Virginia) us-east-1
Log into the AWS Management Console.
Create an IAM Role.
Create a VPC using.
Create a Subnet using.
Attach Internet gateway to VPC.
Create a custom Route table.
Edit the route table and add all traffic routes to the internet gateway.
Associate the subnet to your Route table.
Create a security group with port 80 enabled.
Create a new key pair.
Launch a new EC2 instance with an HTML page
Allocate an Elastic IP address.
Attach the Elastic IP with EC2 Instance.