In this post, I will be showing you how to spin-up a Windows Server machine on Amazon Elastic Compute Cloud (EC2). This post will get you started on how to use Amazon Elastic Compute Cloud (Amazon EC2) Windows instances.
Step 1: Launch Instance
- Sign into the AWS Management Console at https://console.aws.amazon.com and click on EC2
Image may be NSFW.
Clik here to view.
- Click on ‘Launch Instance’
Image may be NSFW.
Clik here to view.
- Select ‘Quick Launch Wizard’ → Enter Instance Name → Select your Public/Private key pairs (Checkout my post on how to create a key pair) → Scroll down and click on ‘Microsoft Windows Server 2012 Base‘ which is the base image I will be using for this post → Click Continue
Image may be NSFW.
Clik here to view.
- Review your settings → then click Launch to launch the instance
Image may be NSFW.
Clik here to view.
Note: The default security group created authorizes all IP addresses to access your instance over the specified ports (i.e. 3389=RDP). In a production, you need to authorize only specific IP address or range of IP addresses by clicking on the Edit details → Security Settings and create a new Security Group
Image may be NSFW.
Clik here to view.
- You should get a notification page letting you know your instance is been launched
Image may be NSFW.
Clik here to view.
- Close the screen and wait for the status checks to complete initialization….
Image may be NSFW.
Clik here to view.
- You should see this when initialization is completed
Image may be NSFW.
Clik here to view.
Step 2: Connect to Instance
- To connect to the server → Right-click on the instance and click Connect
Image may be NSFW.
Clik here to view.
- In the Console Connect dialog box → click Retrieve Password
- Click Browse and navigate to the private key file → Select the file and click OK (the private key content should appear in content box)
Image may be NSFW.
Clik here to view.
- Click Decrypt Password → The administrator password should now be displayed in the console. Write than or copy both the Public DNS address and the password in a save location
Image may be NSFW.
Clik here to view.
- Click on Start\Run on your machine, type ‘mstsc’ and click OK
Image may be NSFW.
Clik here to view.
- Enter the Public DNS address of the instance, click OK and you will prompted for username and password → Enter the username and password and you should now gain access to the instance
Image may be NSFW.
Clik here to view.
Note: If you are accessing this from a domain machine, add .\ to the username (.\Administrator)
Image may be NSFW.
Clik here to view.Image may be NSFW.
Clik here to view.
I hope I have made these steps easy to follow and that it has been useful to someone…