Skip to content

asPerRequirements/create-ec2-instance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Create EC2 Instance

In this post we will learn to create an EC2 Instance. For full tutorial follow this video

  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

    IMG

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

  • 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 Instance Type
  • 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

    • User existing one

  • Leave rest as it is.

  1. Click on the Launch Instance.

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

    Click on instance id

  3. Probably your screen should be like this

    Screen

  4. Click on the Instance ID

    Instance ID

  5. Copy the Public Ip Address Ip Address

  6. 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.
  1. Type the commad ssh -i /path/of/key/downloaded [email protected]. Command
  • Click yes and enjoy

Final Output

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published