Deploy an EC2 Instance with an Elastic IP Address for SSH Connection on AWS
In this lab, you will practice how to create a VPC-based infrastructure with dedicated EC2 instances and secure networking services. Then you will allow operations staff to SSH into an EC2 jump server using an elastic IP address.
Terms and conditions apply.
Create the VPC
Create the Virtual Private Cloud (VPC) that will contain the networking and compute services.
Create the Subnet
The VPC will be segmented into subnets for the different tiers of your application. Start with creating the subnet for your EC2 jump server in this challenge.
Create an EC2 Instance
Inside your subnet, you will create an EC2 instance to work as your jump server.
Create the Internet Gateway
Add an internet gateway to allow communication between your VPC and the internet.
Create an Elastic IP Address
Create an elastic IP address as the public IP address associated with the EC2 instance.
Edit VPC Route Table
Now that you have an internet gateway, you want to direct all outside internet traffic through that gateway by adding a route to the route table.
Create Subnet ACL
We need to extend the ACL traffic flow from the security group to allow SSH connections to the subnet on port 22.
SSH into the EC2 Instance
Finally, you can create an SSH connection from your local computer to the EC2 instance.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
- AWS EC2
- CLI (cmd.exe, Linux shell, Terminal)