. https://aws.amazon.com/blogs/database/how-to-scale-aws-database-migration-service-dms-replication-instances/
blog article
AWS Database Migration Service (DMS) helps you migrate databases to AWS quickly and securely. The AWS DMS migration process encompasses setting up a replication instance, source and target endpoints, and replication tasks.Your replication instance uses resources like CPU, memory, storage, and I/O, which may get constrained depending on the size of your instance and the kind of workload.In this post, I show how you can automatically scale an AWS DMS replication instance to handle a higher load (scale up) when required and save money (scale down) when the load is low. The AWS DMS best practices whitepaper outlines a number of strategies to set up a right-sized AWS DMS replication instance. In this post, I show how to achieve great flexibility in sizing the AWS DMS replication instance.I use Amazon CloudWatch to monitor an AWS DMS replication instance for CPU utilization. After a CloudWatch alarm threshold is reached, it triggers Amazon Simple Notification Service (Amazon SNS) notification, which is subscribed to by an AWS Lambda function that will modify the replication instance. The function also indicates whether the tasks running on the new replication instance started successfully or not. READ MORE