CloudWatch Alarm DMS memory

0

Hello,

I'm trying to create an alarm that takes the DMS instance (if possible, automatically) metrics, and when the MemoryUsage is 75% of the memory capable, return a notification.

We thought to do that automatically because we are trying to reduce the instance types

We did that by setting manually the calculation, So we have a DMS with a t3.medium instance and we set it mannualy at 3GB to send an alarm

Is there a way to do that automatically?

Sorry if I wasn't clear in my explanation

Marcelo
asked 18 days ago63 views
1 Answer
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:

  1. Open the Amazon CloudWatch console at https://console.aws.amazon.com/cloudwatch (link).
  2. In the CloudWatch dashboard, click on "Alarms" in the left-hand menu.
  3. Click on "Create alarm" to start creating a new alarm.
  4. 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)
  5. 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"
  6. In the "Configure actions" step, choose to send an alarm notification to an SNS topic or email address.
  7. 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

AWS
answered 7 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions