Create an EC2 Key Pair on AWS
In this lab you will create an EC2 key pair and use it, along with either PuTTY or the command line, to securely log in to an EC2 instance.
Terms and conditions apply.
Lab info
Lab author
Challenge
Access the EC2 Console and Create the Key Pair
Access the EC2 console, create the key pair, and download the private key.
Challenge
Create the EC2 Instance
Create an EC2 instance to connect to using the key pair created in the previous step.
Challenge
Connect to Your EC2 Instance with the Key Pair Using PuTTY
Use PuTTY to load the converted private key and connect to the EC2 instance.
Challenge
Connect to Your EC2 Instance Using the Command Line
In this challenge, you will use the pem key to connect to the EC2 instance using the CLI and OpenSSH (Linux and Mac)
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- PuTTYgen
- Command line