Create New Account in Amazon Web Service (AWS) and Own Your First Cloud Server EC2

Amazon Web Service (AWS) - Amazon Elastic Compute Cloud (EC2)
5 months ago SETHA THAY 308
Create New Account in Amazon Web Service (AWS) and Own Your First Cloud Server EC2

In the previous post, I have written about owning your first cloud server with the digital ocean which is called droplet. As you may already know that there are many cloud services besides Digital Ocean such as Amazon Web Service (AWS), Google Cloud, Microsoft Azure, etc. In today's post, I would like to show you step by step how to register a new account, create a new cloud server (EC2) and connect to EC2 via SSH for Amazon Web Service. When creating a new account in AWS, you automatically are in the free tier which means you can use some of their services for free within 12 months. You can follow this link to check out more https://aws.amazon.com/free/

Create New Account in AWS

  • Visit website Amazon Web ServiceClick sign in to console and then click the button Create a new AWS account

create-new-account-aws-and-own-your-first_cloud-server-create-new-account

  • Step 1: Sign Up for AWS by giving an email address, password, and confirm password

create-new-account-aws-and-own-your-first_cloud-server-create-new-account-signup

  • Step 2: Contact Information

create-new-account-aws-and-own-your-first_cloud-server-create-new-account-contactinfo

  • Step 3: Billing Information, your will be charged for 1$ to verify your identity

create-new-account-aws-and-own-your-first_cloud-server-create-new-account-billinginfo

  • Step 4: Confirm your identity, AWS will send SMS code to your mobile phone

create-new-account-aws-and-own-your-first_cloud-server-create-new-account-confirm-identity

create-new-account-aws-and-own-your-first_cloud-server-create-new-account-confirm-identity_1

  • Step 5: Select a support plan

create-new-account-aws-and-own-your-first_cloud-server-create-new-account-support-plan

  • Step 6: Congratulations, You are now ready to use AWS service

create-new-account-aws-and-own-your-first_cloud-server-create-new-account-congradulation

Create Your New Elastic Compute Cloud (EC2)

create-new-account-aws-and-own-your-first_cloud-server-ec2-dashboard

  • Click menu instances, then click the button Launch instances
  • Step 1: Choose an Amazon Machine Image (AMI) - this is where you select the operating system of your EC2 (Recommend to choose Free tier eligible)

create-new-account-aws-and-own-your-first_cloud-server-ec2-select-os

  • Step 2: Choose instance type - choose t2.micro which is in the scope of the free tire account and click next

create-new-account-aws-and-own-your-first_cloud-server-ec2-instance_type

  • Step 3: Configure instance details - No need to change anything and click next
  • Step 4: Add storage - By default you got 8GB for the storage

create-new-account-aws-and-own-your-first_cloud-server-ec2-storage

  • Step 5: Add Tags - No need to change anything and click next
  • Step 6: Configure Security Group - Allow port 22 of SSH in order to access the server after installation

create-new-account-aws-and-own-your-first_cloud-server-ec2-ssh

  • Step 7: Review Instance Launch, then click Launch you will see a popup asking for creating a new key pair. Select create a new key pair by giving the name and download. This new key pair is used to connect your EC2 via SSH.

create-new-account-aws-and-own-your-first_cloud-server-ec2-key-pairs

  • Finally, click the button Launch Instances and wait a few minutes you will get the EC2 instance up and running

create-new-account-aws-and-own-your-first_cloud-server-ec2-detail-specs

Access Your Newly Created EC2 via SSH using Putty

  • Convert key-pair file (.pem) to (.ppk) using Putty Key Generator
    • Click load to load key-pair file (.pem)
    • Click Save private key, and keep it safe 

create-new-account-aws-and-own-your-first_cloud-server-ec2-putty-key-generator

  • SSH to EC2 by public IP address, port 22, and the private key using Putty

create-new-account-aws-and-own-your-first_cloud-server-ec2-putty-ssh

  • You will be asked for the user, since we select Ubuntu as the operating system the user will be ubuntu

create-new-account-aws-and-own-your-first_cloud-server-ec2-ssh-success

 

HOPE THIS WILL HELP YOU TO BEGIN YOUR JOURNEY WITH AWS :)


About author

Author Profile

SETHA THAY

Software Engineer & Project Manager. I am willing to share IT knowledge, technical experiences and investment to financial freedom. Feel free to ask and contact me.


DigitalOcean Referral Badge

Scroll to Top