Skip to content

Instantly share code, notes, and snippets.

@tadeobarranco
Created August 7, 2017 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadeobarranco/e8042bdd32e9c6fdfb0eb5349db42156 to your computer and use it in GitHub Desktop.
Save tadeobarranco/e8042bdd32e9c6fdfb0eb5349db42156 to your computer and use it in GitHub Desktop.
  • Login into AWS
  • In the list of services click on EC2 (or whatever you need)
  • Once inside EC2 aws services, you should click on the blue "Launch Instance" button
  • Then you need to select the machine image you want to install
  • Choose an instance type (vCPUs, memory, instance storage, etc)
  • Go to Review and Launch it
  • When ask you for a key pair, create new if you don't have any
  • Download the key pair before lunch (you won't be able to download it after)
  • Copy that .pem into yout ~/.ssh/ folder
  • chmod 600 ~/.ssh/newkeypair.pem
  • Then to login in your new EC2 type: ssh sh -i ~/.ssh/newkeypair.pem user@host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment