Mapping a Local Drive to Drive on Windows 2008 Server running on Amazon EC2

amazon ec2mappeddrivenetworkingwindows-server-2008

We are exploring the use of a Windows Server 2008 micro instance running on Amazon EC2 for a Apache+MySQL+PHP development web server that we could could administer for our client to allow their graphic designer to change and test her CSS designs using themes for the WordPress-based CMS software we've developed for them, and to allow our client to commit to our Mercurial-based repositories at bitbucket.org.

We've ruled out setting up local web stacks on their Windows computers because the client doesn't want that; they worry it would slow their machines down and/or cause software conflicts, and if they have problems it's harder for us to resolve them.

We've ruled out using a Linux server for their development system (we of course do use Linux for our testing, staging and deployment systems) because they are not even close to being comfortable with the Linux command line.

So we've like to set up a Windows server in the cloud that they can administer using RDP and where they can also map a drive directly to the Windows server in the cloud. This would let their designer treat the server like a local hard disk just like she does when she builds CSS+HTML mockups and point the browser to the HTTP server on the web and refresh the page to see her changes. This would also allow them to push and pull to and from our Mercurial repository from the Windows server or possible even from their local computer using the file system connection.

I've managed to mostly get a proof-of-concept working but my stumbling block is figuring out how to get a desktop machine to map to a drive on the Windows 2008 server in the cloud; that's my question. What is driving this are issues we are having with the client not updating Mercurial repositories and/or the client making changes on our test server while we are testing and/or expecting us to manage their changed files manually.

If it helps you know how to answer better: I'm a strong web & database developer but a moderate sysadmin at best. I have 15+ years experience on backend Windows systems then 2+ recent years on a Mac where I've forgotten most of what I knew about Windows, and probably 5 recent years working with hosted websites running on Linux. Thanks in advance.

Best Answer

Create a PPTP VPN connection between the Server and workstation. Then you can have the workstation map the shared drive from the server. Don't forget to allow pptp passthrough on your routers.