-
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
-
Notifications
You must be signed in to change notification settings - Fork 0
KCE14/EC2Instance
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Sets up an EC2 Instance using SSH
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published