EC2(Elastic Compute)
Creation
Great 5 min Coursera Video Launching Instance
1 AMI(Amazon Machine Instance): machine configuration like hardware and software
3 Instance Details: VPC and subnets, roles(ocmmunication between services), user data under advanced(define scripts to run on startup)
5 Tags: add some details
6: Security Group: who can access instance
To allow http traffic, need to allow TCP on port 80 with 0.0.0.0/0 represents anyone on ipv4 and ::/0 represents anyone on ipv6
To allow ssh traffic, port range 22
Final: Choose key pair to access instance(main.pem for you Jorge)
Get your key
SSH
ssh with your key into EC2
Key must be 400 permission chmod 400 [keypath].pem
e.g
Default AMI username for Ubuntu is ubuntu
and for linux ami is ec2-user
Last updated