Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 882 Bytes

2. AWS details.md

File metadata and controls

27 lines (16 loc) · 882 Bytes

Create a linux instance and connect using your own key

https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-key-pairs.html#how-to-generate-your-own-key-and-import-it-to-aws

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)