Home > database >  Using aws dms to sync 2 s3 buckets cross account
Using aws dms to sync 2 s3 buckets cross account

Time:12-26

I want to use AWS DMS to sync an S3 bucket in one account to another S3 bucket that belongs to another account.
Can I do set it up to do it automatically?

I tried to look in the documentation but didn't find any explanation about syncing real-time S3 to S3 cross account.

CodePudding user response:

Yes, it is possible to use AWS Database Migration Service (DMS) to sync data between two Amazon S3 buckets that are located in different AWS accounts.

To do this, you will need to set up a replication task in AWS DMS and specify the source and target S3 buckets as the data stores for the task. You will also need to provide the necessary AWS Identity and Access Management (IAM) credentials for both accounts so that DMS can access the S3 buckets.

You can refer this link for setting S3 as source for DMS and this link for setting S3 as target in DMS.

It's important to note that DMS can only replicate data between S3 buckets in the same region. If the two S3 buckets are in different regions, you will need to use a different method to copy the data between them, such as the AWS DataSync service

CodePudding user response:

Yes, it is possible to use AWS Database Migration Service (DMS) to sync data between two Amazon S3 buckets that are located in different AWS accounts. To do this, you will need to set up a replication task in AWS DMS and specify the source and target S3 buckets as the data stores for the task.

  • Related