Monitor the data transfer bytes in lightsail

0

I'm using Lightsail instances and I want to avoid getting data transfer costs by turning off the instances before the free data transfer quota is used up. So I want to create a Cloudwatch alarm on the total bytes transferred in a given region. I have created billing alerts but it is usually too late by the time I find out that the data transfer in a region has passed the threshold and even if I turn off the instance the same day, I get charged for tens of dollars. Is there a metric I can use for this?

1 回答
0

Hello.

Lightsail instances record metrics called "NetworkIn" and "NetworkOut."
However, since this metric is not a metric that adds up numbers, you may need to be creative in setting the threshold.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-resource-health-metrics

profile picture
专家
已回答 7 个月前

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

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

回答问题的准则