Iliya’s copy
Launching a Windows Server Instance
1
Iliya’s copy
A .pem Key pair named WebServerKey.
I checked “Allow HTTPS traffic from the internet” and “Allow HTTP traffic from the internet”
because i want to use same Server as a WebServer for my HTML website.
2
Iliya’s copy
Click on Launch Instance.
3
Iliya’s copy
Our Windows Server is launched and is running.
4
Iliya’s copy
When you click on Security, we observed port 443 (hhtps), 80 (http) and 3389 (rdp) are opened. We
can RDP into the Server and also deploy website.
5
Iliya’s copy
Creating Multiple Users to RDP into the Server using different password I will generate for them
Steps:
1) RDP into the Server:
- Click on Connect.
- Select RDP client.
ec2-184-72-122-28.compute-1.amazonaws.com
Administrator
Click on Get password to generate your password using the key pair (WebServerKey) created
earlier.
6
Iliya’s copy
Upload “WebSerKey.pem” file created.
Click on Decrypt Password.
Password has been created: 20IIC0wwKpZci7G.u@Km%z?P8V)9ED0y
7
Iliya’s copy
2) Search for Remote Desktop Connection on your PC to RDP into the Instance (WebServer in
my case).
Click Connect.
8
Iliya’s copy
We have successfully RDP into the Instance.
9
Iliya’s copy
Creating Multiple Users to access the Instance using different passwords generated for them.
1) Search for Computer Management.
Expand Local Users and Groups and Click on Users.
10
Iliya’s copy
Right click on User and click on New User to create new user.
11
Iliya’s copy
Username: Iliya
Password: AbcdeF123//
Creating Second User.
Username: Nendir
Password: ABCDEF123//
12
Iliya’s copy
Observe Users has been created.
To change their permissions to Admin privileges, follow the below steps.
- Right click on the user, click on Properties and select “Member Of”.
Click on Add and Click on Advance.
13
Iliya’s copy
Click “Find Now” and Select Administrators
14
Iliya’s copy
User Iliya has now belong to Administrators group.
Follow the same steps to add Nendir user to Administrators group as well.
15
Iliya’s copy
User Nendir has been added to Administrators group as well.
Next, we need to Install Remote Desktop Service on the Server.
Follow the below steps.
Click on Add roles and features.
16
Iliya’s copy
Click Next
Click Next
17
Iliya’s copy
Click Next
Check Remote Desktop Service and click next.
18
Iliya’s copy
Click Next.
19
Iliya’s copy
Click Next.
Check Remote Desktop License and Remote Desktop Session Host.
20
Iliya’s copy
Click Next.
Click Install.
21
Iliya’s copy
We need to restart the Server for the changes to take effect.
Server Restarting….
Server has been restarted.
22
Iliya’s copy
Next, we need to activate the Remote Desktop Licensing Manager.
Launch Server Manager.
Click on Roles and Right click on Remote Desktop Service.
23
Iliya’s copy
Click on Remote Desktop Licensing Manager.
Right Click on the name to activate it.
24
Iliya’s copy
Click on “Activate Server”.
Click Next.
25
Iliya’s copy
Click Next.
Fill the details and click Next.
26
Iliya’s copy
You may chose to leave them blank and click Next.
Click Next.
27
Iliya’s copy
Click Next.
Click Next.
28
Iliya’s copy
You can click on Next and when you are ask to enter the activation key, you can click on
Cancel, it has been activated already.
NOTE: You can even RDP into the Instance without Installing and Activating the Remote Desktop Service.
29
Iliya’s copy
Next, To RDP into the instance using the new Users created (Iliya and Nendir).
Sign out Administrator user to logon with Iliya.
30
Iliya’s copy
31
Iliya’s copy
Iliya has logon Successfully.
Lets retry with User Nendir.
32
Iliya’s copy
User Nendir has logon Successfully.
Deploying Website on the Server
1) We need to install IIS (Internet Information Service) on the Server. Follow the below steps to
achieve that.
- Launch Server manager
- Click on Add Roles and features.
33
Iliya’s copy
Click Next.
Click Next
34
Iliya’s copy
Click Next.
Check Web Server (IIS).
35
Iliya’s copy
Click Add Features
Click Next
36
Iliya’s copy
Click Next
Click Next
37
Iliya’s copy
Click Next.
Click Install.
38
Iliya’s copy
39
Iliya’s copy
Deploying the website.
At this point, C:\inetpub\wwwroot has been created on the Server, you can visit the ip address on
your browser to see the default html page.
Let us delete the default web content in “C:\inetpub\wwwroot” to move our website content there.
40