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?

vizz01
已提問 7 個月前檢視次數 312 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南