title: How can I configure a gp2 boot volume for my Windows EC2 instances?
body: <p>I want to use the new "gp2" volume type as the boot volume for my Windows instances, with an out-of-the-box Windows AMI from Amazon (e.g. ami-527b823a), and the AWS SDK for .NET (v2.1.7 - latest as of 9-July-2014). How do I configure my run-instances request?</p>
  
  <p>Based on <a href="http://aws.amazon.com/blogs/aws/new-ssd-backed-elastic-block-storage/" rel="nofollow">the post on the AWS blog</a>, I tried setting a BlockDeviceMapping:</p>
  
  <pre><code>new RunInstancesRequest {
      ...
      BlockDeviceMappings = {
          BlockDeviceMapping {
              DeviceName = "sda1",
              Ebs = new EbsBlockDevice { VolumeType = VolumeType.Gp2 }
          },
          new BlockDeviceMapping {
              DeviceName = "xvdf",
              Ebs = new EbsBlockDevice {
                  SnapshotId = SNAPSHOT_ID
                  DeleteOnTermination = true,
                  VolumeType = VolumeType.Gp2
              }
          }
          ...
      }
  }
  </code></pre>
  
  <p>But this didn't work, and I got an unsurprising exception:</p>
  
  <pre><code>Amazon.EC2.AmazonEC2Exception: The device 'sda1' is used in more than one
  block-device mapping ---&gt; System.Net.WebException: The remote server
  returned an error: (400) Bad Request.
     at System.Net.HttpWebRequest.GetResponse()
     ...
  </code></pre>
  
  <p>Is it possible to set the boot (root) volume of my windows instances to gp2? Or do I need to wait for a later release of the SDK?</p>