Skip to content

Instantly share code, notes, and snippets.

@alexandregama
Created August 30, 2012 00:34
Show Gist options
  • Save alexandregama/3520996 to your computer and use it in GitHub Desktop.
Save alexandregama/3520996 to your computer and use it in GitHub Desktop.
Create EC2 Instance with Ubuntu Server (choose defaulf security group)
Generate Key Par and download the file
Open "Security Groups", select "default" group, choose SSH rule and add the source "0.0.0.0/0" (press Add rule and Apply rule changes)
Open SSH Client (SSH Cliente for Ubuntu or Putty for Windows)
Set special permission on file
chmod 400 yourkeypar.pem
Execute in the SSH
ssh -i yourkeypar.pem ubuntu@ec2-23-21-14-115.compute-1.amazonaws.com
where:
ubuntu: user
ec2-23-21-14-115.compute-1.amazonaws.com: is your public DNS(EC2)
yourkeypar.pem: your key par
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment