BEGINNER-FRIENDLY STEP BY STEP GUIDE ON HOW TO CREATE AWS VIRTUAL MACHINE USING WINDOWS 10
Tags: aws, cloudcomputing, cloudarchitect
Published: 2023-04-11 20:42:55

Hello there, my fellow tech-savvy friend!

Are you ready to learn how to create a virtual machine on AWS? AWS (Amazon Web Services) is a cloud computing platform that 
allows you to create and manage virtual servers. It's simple, efficient, and can help you save a lot of time and money. 
So, let's get started, shall we?

Step 1: Create an AWS Account
Before you can start creating virtual machines, you will need to create an AWS account.
 Don't worry, it's easy and free, and will only take a few minutes. 
Just head on over to the AWS home page (https://aws.amazon.com/) and click on the "Create an AWS account" button

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s1479ch55jd84jsgiv3h.png)


Step 2: Access the EC2 Dashboard
Once you've created your account and logged in, you will be taken to the AWS Management Console.
 From there, click on the "EC2" service under the "Compute" section to access the EC2 dashboard.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6gael4d16espny6n9nfr.png)


Step 3: Launch a New Instance
On the EC2 dashboard, click on the "Launch Instance" button to begin launching your new virtual machine.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m5wurreim9hzygbs2zkf.png)

Step 4: Choose an Amazon Machine Image (AMI)
An Amazon Machine Image (AMI) is a pre-configured virtual machine image that you can launch in your EC2 instance.
 Choose the AMI that matches your specific needs.
 For instance, you may want to choose one that has an operating system already installed, 
such as Microsoft Windows or Linux. This will stress you if you don't choose the right operating system.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j7smrz11j6ox81csq2ds.png)

Step 5: Choose an Instance Type
Once you've chosen your AMI, you will need to choose an instance type.
 This will determine the size and capacity of your virtual machine.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cc6xuei5mub9trl24lws.png)

Step 6: Configure Instance Details
The next step in creating your virtual machine is to configure some instance details. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oy5oijdlrqvon4cl0ukj.png)

Step 7: Create Key Pair
Create key pair(This is an important part as you need to use it.)
You can choose your network settings, such as the security group and subnet, as well as your storage settings. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/038xlvoody7b13s53kbg.png)

Step 8: Configure Security Group
It's important to configure your instance's security group to allow only the traffic that you want. 
This helps you keep your virtual machine safe from unauthorized access. 
You can also choose to create/customize your own vpc (Amazon Virtual Private Cloud) as seen below:


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/waigccin5ovzsu2ph9yz.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fc1bmcfntt8jiwwsus6i.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rb6n2vmxn6hnpj9gvqrk.png)

Step 9: Add Tags (Optional)
Adding tags to your EC2 instance can help you keep track of multiple instances and organize them better. 
This step is optional, but recommended.

Step 10: Review and Launch
Before launching your virtual machine, take a moment to review your settings and make any necessary changes. 
Once everything looks good, click on the "Launch" button.

Step 11: Check Your Launch Status and connect 
After you have successfully launched your instance and got success messages like this (picture below):


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/i6b7mct20ov2weyjh6ly.png)

click on your instance to view your progress,you might need to be a little patient as it initializes first before showing this(picture below):


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3hkkysphfsekl6ss4zy0.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ilzjc2kimpdbgkei6zg6.png)

Step 12: Access Your New Virtual Machine
After launching your virtual machine, you can access it using a Remote Desktop Protocol (RDP) client. 
To do this, you will need to wait for the instance to complete its launch process, retrieve the generated key pair,
 and configure a network access rule.

 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3zeh58fsjz35mzfg11i3.png)

Download your RDP file. 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ozrw1gy5krqw2iym86xm.png)


Get your password and decrypt the password then connect to your Remote Desktop Connection.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p50shgb3xfkldoqbey5g.png)


Lastly, remember to terminate unused instances or stop instances to retrieve it for later.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmurqmwrunvgldzcfx19.png)

Congratulations, my friend! You have successfully created your very own virtual machine on AWS! I hope you 
enjoyed creating your AWS Ec2 instances as much as I do. Remember to like , share and follow.