Unreliable and Intermittent Amazon S3 Backups on Virtualmin and WHM/cPanel – EU (London) Zone

Background

If you find that your Amazon S3 backups are working perfectly in the default US Zones, but fails in EU London zone, then try the following:

On CentOS

yum install awscli

On Ubuntu

sudo apt-get install awscli

Fact is the Perl libraries and other default tools shipped with both CentOS and Ubuntu is outclassed by the real thing, namely awscli

As explained by @JamieCameron on the Virtualmin forum:

`We recommend installing the aws command if you can, as it’s always going to be more reliable than relying on Virtualmin’s implementation of Amazon’s API.`

Errors Typically Encountered

HTTP/1.1 400 Bad Request

Uploading archive to Amazon's S3 service ..
.. upload failed! Invalid HTTP response : HTTP/1.1 400 Bad Request

The authorization mechanism you have provided is not supported

Failed to save bucket : Failed to save bucket ACL : The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

Reference

https://www.virtualmin.com/node/37935
https://www.virtualmin.com/node/36894
https://virtualmin.com/node/51398
https://www.virtualmin.com/node/56254#comment-form
https://virtualmin.com/node/64967

Share this article

Share on facebook
Share on twitter
Share on linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top