Amazon Web Services' Simple Storage Service, a/k/a "S3", is a flexible object storage facility that is widely used by government, enterprises, and even small business for serving and backing up files. Creating a storage "bucket" is easy enough, but most consumers find the permissioning system to be indecipherable. That wasn't as much of a problem for me, as I've been through a few rounds of AWS training, including for S3. But it also wasn't straightforward. I'm creating this gist mostly to avoid having to puzzle things out for my next S3 project.
The goal is to backup files on my home server to an S3 bucket. In the example that follows "example.com" is my home domain.
aws-cli is the official command-line tool for AWS.
rclone is "rsync for cloud storage", a reliable and efficient tool for synchronizing storage nodes. Instructions for