In this post, we will learn to create an EC2 Instance.
Signup/Login to the console. Follow this link
On the search bar search
ec2
and click on the 1st option or URL with text ec2 i.e ec2Click on the red colored rectangle mentioned below
Click on the Launch Instance
- Fill the details
Name -> any name of the instance of your wish.
OS Image -> the OS you want for your remote server.
- recommended: ubuntu
Instance type -> This includes the combinations of CPU, storage, memory, networking capacity.
You choose as per your requirements.
recommended: t2.micro as this is included in the free tire
Key Pair login
This will be used for you to login in your aws instance
Create a new one or choose existing
Creating new key pair
Click on Create new
Give any name and leave the rest unchanged and then click on the create key pair. Download it to any location
Once the above steps are done, click on the reload icon
Then, choose the key from the dropdown
User existing one
click on the reload icon
Then, choose the key from the dropdown
Leave rest as it is.
Click on the Launch Instance.
After all this, Click on the Successfully initiated launch of instance i-XXXX XXXX
- i-xXXxXXxx -> your instance ID. Every instance will have its ID
- Probably your screen should be like this
- Click on the Instance ID
- Copy the Public Ip Address
Open your favourate terminal
Type the command
ssh -i /path/of/key/downloaded ubuntu@public.ip.address
- Click yes and enjoy
๐ If the article helps you, leave a like, follow, or anything.
You can follow me on LinkedIn and GitHub.
#WeMakeDevs #aws #ec2