Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a business use case and workflow where local/instance/ephemeral storage for an EC2 instance is ideal. Unfortunately I'm coupled to a Windows platform for this particular task and the EC2 Windows offering appears to have some deficiencies related to AMI creation.

In essence, I'm trying to figure out if there's a way to attach local instance storage to a Windows EC2 instance using the typical command line interface (because the Amazon Website GUI doesn't support it) and then to somehow create an AMI based upon that. I've tried creating a snapshot and then creating a Windows AMI based upon the snapshot, but of course the docs say this is unsupported and makes an unbootable AMI.

In short, here's what I'm trying to do:

  1. Be able to run a Windows instance (EBS/S3 instance doesn't matter)
  2. Attach local instance storage as drive D:
  3. Persist that configuration as an AMI such that I can start lots of them as necessary from either the GUI, command line, or REST API.
  4. Be able to take a launched instance, update software, shutdown, and create another AMI based upon that.
  5. Wash, rinse, repeat.

One other potential option which isn't horrible, but isn't ideal is to create an AMI which has 2 EBS volumes already attached (system+apps and data). Essentially, every time I startup an instance based upon the AMI it'll create 2 new EBS volumes of pre-determined size. I'm trying to avoid that scenario if possible.

share|improve this question
    
Have you tried just using "Create AMI Image" on your Windows instance? –  Matt Houser Jun 26 '12 at 11:12

1 Answer 1

After much research, it looks like Windows-based AMIs are all backed by EBS with no possibility to convert to S3/instance storage. While the instance/ephemeral disks can be added as at startup via the command line interface, there's no way to make this happen out of the box.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.