Create EC2 Instance
In this post we will learn to create an EC2 Instance.
For full tutorial follow this video
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 ec2-
Click 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 include the combinations of cpu, storage, memeory, networking capacity.
- You choose as per your requiremtns.
- recommended: t2.micro as this is included in free tire
-
Key Pair login
- This will be used for you to login in your aws instance
- Create new one or choose existing
- Creating new key pair
- Click on create new
- Give any name and leave 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.
6) Click on the Launch Instance.
7) After all this, Click on on the Successfully initiated launch of instance i-xXXxXXxx
- i-xXXxXXxx -> your instance ID. Every instance will have its own ID
8) Probably your screen should be like this
9) Click on the Instance ID
10) Copy the Public Ip Address
10) Open your favourate terminal
- Goto the path where the key pair file was downloaded.
- use command chmod 400 filename.pem
, as like this.
- If you are interested behind the scene of chmod 400
follow this.
- Type the commad
ssh -i /path/of/key/downloaded ubuntu@public.ip.address
- Click yes and enjoy
Top comments (0)