Create EC2 Instance

Create EC2 Instance

ยท

2 min read

In this post, we will learn to create an EC2 Instance.

  1. Signup/Login to the console. Follow this link

  2. On the search bar search ec2 and click on the 1st option or URL with text ec2 i.e ec2

  3. Click on the red colored rectangle mentioned below

    Instance Creation

  4. Click on the Launch Instance

  1. Fill the details
  • Name -> any name of the instance of your wish.

    Name of instance

  • OS Image -> the OS you want for your remote server.

OS Image

  • 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

Instance Type

  • 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

    • User existing one

  • Leave rest as it is.

  1. Click on the Launch Instance.

  2. 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

Click on instance id

  1. Probably your screen should be like this

Screen

  1. Click on the Instance ID

Instance ID

  1. Copy the Public Ip Address

Ip Address

  1. Open your favourate terminal

    • Go to 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.
  2. Type the command

ssh -i /path/of/key/downloaded ubuntu@public.ip.address

Command

  • Click yes and enjoy

Final Output

๐Ÿ™‚ If the article helps you, leave a like, follow, or anything.
You can follow me on LinkedIn and GitHub.

#WeMakeDevs #aws #ec2

Did you find this article valuable?

Support scorcism's Blog by becoming a sponsor. Any amount is appreciated!

ย