Metrics for storage?

0

Hello!

Just started looking into switching over to Lightsail for some of my sites. From what I can see you can monitor certain resources, but not the storage, is this correct? I've had issues in the past with WordPress installs on EC2 instances behaving weird when storage is full. Would be nice to be able to get a heads up about this via an alarm per sms/email or what not. Is it possible or something that will be incorporated in the future?

Thanks,
Per

asked 4 years ago221 views
2 Answers
0

The metrics that are currently available can be monitored outside of the instance (CPU, network, etc) because the hypervisor has access to the information (it controls the resources).

Disk space is determined entirely by the operating system. The only thing that the AWS framework really knows about your disk space is how much of it is allocated & attached to each instance.

Assuming you are using some flavor of Linux, your best bet to monitor disk space is to create a script that periodically checks disk usage and emails you if it goes over a threshold.

Check out https://www.cyberciti.biz/tips/shell-script-to-watch-the-disk-space.html

profile picture
David G
answered 4 years ago
0

Hi,

You are correct, we currently do not offer instance storage metrics for monitoring. I will bring this up with the team to see if we can add this to our road map. Here is a list of the metrics that are available for monitoring:

https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-resource-health-metrics

Leslie

AWS
MODERATOR
answered 4 years 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