1
votes

I am using an ec2 linux instance on aws, I am trying to stay inside the Free Usage Tier, but today I have noticed a charge for DataTransfer cost in Billing Management.

I don't know what the limits for DataTransfer are but I'm using aws for the host of a telegram bot

I would like to stay within the limits of the Free Usage Tier, is there a way to receive notifications just before exceeding the limit for data transfers or simply setting a limit not to be exceeded?

enter image description here

1

1 Answers

1
votes

You can set up billing alerts, at any dollar amount you want, but keep in mind that if your service is getting slammed with requests, your account will still keep accumulating charges even after the alert is sent out - so depending on how long it takes you to respond to the alert (and turn off services for example), and how fast services are being consumed, you may still end up with an unexpected bill.

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/monitor_estimated_charges_with_cloudwatch.html