Creating and Interacting with a Lightsail Instance

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this learning activity, we will use Amazon Lightsail to create a simple Linux instance.

The goal for this activity is to gain experience with:

* The basic components of Lightsail
* Creating SSH keys to connect to Lightsail
* Creating a Lightsail instance
* Instance monitoring basics
* Basic instance operations (Start, Stop, Restart)
* Deleting instances

An understanding of these objectives is essential for intermediate-level tasks in Lightsail.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Create an Amazon Lightsail instance.

Create an SSH Key for the Learning Activity.

  1. Name the key LightsailDemo.
  2. Download the SSH key.

Create a Lightsail Instance in us-east-1.

  1. Choose the OS Only blueprint option.
  2. Select Amazon Linux.
  3. Use the 512 MB instance plan.
  4. Name the instance.
Interact with the instance via the management console.
  1. Locate the following in the management console:
    • Storage
    • Metrics
    • Networking
    • Snapshots
    • Tags
    • History
    • Delete
  2. Locate your instance privateIP and publicIP.
  3. Review how the publicIP and privateIP react to the following instance operations:
    • Stop your instance.
    • Start your instance.
    • Restart your instance.
Connect to the instance using SSH and delete the instance.

Note: If you’re using Windows, follow steps 1-5. If you’re not using Windows, skip to step 3.

  1. Review the following page of the Amazon Lightsail docs: (Optional)
  2. Download and install PuTTY if required. (Optional)
  3. Connect to your instance using the web SSH client.
  4. Connect to your instance using a full SSH client on your local workstation.
  5. Delete your instance.

Additional Resources


Make sure you are in the us-east-1 region. Use the provided credentials to log in to the AWS management console.

Follow the steps below. There are two options for completing this activity:

1) You can attempt to follow the steps on your own without watching the videos and then use the videos to verify your solution.

2) You can watch the videos and follow along with the instructions to complete the tasks.

How you complete the activity is up to you, but if you're completely new to Lightsail, I recommend the second approach.

Click the question marks below to view more details for each task.

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?