Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
  • 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
You can’t perform that action at this time.