I am currently trying to backup my EC2 instance using Amazon ec2-api utilities and ec2-ami-tools utilities.
I am using the standard Ubuntu 14.04 AMI from Amazon.
To download and install the necessary utilities, I updated /etc/apt/sources as follows:
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
Now I can stratify the image as expected, however, when I try to load AMI into a bucket, I get the following error:
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.
I use the Frankfurt data center. From online research, it seems that the new centers in January 2014 do not support the old authentication schemes.
I tried following the manual http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html to enable V4, however, when I try to update the CLI configuration, I get the following error:
root@ip-10-0-1-54 :/mnt/bundle
Does anyone know how to fix errors there so that I can back up my package for S3?
source share