- Go to AWS Console
- Type
EC2
and click the EC2 menu - Click
Instances
at the left menu - Click
Launch instances
- in Choose an Amazon Machine Image, Find
Microsoft Windows Server 2019 Base
and clickSelect
- in Choose an Instance Type, click
t2.micro
and clickNext: Configure Instance Details
There will be configure instance details page. Right here, we can setup the network, subnet, roles, etc.
In storage, it is going to use Elastic Block Store to create block storage for EC2 instance.
Tags are useful to group the EC2 instance into one. We can group it based on the project that it involves. Example, There will be 5 EC2 running and 2 of them is for Project A. Therefore, we can give tags to 2 EC2 instances and group them into one. We will put the key as Project
and Value as A
for this case. Right now, we can skip this step for the sake of simplicity.
Security group is an instance-based Firewall. It allows which traffic that is going to be accessible to the instance.
- in Security group name, change it to
EC2SG
- change the Description to
EC2 Firewall
- Click
Review and Launch
- click
Launch
There will be a pop-up menu asking about key pair. Key pair is necessary for accessing the instance. Without it, you are not allowed to access your Instance.
- Click
Create a new key pair
- in key pair name, type
WindowsKeyPair
- click
Download Key Pair
It will download a Key Pair File into your device.
it will display the notification stated that Your instances are now launching
- click
View Instances
at the bottom page
you will see that the instance is currently running, but still initializing
the status check. For every newly created instance, it needs to pass the status check. it may take few minutes to complete it. You may click refresh button to check if the instance has been passed the status check.
Once the status has been completed, it will show 2/2 checks passed
.
Now, we can try to connect to our instance.
it will show the connect to instance page. Now, go to RDP Client page.
- Click
Download remote desktop file
It will download the remote desktop file to access the instance.
it will ask you WindowsKeyPair that has been downloaded at your device.
it will display the password for you to access your instance.
- copy Public DNS, User name, and the password. you are going to use it for accessing the instance.
- Open remote desktop file we have downloaded from step 21.
- in PC Name, input your Public DNS.
- for user name, input the user name we have copied.
- for password, input the password we got from previous step.
It will be successfully connected to your Windows server.