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 Antwort
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
EXPERTE
beantwortet vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen