I am starting my game! webapp with Docker Cloud (you can also use Rancher) and AWS, and I would like to save all the logs in S3 (via volume). Any ideas on how I could achieve this with minimal effort?
Use docker volumes to store logs on the host system.
docker volumes
Try S3 aws-cli sync your local directory with S3 Bucket
S3 aws-cli
S3 Bucket
aws s3 sync /var/logs/container-logs s3://bucket/
create a cron to run it every minute or so.
cron
Link: s3 aws-cli