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

已提问 4 年前231 查看次数
2 回答
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
已回答 4 年前
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
审核人员
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则