Monitor size for Amazon EBS volume

I was wondering if it is possible to automatically control the percentage of use on the EBS volume in aws (the one I want to control is instance bound). Perhaps this can be done using alarms in the cloud? For example, I need to get a warning if the volume utilization percentage reaches 95%. Any ideas?

+5
source share
3 answers

Amazon won't do it for you - from their point of view, the volume of EBS is just a bunch of blocks

In the past, I did this by writing a script (by running cronjob) that checked the amount of free space on the volume and sent it to cloudwatch (which was configured to trigger an alarm for a certain threshold).

Amazon script

+7

Now you can create an alarm in the cloud storage, find the EBS volume and create a metric using freeDiskSpace so that it sends notifications to SNS.

0
source

All Articles