- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Creating and Interacting with a Lightsail Instance
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.

Lab Info
Table of Contents
-
Challenge
Create an Amazon Lightsail instance.
Create an SSH Key for the Learning Activity.
- Name the key
LightsailDemo
. - Download the SSH key.
Create a Lightsail Instance in
us-east-1
.- Choose the OS Only blueprint option.
- Select Amazon Linux.
- Use the
512 MB
instance plan. - Name the instance.
- Name the key
-
Challenge
Interact with the instance via the management console.
- Locate the following in the management console:
- Storage
- Metrics
- Networking
- Snapshots
- Tags
- History
- Delete
- Locate your instance
privateIP
andpublicIP
. - Review how the
publicIP
andprivateIP
react to the following instance operations:- Stop your instance.
- Start your instance.
- Restart your instance.
- Locate the following in the management console:
-
Challenge
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.
- Review the following page of the Amazon Lightsail docs: https://lightsail.aws.amazon.com/ls/docs/en/articles/lightsail-how-to-set-up-putty-to-connect-using-ssh (Optional)
- Download and install PuTTY if required. (Optional)
- Connect to your instance using the
web
SSH client. - Connect to your instance using a
full
SSH client on your local workstation. - Delete your instance.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.