I received this error when trying to copy files from an ec2 instance to an S3 bucket.

Credentials were checked, double and triple checked. The issue in my case was the aws cli version on the ec2 was too old.

To upgrade to the latest, carry out the instructions here:


Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@matthewc424.sg-host.com.