Sample of how to deploy a Docker registry backed by S3 in AWS EC2 using IAM roles to grant temporary credentials