Step-by-Step Guide to Deploying an EC2 Instance on AWS and Connecting it to Your Computer
Praduman Prajapati
1 min read
Table of contents
Go to the instances present under EC2 services on AWS
choose a name
Choose an OS image you want to launch on your instance
Create a new key pair and save it to your local
Under network setting leave all as default
Leave all the settings as default and click on launch instance
Congrats! You've created an instance
Go to the instances now and wait for your instance to start running
Click on instance ID and copy the public IPv4 address
-
Now open a terminal on your local and run the command
chmod 400 <Path-to-your-key-pair-file>
ssh -i <Path-to-your-key-pair-file> <OS-image-name>@<your-copied-public-IPv4-address>
congrats! you are now connected to the instance you have created on AWS
0
Subscribe to my newsletter
Read articles from Praduman Prajapati directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by