Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.
In the navigation pane, under NETWORK & SECURITY, choose Key Pairs.
- Choose Import Key Pair.
- Copy your public key
Navigate to EC2 click, Launch Instance
Select the Free tier eligible --->
- .NET Core 2.1 with Ubuntu Server 18.04 - Version 1.0 - ami-34435ede
.NET Core 2.1 and the PowerShell 6.0 pre-installed to run your .NET Core applications on Ubuntu 18.04 with Long Term Support.
The default user is ubuntu so to ssh
$ ssh ubuntu@ec2-34-244-240-87.eu-west-1.compute.amazonaws.com
Enter passphrase for key '/Users/{user}/.ssh/id_rsa':
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1009-aws x86_64)