Setting up a Linux Host with a Static Public IP in AWS — A walkthrough

Photo by John Schnobrich on Unsplash
  1. Launch an instance in AWS (and what the minimal settings we must look at to Secure it and get it connected.)
  2. Attach a Public IP to it (Elastic IP)
  3. Connect via SSH to it.

0. Prerequisites

1. Launch an Instance in AWS

Image 1
Image 2
image 3
Image 4
Image 5
Image 6
Image 7
Image 8
Image 9
Image 10
Image 11
Image 12
Image 13
Image 14
Image 15
Image 16
Image 17
  • Creating and launching our host with:
  • VPC
  • Subnet.
  • Security Group
  • Key Pair
Image 18

2. Attach a Public IP to it (Elastic IP)

Image 19
Image 20
Image 21
Image 22
Image 23
Image 24
Image 25
Image 26
Image 27
Image 28
Image 29

3. Connect via SSH to your host

  • SSH client of your choosing
  • Your Key pair file
  • The Static IP address of your host.
  1. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html#ec2-launch-instance
  2. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html#TroubleshootingInstancesConnectionTimeout
  3. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html

--

--

Cloud and Security technologies, Career, sometimes Music and Gaming easter eggs. Technical Specialist @Microsoft. Opinions are my own.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andre Camillo

Cloud and Security technologies, Career, sometimes Music and Gaming easter eggs. Technical Specialist @Microsoft. Opinions are my own.