title: How to change authorisation mechanism for AWS (ec2-upload-bundle)
body: <p>I am currently trying to back up my EC2 instance using the Amazon ec2-api-tools and ec2-ami-tools tools utilities.</p>
  
  <p>I am using a standard Ubuntu 14.04 AMI from Amazon.</p>
  
  <p>To download and install the required utilities, I've updated <code>/etc/apt/sources</code> with the following:</p>
  
  <pre><code>deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
  deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
  deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
  deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
  </code></pre>
  
  <p>I can now bundle the image as expected, however when I try to upload the AMI to a bucket I receive the following error:</p>
  
  <pre><code>The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
  </code></pre>
  
  <p>I am using the Frankfurt data center. From research online it seems the newer centers as per January 2014 do not support older authentication schemes. </p>
  
  <p>I've tried following the guide at <a href="http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html">http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html</a> to enabled V4, however when I attempt to update my CLI config I receive the following error:</p>
  
  <pre><code>root@ip-10-0-1-54:/mnt/bundle# aws configure set default.s3.signature_version s3v4
  usage: aws [options] &lt;command&gt; &lt;subcommand&gt; [parameters]
  aws: error: argument subcommand: Invalid choice, valid choices are:
  
  list   
  </code></pre>
  
  <p>Does anyone know how to fix there errors so I can back up my bundle to S3?</p>