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 Answer
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
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions