DEV Community

Nnamdi
Nnamdi

Posted on

HOW TO CREATE EC2 INSTANCE ON AWS AND CONNECT TO IT

To create an Amazon EC2 instance, the following steps should be followed

  1. Go to https//aws.amazon.com

  2. Sign into your account if you one already or you create one if you don't have

Image description

  1. From the AWS dashboard search for EC2 on the search box

Image description

  1. Choose the Geographical Region

Image description

  1. Name your instance tutorial instance 1 amd select the operating system

Image description

  1. On Architecture allow it to be be at 64-bit(x86) then on Instance type Choose t2.micro

Image description

  1. Create a keypair

Image description

Image description

  1. Network Setting we allow SSH Traffic from anywhere

Image description

  1. We just create our instance

Image description

Image description

  1. Connecting to your instance; to connect to your ubuntu instance
  • Open the VS Code

-Input{ ssh -i /path/to/your-key.pem ec2-user@}

Image description

Top comments (0)