Aws S3 Sync - 01-11-20

$ aws s3 sync --acl public-read --sse AES256 build/ s3://travisshears.com

Having the ability to send a site live with a single command is heaven and not a BASH script with a bunch of moving parts liable to break. This command takes me back to the old days when putting a site live meant an FTP upload command to a server letting Apache take care of the rest. This site, for example, is hosted in an AWS S3 bucket that is connected to AWS CloudFront.

inspiration:

lustforge - great blog post

\- [ aws, s3 ]