Lab 2 : To Launch Windows EC2 instances in AWS

                                           Lab 2 : To Launch Windows EC2 instances in AWS

OBJECTIVE:To launch Windows instance and to connect from windows and linux client PC.

TOPOLOGY


Note:This lab helps to launch your first instance quickly,so it doesn't cover all possible options.

PRE_REQUISTES:

User should have AWS account,or IAM user with EC2 full access.

TASK:
Launch Windows instance
Select Region
Select Amazon machine image(AMI)
Create key pair
Connect from windows operating system
Connect from linux operating system
start/stop/terminate instance

1.To launch Windows instance in Default VPC
Open the Amazon EC2 console
select Compute
click on EC2 service


Select the Region,"us west(oregon)"
Note:Select the region which is nearest to your Geographical Location.


To check service Health

Drag down and check service status & Availability Zone status:


From the" EC2Dashboard"panel

Select instance

click on "Launch instance" button


on choose an Amazon Machine image(AMI)"page

select "Quick start"


Select "Microsoft Windows Server AMI",and click select button

[Notice that this AMI is marked "Free tier eligible."]

Click on select button


on"choose an instance Type"page

select type"t2.micro",eligible for the free tier.

click on"Next :configure instance Details" Button

 

on"configure instance Details",page

Leave all values as default

click on"Next:Add storage" button



 on"Add storage",page

Leave all values as default

click on"Next:Tag instance" button

 

on"Add Tags",page

provide following values

key---->Name

value--->winserver

click on "Next:configure security Group"button



on"configure security Group",page

select------->create a configure security group

Leave all values as default

Note:By Default for linux instance port 3389 i.e..RDP is used

click on"Review and Launch" button

 

on"Review instance launch",page

Leave all values as default

verify the summary,then drag down

verify the summary

click on Launch Button

  

On "select an Existing key pair or create a new key pair",box

select "create a new key pair"

Enter key pair name---->keywin.pem

click on "Download key pair"

Note:Store it in a secure and accessible location.

you will not be able to download the file again after it's created


Click on "Launch an instance"


on Launch status page,go to right bottom cornor

click on "view instance"button

on EC2 Dashboard panel

click on instances

select instances  status----------->Pending

 

Once instance instance state is---->Running

 


To check instance details like

Decripton,status check,Monitoring,tags

 

 

 2a)To connect to Windows instance"from windows client operating system.

open EC2 Dashboard Console

Go to Console

Select instance you want to connect

click connect button

 

 

On"connect to your instances"page see the guide lines to connect to windows instances..

Click on "Download Remote desktop file" Button

 

 

click on "Get password" buton

 

 

Click on "Choose file" button

provide the path of the key file

Click on "Decrypt password"button

 


Click on close Button

 


Copy your instance detail in notepad

Public DNS ec2-54-213--57-us-west-2.compute.amazonaws.com

username:Administrator

password:*************

Click on Close Button



Now Login to the Amazon windows instance

Double Click on downloadiing RDP file

Provide username as Administrator and give password

 


click on connect 


Provide username Administrator and password

Click on ok

 

Click on yes button

 

 

Wait for a movement

 


 Verify

successfully Logged in to windows instance

Check public and private ip of windows instance


2b)To connect to Windows instance using linux client operating system.

 Login to linux client operating system

 Open Linux Terminal

 Note:rdesktop or xfreedrp{RHEL 6,7} package should be installed

$desktop -u Administrator<pub_DNSname/public_ip>

                   (or)

$xfreerdp -u Administrator<pub_DNSname/public_ip>              {in RHEL 6,7}

          -u---->user name

 

 

 Click on Administrator

 provide the password

 


 Verify:

 once Logged in Wndows Desktop is available


Note:

If you are not going to use the instance,terminate the instance,

Otherwise it will be charged if the limit is over after free tier usage

How To  Launch Amazon Linux EC2 Instance ?

 


Comments