Windows – How to copy files to Amazon EC2 Windows instance from the local machine

amazon ec2windows

I have created a new Windows instance on Amazon EC2. I want to copy some files from my local machine to the instance. How do I go about it?

Best Answer

Actually we can take benefit from the disk sharing feature of mstsc. Here is how it works:

  1. Go to find the RDP file amazon asked you to downloaded onto your local PC. right-click --> Edit

  2. Go to "Local Resources" tab --> "Local devices and resources" --> "More" button

  3. Expand the "Drives" and check the disks you want to share when you TS to the remote box.

  4. after connect, you will see the new drives in My Computer already mounted for you.

If you want to keep things organized and get better results, create a folder named "c:\publish" (or something else), and then run "SUBST s: c:\publish" in dos prompt. Now you will have a s letter that points to your folder. This way you can map only the folder with files to transfer to the server (the s) with no need to sync the entire c driver.

For me, copy speed is 200-300kB/Second. Enjoy!