by SomeCallMeTim · 3y ago · 0 comments
Quick back of the envelope [1] shows that the EC2 pricing is still only about 60% of the Aurora price, and something less than half of the RDS/PostgreSQL price, even counting the intra-region transfer.
There may be some transfer patterns and database sizes that cause the Aurora implementation to end up less expensive, but I think under most use cases Aurora is _more_ expensive, and RDS _much more_ expensive.
Just because the intra-region transfer isn't itemized doesn't mean that you aren't paying for it. Heck, the fact that the mark-up is so _low_ is pretty impressive, to be honest.
[1] Assumptions: [db.]r6g.large, x3 for ec2 instances, 1 year reserved capacity with monthly payments, 100GB storage, 1TB of intra-region transfer/month.
That's why a lot of services don't call it out.
[0] https://aws.amazon.com/ec2/pricing/on-demand/#Data_Transfer_...
I am not sure what Corey has done to get to these numbers, but inter-AZ traffic within the same VPC is free.
Perhaps the problem is that the pricing page is very confusing [1].
Probably the confusing part is that VPC peering between one VPC and another that crosses an AZ is not free, but you do not need to do that to compete with RDS availability.
> The problem that I want to highlight today is that if I spin up MySQL myself on EC2 instances, I’ll have to pay 2¢ per GB that I replicate between AZs, whereas I will pay nothing if I use RDS.
This sentence specifically, is not true. If your EC2 instances are in the same VPC but different AZs the data transfer is still free.
There's a better blog post which explains what is and isn't free here [2].
[1] https://aws.amazon.com/ec2/pricing/on-demand/
[2] https://aws.amazon.com/blogs/architecture/overview-of-data-t...
From the link you provided:
> Data transferred between a Local Zone and an Availability Zone within the same AWS Region, “in” to and “out” from Amazon EC2 in the Local Zone Pricing Data transfer in $0.01 Data transfer out $0.01
Your assertion is not true. We run intra-VPC services across AZs and they are billed for network traffic. It's also shown as incurring cost in your second source.
I had made this same comment then deleted it in order to check for sure. You are right that the Amazon docs are horribly confusing. The pricing page is up there with the descriptions of security on S3.
https://www.cloudbolt.io/guide-to-aws-cost-optimization/aws-...
Granted it is a third party website.
I wonder if something has changed with their pricing.