Posted on November 1, 2020 - 2 minute read

How to launch an EC2 instance

The intent is to show how to quickly launch your first EC2 instance.

Step 1 : Choose the type of instance

Step 2 : Create a Security Group

Step 3 : Create a Key Pair

Step 4 (for Linux instances) : Connect to instance using SSH

For Linux users:

chmod 400 my-key-pair.pem

Or, if you are using Windows:

At the SSH client of your choice, input the details provided.

ssh -i my-key-pair.pem user@server-public-dns


ssh -i "linux-lab.pem"

SSH connection

Step 4 (for Windows instances) : Connect to instance using RDP