Different S3 Region for Backups and Media

Hello

Our community would like to start using S3 in order to store media files and backups, to prevent the VPS to be full soon.
I checked settings and the it seems like credentials are shared for both settings (enable s3 uploads and backup location)

However, I would like to know if it’s possible to host, for example, Backups on Oregon and Media Files on Dublin
Is there any way to achieve this?

Yes. Its dangerous to have media and backup in one endpoint. If we lose it, we lose everything. So I also would like to be able to configure different endpoints for backup and media.

Why does it matter? Have a policy to copy files to glacier or a different S3 region after the files arrive on S3, if you need that kind of redundancy.

2 Likes

How can that be done?

Sorry if my question is too simple, I’m switching all my servers to AWS as it provides better options than GCP :sweat:

Hi,
If you want to backup to a different region in AWS, you can use Cross Region Replication. This will be backup your content in one S3 bucket in X region to another S3 bucket in Y region.
You can go through links here for details and how-to:
https://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html
https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-crr.html

Also if you don’t want backup but just want to safeguard against delete of any object in S3, you can use MFA delete. This will ask for your MFA token on delete of object.
https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html

Also you can use versioning so that even on delete, the previous version is available.
https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html

Also, keep in mind this all options will have some additional cost associated with it.

Let me know if you need more help.

Thanks

4 Likes