Custom Search

Monday, July 15, 2013

How to Connect RDP to Imported EC2 Windows Instance

How to Connect Remote Desktop to Imported EC2 Windows Instance

1)
Prepare a Windows VM to import to Amazon EC2

http://fosshelp.blogspot.in/2013/07/prepare-windows-vm-import-amazon-ec2.html

2)
Download Vitual Machine from ESXi node in ovf format

#ovftool vi://root:welcome@192.168.12.154/windows_2003_server_32 windows_2003_server_32.ovf
3)
Create EC2 Instance using *.vmdk

#ec2-import-instance windows_2003_server_32-disk1.vmdk -f VMDK -t m1.small -a x86_64 -b import-export -o $AWS_ACCESS_KEY -w $AWS_SECRET_KEY --region us-west-1

4)
Check the Progress of the task

#ec2-describe-conversion-tasks import-i-ffm2nty0 -O $AWS_ACCESS_KEY -W $AWS_SECRET_KEY --region us-west-1

5)
Start Imported EC2 Instance


6)
Edit Security Group

* Add RDP Group Permission to "default" Security Group.
* Add ICMP Group Permission to "default" Security Group (Optional, For test Ping).

7)
Connect RDP to VM

#rdesktop ip-of-imported-ec2-instance

No comments:

Post a Comment