AWS

How to Create EC2 Instance in AWS Cloud

Create EC2 Instance in AWS

In this blog, I am going to create an EC2 Instance in AWS. I will show you how to launch an on-demand EC2 instance in AWS Cloud. The instance would have charged per hour with different rates based on the type of the instance chosen. AWS offers multiple instance types for the relevant business needs of the user.
Hence, you can rent an instance based on your own CPU & memory requirements, and use it as long as you want. You can terminate the instance when it is no more used & save on costs. This is the most striking benefit of an on-demand instance- you can drastically save on your CAPEX.

What is Amazon EC2 Instance Click Here?

Create EC2 Instance

1- Login with AWS account and go to the AWS Services tab at the top left corner. Click on EC2 under compute.

aws management console

2- Select instance on your left side and then click on Launch Instance button.

aws launch instance

3- Here we can choose the default Amazon (64 bit) AMI.

aws instance choose ami

4- Choose instance type.
Click Next : Configure Instance details

aws choose instance type

5- Type Number of instances.

aws configure instance details

6- Network section select you of VPCs available in our platform I am selecting the default one. Subnets we can select the subnet where you need to place our instance.

aws configure instance details

7- Enable termination protection, It will not delete your instance if you have enabled accidental termination protection.
Click on Next : Add Storage.

aws configure instance details

8- Here you can change your volume size, add new volumes, change the volume type, etc.
Under Volume type, you can choose Magnetic, General Purpose SSD, Provisioned IOPS.
Click Next : Add Tags.

aws add storage

9- Here we have tagged the instance (windows server 2019)
Click on Next : Configure Security Groups

aws add tags

10- Here you can create a new Security Group.
Naming our SG for easier reference
Select Protocols which you want to enable on my instance
Click on Review and Launch

aws configure security group

11- Review instance details and parameters and then click launch.

aws review instance launch

12- Create a key pair to instance login. A key pair is a kind of public, private key.
AWS stocks the private key in the instance, you are asked to download the private key. Verify you download the key and keep it safe and secured.

Select Create a new key pair

Type a name to your key
Click download key pair and save it in your secured folder

aws download key pair

13- After downloading key pair and saving your key, click launch instance.

aws key pair name

14- You can see the launch status meanwhile.

aws initializing instance

15- You can also see the launch log.

aws launch status

16- Click on the Instances on the left pane where you can see the status of the instance.
Once the instance is up & running, you can see its status as running.

aws instance connect

17- Review the description of your instance.

aws instance description

Log in EC2 Instance

18- Select instance and then click connect.

aws instance running

19- Click on get password.

aws instance get password

20- Click choose file button.

aws key pair path

21- Select your key pair you have downloading in earlier and then click OK.

windows explorer

22- Click Decrypt password.

aws decrypt password

23- Copy password and then click download remote desktop file

aws download remote desktop

24- Click connect.

remote desktop connection publisher

25- Paste password and then click ok.

remote desktop connection

26- Click yes

remote desktop connection certificate

27- EC2 Instance (Windows Server 2019 desktop)

windows server desktop

Jamil Parvez

Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

Related Articles

Leave a Reply

Back to top button