I have an S3 bucket that contains static content for all of my production customers. I also have an intermediate environment that I use for testing before I deploy to production. I also want the staging environment to point to S3 for testing downloads and other features. The problem is that I do not want the staging server to refer to the same production bucket / folder s3, because there is a risk of overriding production files.
My solution is to use another folder in the same bucket or create another bucket that I can periodically update with the contents of the production bucket. Is there a way to easily sync two folders or buckets on Amazon S3?
Any other suggestions for managing this type of scenario are also welcome.
amazon-s3
Zakir hemraj
source share