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 réponse
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
EXPERT
répondu il y a 7 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions