Remote access to an Ubuntu LTS with Amazon EC2
This article describes how to establish remote access to an Ubuntu Server, using a Micro instance (lowest cost, approx 2p per hour when I wrote this article). I used Ubuntu 18.04 LTS for this article.
When you created the Ubuntu EC2 instance, you associated it with a Security Group. You will need to make sure that the Security Group includes access for the SSH protocol.
Here's how to remotely access your newly created Ubuntu LTS Server using Secure Shell Protocol (SSH).
- Start by logging on to AWS and assume an admin role.
- Go to Services > EC2.
- Select Instances in the Navigation section.
- Right-click on your newly created instance and choose Connect.
- Select your Connection method as A stand-alone SSH client.
- Open the SSH client of your choice (e.g.Terminal).
- Locate your private key file, (eg. ~/.ssh/yourname.pem).
- Connect to your instance using instance's public DNS
- Or connect to your instance using your instance's elastic IP address
- Type Close when you are finished with this dialog box .
You will now be logged onto your Ubuntu server as the user ubuntu. Note that no password is associated with the ubuntu user account, instead the authentication process happens with your private key file only.
Thanks for visiting.