Creating and Validating Connectivity for Amazon EC2 Instances in a Public and Private Subnet

45 minutes
  • 2 Learning Objectives

About this Hands-on Lab

In this hands-on lab, we will meet a few different objectives:

* Review the VPC configuration and understand the components required to provision EC2 instances.
* Review the VPC configuration to identify what makes an instance public vs. private.
* Create an Amazon EC2 instance and a security group in the public subnet, and validate connectivity using SSH.
* Create an Amazon EC2 instance and a security group in the private subnet, and identify what makes the instance and the subnet private.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create an Amazon EC2 Instance in the Public Subnet, and Verify Connectivity Using SSH
  1. Verify the VPC configuration.
  2. Create an Amazon EC2 instance in the public subnet, and verify connectivity using SSH.
Create an Amazon EC2 Instance in the Private Subnet
  1. Create an Amazon EC2 instance in the private subnet.
  2. Identify what configuration for the instance and the VPC make the instance private.

Additional Resources

Log in to the AWS Management console using the provided credentials, and verify that you are in the us-east-1 region.

If you are using a Windows computer and need assistance with how to connect, you will need to follow different instructions to log in to the EC2 instance via SSH. Please watch this lesson on how to connect to a Linux EC2 instance for instructions on how to set up and use PuTTY.

As a bonus, here is AWS's official documentation on how to ssh into private instances in a VPC.:

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


Sign In
Welcome Back!
Thanks for reaching out!

You’ll hear from us shortly. In the meantime, why not check out what our customers have to say about ACG?