Piotr Leniartek
Piotr Leniartek

Reputation: 1187

Amazon EC2 Free Tier - how to check how many free resources I used?

Amazon offers 750 hours of EC2 linux and windows instances per month in "free tier". Is there any way to see my "free tier" summary?

For example: "you used 153 out of 750 hours" ?

Upvotes: 3

Views: 2930

Answers (3)

BMW
BMW

Reputation: 45333

Some work arounds.

Way #1

you need enable programmatic access to aws billing data and save the billing data to nominated S3 bucket. Billing file format is csv. The document is here:

http://aws.amazon.com/blogs/aws/new-programmatic-access-to-aws-billing-data/

then run s3 sdk or awscli command to download these billing csv file to your local disk. You can program another code to read these csv files to get the information and generate report for your own request.

Way #2

using gem amazon-pricing to get the billing

Upvotes: 0

Rakesh Sankar
Rakesh Sankar

Reputation: 9415

Not exactly, but you could create an alert when you exceed the free tier like I created an alert when the total AWS charges exceeds the minimum amount say 0.01$, that should be good.

Please follow the instruction on this link to create an alert.

Upvotes: 0

E.J. Brennan
E.J. Brennan

Reputation: 46879

Yes, login to the aws.amazon.com console.

In the top right click on your name -> Billing & Cost Management -> Bill Details and you should see a very detailed list of what you have used so far in the current month.

Upvotes: 2

Related Questions