Skip to main content

Home

Creating an AWS RDS CloudWatch Alarm for Free Storage Space

This guide is to configure an AWS RDS CloudWatch Alarm for Disk FreeStorageSpace Metrics as part of RDS monitoring.

  1. Go to AWS CloudWatch.

  2. Select on the left-hand corner tab for Alarms.

  3. Click Create Alarm.

  4. On the right-hand section under RDS Metrics, click Per-Database Metrics.

  5. Under the column DBInstanceIdentifier, select the database you wish to monitor for free storage space and click Next when you are done.

    AWS_CW_RDS_FreeStorageSpace.png
  6. In the Alarm Threshold panel, specify the following:

    1. Name - for this Database Metrics (e.g., RDS_FreeStorageSpace_for_MySQL-A)

    2. Description - describe what the above database metrics name you entered (e.g. Disk space monitor of RDS MySQL-A)

    3. Add free storage of 20% left to alert contact under Whenever FreeStorageSpace is <= 20

      Tip

      I have suggested adding 20% of free storage space left, however, you can tune this to be lower.

    4. Add 10 for 10 consecutive period(s).

    5. Under Actions, add Send notifications to, which is your SNS topic you want to send the alert to.

      Note

      This SNS topic should already be set up before you add it.

      AWS_CW_RDS_Notify.png
    6. Click Create Alarm to create the alarm metrics for RDS monitoring on storage space.

    7. The UI displays the alarm you just created in Alarms but includes the error INSUFFICIENT DATA if the alarm hasn't been triggered yet. When it is triggered, an ALARM appears under Alarms tab and the system sends mail alerts will be distributed as defined in the SNS topic.

    8. Click Create Alarm to create the Alarm metrics for RDS monitoring on storage space.