How to CloudShell SSH in to ec2 Instances

Previously you would have to use PuTTy or some other terminal emulator to log in to EC2 instances but now CloudShell offers a fresh option.

When creating the EC2 instance, make sure to allow your IP address in the security groups as well. To be able to SSH you will need to create a key pair and ensure to get the .pem key

Once the instance is created, you can highlight it and select the connect option

To access Cloudshell it can either be typed in the search bar or selected in the top right

I’ve downloaded my pem file so I will be using the upload option

Confirming the file has been uploaded

Now I am in

Success! Connection was previously refusing because of some IP issues which I managed to fix.

Last updated