title: how to set block-device-mappings during aws ec2 run-instances?
body: <p>sof,</p>
  
  <p>how to set block-device-mappings during aws ec2 run-instances?</p>
  
  <p>I am new to awscli.</p>
  
  <p>I pip installed it into my python env.</p>
  
  <p>I got this example to work ok:</p>
  
  <pre><code>aws ec2 run-instances --image-id ami-d2c924b2 --instance-type m4.large
  </code></pre>
  
  <p>How to enhance the above shell command so I launch with more disk space?</p>
  
  <p>I tried this syntax and it failed:</p>
  
  <pre><code>aws ec2 run-instances --image-id ami-d2c924b2 --instance-type m4.large --block-device-mappings {"DeviceName":"/dev/sda1","Ebs":{"VolumeSize":100}}
  </code></pre>