List ECR repositories
Configure AWS CLI credentials
List S3 buckets
Authenticate Docker to ECR
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin <account-id>.dkr.ecr.us-east-1.amazonaws.com
Authenticate Docker with ECR
Create a new S3 bucket
Delete files from S3
Sync local directory to S3 bucket