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](https://xpertstec.com/wp-content/uploads/2020/08/aws-management-console-2.webp)
2- Select instance on your left side and then click on Launch Instance button.
![aws launch instance](https://xpertstec.com/wp-content/uploads/2020/08/aws-launch-instance-1.webp)
3- Here we can choose the default Amazon (64 bit) AMI.
![aws instance choose ami](https://xpertstec.com/wp-content/uploads/2020/08/aws-instance-choose-ami-1.webp)
4- Choose instance type.
Click Next : Configure Instance details
![aws choose instance type](https://xpertstec.com/wp-content/uploads/2020/08/aws-choose-instance-type-1.webp)
5- Type Number of instances.
![aws configure instance details](https://xpertstec.com/wp-content/uploads/2020/08/aws-configure-instance-details-1.webp)
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](https://xpertstec.com/wp-content/uploads/2020/08/aws-configure-instance-details-2.webp)
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](https://xpertstec.com/wp-content/uploads/2020/08/aws-configure-instance-details-3.webp)
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](https://xpertstec.com/wp-content/uploads/2020/08/aws-add-storage-1.webp)
9- Here we have tagged the instance (Windows Server 2019)
Click on Next : Configure Security Groups
![aws add tags](https://xpertstec.com/wp-content/uploads/2020/08/aws-add-tags-1.webp)
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](https://xpertstec.com/wp-content/uploads/2020/08/aws-configure-security-group-1.webp)
11- Review instance details and parameters and then click launch.
![aws review instance launch](https://xpertstec.com/wp-content/uploads/2020/08/aws-review-instance-launch-1.webp)
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](https://xpertstec.com/wp-content/uploads/2020/08/aws-download-key-pair-1.webp)
13- After downloading key pair and saving your key, click launch instance.
![aws key pair name](https://xpertstec.com/wp-content/uploads/2020/08/aws-key-pair-name.webp)
14- You can see the launch status meanwhile.
![aws initializing instance](https://xpertstec.com/wp-content/uploads/2020/08/aws-initializing-instance.webp)
15- You can also see the launch log.
![aws launch status](https://xpertstec.com/wp-content/uploads/2020/08/aws-launch-status-1.webp)
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](https://xpertstec.com/wp-content/uploads/2020/08/aws-instance-connect.webp)
17- Review the description of your instance.
![aws instance description](https://xpertstec.com/wp-content/uploads/2020/08/aws-instance-description.webp)
Log in EC2 Instance
18- Select the instance and then click connect.
![aws instance running](https://xpertstec.com/wp-content/uploads/2020/08/aws-instance-running-2.webp)
19- Click on get password.
![aws instance get password](https://xpertstec.com/wp-content/uploads/2020/08/aws-instance-get-password-1.webp)
20- Click the choose file button.
![aws key pair path](https://xpertstec.com/wp-content/uploads/2020/08/aws-key-pair-path-1.webp)
21- Select the key pair you downloaded earlier and then click open.
![windows explorer](https://xpertstec.com/wp-content/uploads/2020/08/windows-explorer-4.webp)
22- Click Decrypt password.
![aws decrypt password](https://xpertstec.com/wp-content/uploads/2020/08/aws-decrypt-password-2.webp)
23- Copy the password and then click download remote desktop file
![aws download remote desktop](https://xpertstec.com/wp-content/uploads/2020/08/aws-download-remote-desktop-1.webp)
24- Click Connect.
![remote desktop connection publisher](https://xpertstec.com/wp-content/uploads/2020/08/remote-desktop-connection-publisher.webp)
25- Paste the password and then click ok.
![remote desktop connection](https://xpertstec.com/wp-content/uploads/2020/08/remote-desktop-connection-2.webp)
26- Click yes
![remote desktop connection certificate](https://xpertstec.com/wp-content/uploads/2020/08/remote-desktop-connection-certificate.webp)
27- EC2 Instance (Windows Server 2019 desktop)
![windows server desktop](https://xpertstec.com/wp-content/uploads/2020/08/windows-server-desktop.webp)
Please read my article on how to use Veeam Backup for AWS Free Edition.