AWS Free Tier Alert - amazon-web-services

So I'm receiving this alert at the end of every month for the past year.
And rightly so in my cost & Bills Dashboard there it is:
But each month I go in RDS Dashboard and it is empty, I checked every tab and didn't found anything.
Could that be a glitch ?
Thanks a lot

This is because AWS count this if how long your AWS instance is running other than other factors.
For RDS the maximum amount of time an instance can run is 750 hours which usually cover a complete month of 31 days.
Normally you use *30 = 720 (744 in the case of 31 days) hours so AWS wore you if your free tier is about to exceed.
if you calculate then it would be about the % showing by the console.

Related

abnormal AWS billing charges at every first day of the month

So I am using multiple resources in AWS. The charges make sense for most services. however, at every first day of the month, I am getting charged more than I should.
For example; charges for services such as, Aws active directory service, EC2, step function, the elastic search is normal throughout the day. as I can drill down daily charges for these services. but every first day of the month, AWS charging more than what it usually charges. For example; if the average charge for EC2 instances for the day is $5 then at every 1st date(let's say 1st January) of the month, the charges end up for EC2 instance somewhere around $15 and again on 2nd January charges would back normal to $5.
also, for the AWS Contact center telecommunication service, my usual charges for the day would be around $10. but again on the first day of the month, I am getting charged around $150. This is way more than what it charges on regular days.
I don't get this behavior. is it done on purpose or am I missing something?
Thanks.
This is Tax, which appears on the very first day of each month.

How many times a day will an AWS budget monitor the cost incurred by an account?

Once a budget is setup in AWS, how often will it monitor the cost incurred by the account?
Estimate cost updated every 6 hours.
Check Total Estimated Charge metric by following the Creating an Alarm tutorial. You will see data updated every 6 hours.
Here's a statement straight out of the AWS documentation:
"AWS Budgets information is updated up to three times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs."

AWS EC2 spot instance billing

I have created an EC2 spot instance, using automated bidding and an EC2 instance was created within a few minutes and I terminated the same after a few minutes.
How do I know how much I would be billed for the spot instance I ran? I browsed the 'Instances' and the 'Spot Requests' tab for the same, but could not get the same.
You want to use the Spot Instance Data Feed:
To help you understand the charges for your Spot Instances, Amazon EC2 provides a data feed that describes your Spot Instance usage and pricing. This data feed is sent to an Amazon S3 bucket that you specify when you subscribe to the data feed.
Data feed files arrive in your bucket typically once an hour, and each hour of usage is typically covered in a single data file. These files are compressed (gzip) before they are delivered to your bucket. Amazon EC2 can write multiple files for a given hour of usage where files are very large (for example, when file contents for the hour exceed 50 MB before compression).
By the way, with the new per-second billing for EC2 instances, Linux spot instances will also be billed per-second.
You always pay the current spot price. If you bid 0.20$ and the current spot price is 0.15$ then you pay 0.15$ for that one hour. As soon as the next hours starts, you pay, whathever the new spot price is at that moment your second hours starts.
You always pay the full hour even though you shut down your instance before the end of that one hour. The only exception from that, is when your spot instance gets terminated because the spot price exceed your bid price. Then the last hour is not charged. Example: If the spot price exceeds your bid 15 minutes after the second hour has begun, than you only have to pay the first hour. If the spot price exceeds your bid 59 minutes after the second hour has begun, than you still only pay the first hour.
Also refer to this page:
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html

Amazon EBS pricing: monthly? daily? hourly?

With Amazon Elastic Block Store, you only pay for what you use. Volume storage is charged by the amount you allocate until you release it, and is priced at a rate of $0.10 per allocated GB per month.
This is priced per month. Other things are priced per hour (and that means that if you use something for two minutes, you still pay an hour).
So what if I allocate 10 GB at 8 AM every day, and deallocate it at 10 PM, so that at no time I am using more than 10 GB. Will I be charged for 10 GB or for 30 times 10 GB?
What if I allocate 100 GB, but only for one day? Will that be the same cost as having the 100 GB for the whole month, or just 1/30th of that?
I have been reading the FAQ and other docs for a while, but could not figure it out.
What if I allocate 100 GB, but only for one day? Will that be the same cost as having the 100 GB for the whole month, or just 1/30th of that?
I've read the FAQ too but let me tell you that if Amazon charged me the $0.10 with a monthly rate I'd be broke by now. I spin up (and spin down) ebs-backed servers several times (30-40) a day and still receive a bill that is not much more than a few dollars.
My guess is that they charge you hourly and this question on serverfault seems to confirm that experience
EBS pricing page at https://aws.amazon.com/ebs/pricing/ makes this clear:
Volume storage for General Purpose SSD (gp2) volumes is charged by the amount you provision in GB per month, prorated to the hour, until you release the storage.
And same for other volume types. So basically the pricing is hourly, just that they put the number in months as it'd be too small to have a reasonable judgement if they put it per hour.
update.
AWS now does per second billing for EC2 and EBS and a few other things too
See this announcement for an overview
https://aws.amazon.com/blogs/aws/new-per-second-billing-for-ec2-instances-and-ebs-volumes/
According to this form page they charge by the day:
https://forums.aws.amazon.com/thread.jspa?messageID=250288
See this section:
Sorry, maybe my answer was not clear enough. Let me put it in another
way: No, you will not be charged for the full month. One day only in
that case. That's how "gigabyte months" works.

How long does metrics data in AWS cloudwatch maintained

Their API reference says the date start date should be less than 14 days from the current date. I would like to know whether the data older than this is deleted and not available
Metrics used to be kept for 2 weeks, but as #sfgeorge points out, AWS has increased storage times.
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html
When you use the mon-put-data command,
you must use a date range within the
past two weeks. There is currently no
function to delete data points. Amazon
CloudWatch automatically deletes data
points with a timestamp more than two
weeks old.
As of November 1st, 2016, the retention window for AWS metrics in CloudWatch has expanded from 14 days to 15 months.
Note that the data granularity will be reduced when you widen your range beyond the past 15 days:
One minute data points are available for 15 days.
Five minute data points are available for 63 days.
One hour data points are available for 455 days (15 months).
As found in https://aws.amazon.com/ec2/faqs/ :
Q: Will I lose the metrics data if I disable monitoring for an Amazon EC2 instance?
You can retrieve metrics data for any Amazon EC2 instance up to 2 weeks from the time you started to monitor it. After 2 weeks, metrics data for an Amazon EC2 instance will not be available if monitoring was disabled for that Amazon EC2 instance. If you want to archive metrics beyond 2 weeks you can do so by calling mon-get-stats command from the command line and storing the results in Amazon S3 or Amazon SimpleDB