AWS Free Tier
AWS has a very famous free tier, broken down into three categories:
- Free Trials
- 12 Months Free
- Always Free
Free Trials
These services are free for a certain period of time after you first use them.
So towards the middle of the course, we'll enable secrets manager, which will be free for the first 30 days we use it. After that, we will have to pay the normal rate for secrets.
From the AWS docs:
Always Free
This usually means that the first amount of usage or storage within our account is free, no matter what.
So if we have up to 25GB of storage in DynamoDB, or 1 million lambda requests per month, we're not going to have to pay for those. And if we exeed that, then we pay the standard pay-as-you-go rates.
For lambda, that would be $0.20 per 1M requests after the first 1M.
12 Months Free
This is only available to new AWS customers, and is available for 12 months after you sign up.
After 12 month or if you exceed the free tiers, you pay the standard pay-as-you-go service rates.
EC2 Compute Time
For example, we get 750 hours of EC2 compute time for free each month, for the first 12 months.
Since there's just under 750 hours in any month, this means that we could leave an EC2 isntance running 24/7 for a year and it would cost us $0.
But the time is per month, so we could have two instance running for half a month, then terminate them for the last half of the month. Then the next month we could have 4 instance running for a week, then terminate them, and we still wouldn't have to pay for EC2 compute time.
And this is the same for RDS and other services
Don't Pay Too Much
Most of my students tell me they end up paying between $5 and $10 on AWS infrastructure in order to complete this course. I've also had a few students with a $300 bill at the end of the month.
All you have to do to avoid a large bill, is terminate your infrastructure when you're not using it.
After each deployment, I will explicitly tell you what you should terminate, stop, or leave running. If you follow these instructions, you won't end up with a surprise bill at the end.