Send alerts on custom AWS DMS errors from Amazon CloudWatch Logs

To Nha Notes | Oct. 2, 2023, 12:34 p.m.

Solution overview

The architecture is an event-based solution comprised of AWS DMS tasks that send logs to CloudWatch. When logs are present in CloudWatch, it utilizes a filter pattern to match log events. When a log entry matches a defined filter pattern, for example, “table is suspended” or a custom error, it triggers a Lambda function to publish a message to an SNS topic. The following diagram illustrates the solution workflow.

References

https://aws.amazon.com/blogs/database/send-alerts-on-custom-aws-dms-errors-from-amazon-cloudwatch-logs/