In this section of the lab you will create a Linux instance and login to it to run a few Linux commands. To log in to an instance, you need to be able to connect via SSH. There are several layers of security for accessing instances that are enabled by default by AWS. One of these is with an SSH key pair, which can (very roughly) be thought of as like a unique username and password.
The following steps outline how to create a new SSH key pair that then you will use to log in to a new Linux instance.
Sign into the AWS Management Console and open the Amazon EC2 console at https://console.aws.amazon.com/ec2
In the upper-right corner of the AWS Management Console, confirm you are in the desired AWS region (e.g., Singapore).
NOTE: For the purpose of this workshop please provide a unique key pair name, so that it might not clash with key pair names provided by other participants using the same AWS account. You could use your name initials in the key pair for easy identification.
The key pair you created should automatically download to your system. Follow any browser instructions to save the file to the default download location. Verify that the file has downloaded and you can locate it. Remember the full path to this .ppk/pem file you just downloaded. This file contains your private key for future SSH connections.
You will see a message appear at the top of the screen that says Successfully created key pair. You will see the key pair you created listed.