Bootstrapping the Windows AMI
The hardest part of getting the Windows AMI set up was going through the bootstrapping process. Essentially this enables you to get a base image, and then select at startup what the server will be serving. It turns out that, unlike the ubuntu images, Windows has no built in facility for executing a script provided by user-data. So, I had to make one.I have posted an installer here that installs a service on your windows machine. This will check the user-data field on bootup. It is looking for the name of a zip file that lives in the cs462-packages bucket. This zip file should contain the files that should end up in c:\inetpub\wwroot. I know, it's a bit hardcoded, but it fits my needs and I wasn't writing it for the public in general. If you belong to the CS 462 class at BYU Winter 2011 you are welcome to set up your own Windows AMI using this service to help you bootstrap.
The nice thing about this, is that your user-data will consist of a single line, for example:
mylab1.zip
That's it! Then when your computer boots up it will download that package, extract it to inetpub\wwwroot and life will be good!
GO Windows! Happy .NET Coding!