1 Answer
- Newest
- Most votes
- Most comments
0
Would recommend to go through this Blog, would give you more insights. Refer (Link)
Also, consider using bigger instance size while doing DMS tasks which will avoid bottle necks with respect to storage and memory issues.
Below steps guide you on how to create Alarm!
To create a CloudWatch alarm to monitor the memory usage of a DMS (Database Migration Service) instance:
- Open the Amazon CloudWatch console at https://console.aws.amazon.com/cloudwatch (link).
- In the CloudWatch dashboard, click on "Alarms" in the left-hand menu.
- Click on "Create alarm" to start creating a new alarm.
- In the "Select metric" step, choose the following:
- Service: "Database Migration Service"
- Metric Name: "MemoryUsage"
- Statistic: "Average"
- Period: Choose an appropriate time period (e.g., 5 minutes)
- In the "Specify metric threshold" step, set the following:
- Threshold type: "Static"
- Threshold value: 75 (to monitor when memory usage reaches 75% of the instance's memory capacity)
- Comparison operator: "Greater"
- In the "Configure actions" step, choose to send an alarm notification to an SNS topic or email address.
- Review and confirm the alarm details, then click "Create alarm" to finish the setup.
Once created, the CloudWatch alarm will monitor the MemoryUsage metric for the DMS instance and send a notification when the memory usage exceeds 75% of the instance's capacity.
For best practices, please refer to the link: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Best-Practice-Alarms.html
answered 7 days ago
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 months ago