简体   繁体   中英

AWS DMS Start replication task

I am able to create the DMS instances through through the YAML file. But I am not able to start the task to migrate the data. Is there any way I add the script in YAML to start the process automatically once the task gets created?

You can follow the official white paper for this yes I have done migration to DynamoDB using replication task through YAML automatically.

Please follow this for help: https://github.com/aws-samples/specialty-practice-code-samples/tree/master/migrate-delimited-files-to-nosql

To start your Task start the migration you can use cloudformation even a A cloud watch event scheduler.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html

And this one also: https://docs.aws.amazon.com/cli/latest/reference/dms/create-replication-task.html

I followed these 3 document and migrated a giant DB to DynamoDB.

What I did is created a replication task and scheduled a cloud watch event on it and with help of Lambda function triggered that CloudFormation YAML to migrated the DB.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM