How to copy files to Amazon EC2 Windows instance from my local machine?
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?
Actually we can take benefit from the disk sharing feature of mstsc. Here is how it works:
Go to find the RDP file amazon asked you to downloaded onto your local PC. right-click --> Edit
Go to "Local Resources" tab --> "Local devices and resources" --> "More" button
Expand the "Drives" and check the disks you want to share when you TS to the remote box.
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!
If you are using mac and using Microsoft Remote Desktop app then edit your rdp connection setting, go to Redirection tab, enable folder redirection, and add the folder on your mac. You should see it in the windows ec2 file explorer under "This PC".