Lab 2 : To Launch Windows EC2 instances in AWS
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
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
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
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.
$desktop -u Administrator<pub_DNSname/public_ip>
(or)
$xfreerdp -u Administrator<pub_DNSname/public_ip> {in RHEL 6,7}
-u---->user name
provide the password
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



































Comments
Post a Comment