The following command example returns the amount of free storage space available for an rds database instance identified by the id cc mysql prod db data captured during a.
Aws rds free storage space metric.
Monitor available storage space for a db instance by using the freestoragespace metric that is published in amazon cloudwatch.
Go to aws cloudwatch.
If you receive an alarm you can review the previous possible causes of storage issues.
Use amazon cloudwatch to monitor your db storage space by using the freestoragespace metric.
You can increase the amount of free storage space for an instance by choosing a larger db instance class for your instance.
To avoid the storage full state consider using one or more of the following preventative measures.
Select on the left hand corner tab for alarms.
Overview of monitoring amazon rds.
For more information see monitoring with amazon cloudwatch.
The aws rds namespace includes the following metrics that apply to database entities running on amazon aurora.
By creating cloudwatch alarms that notify you when the freestoragespace metric reaches a defined threshold you can prevent storage full issues this can prevent downtime that occurs when your rds db instance runs out of storage.
High cpu or ram consumption high values for cpu or ram consumption might be appropriate if they re in keeping with your goals for your application like throughput or concurrency and are expected.
Heavy write activity detailed logging or large numbers of transactional logs are significant contributors to lower free storage.
Related information how do i resolve problems with my amazon rds mysql db instance that s using more storage than expected.
05 run get metric statistics command osx linux unix to get the statistics recorded by aws cloudwatch for the freestoragespace metric representing the amount of available storage space bytes for the selected rds instance.
Track the performance and health of your amazon rds db instance by monitoring amazon rds.
Disk space consumption investigate disk space consumption if space used is consistently at or above 85 percent of the total disk space.
It shows that free storage.
By setting an amazon cloudwatch alarm for free storage space you receive a notification when the space starts to decrease.
The following graph shows an amazon rds postgresql instance s freestoragespace metric.
Finally monitor the freestoragespace metric by setting up an amazon cloudwatch alarm so that you receive a notification when your db instance is low on free space.
Some metrics apply to either aurora mysql aurora postgresql or both.
Create alarms in the cloudwatch console or use the aws command line interface aws cli to create alarms that monitor free storage space.
On the right hand section under rds metrics click per database metrics.