-
Set up the Key Pair
- proves for identity when connecting to instance
-
Create security group
- create inbound rules: ssh access for any IP, HTTP users from any location access to web server(including myself)
- create outbound rule: all traffic: any traffic is allowed out of EC2 instance(default)
-
Deploy the Instance
- Amazon Linux AMI
- t2.micro instance type
- chose key pair created earlier
- chose security group created earlier
- configured storage: choose “8” GiB, “gp2” root volume
- pasted a script into "user data" field under advanced details
- NOW we are all set to launch instance
-
View Deployed Instance
-
Access the Instance
- SSH into the server in terminal ssh -i for remote server using private key