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.
- 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
- 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:
- 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.