show full processlist;
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:
1. Download the zip
curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip"
sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
1. List docker containers:
2. Backup container
docker commit -p <container-ID> backup-name
3. The backup image will be listed in the docker images list:
4. Now backup the image as a tar file:
docker save -o backup-name.tar backup-name
The following fixed the issue on AWS EC2:
/root/.local/share/letsencrypt/bin/pip install --upgrade certbot