There’s not much AWS can do about it because they must make untold billions from those sweet, sweet S3 egress fees.
I’d be willing to bet S3 egress fees make up about 60% of all AWS revenue.
There’s not much AWS can do about it because they must make untold billions from those sweet, sweet S3 egress fees.
I’d be willing to bet S3 egress fees make up about 60% of all AWS revenue.
Like when you set up an RDS instance, the “prod” template defaults to multi-AZ (a good idea tbf), but completely elides the fact that if your app is in a different AZ, you’re going to start racking up $0.02/GB.
Same with NLBs and cross-AZ routing. Sure, it can be helpful, but yeesh.
Or EKS, since Topology Aware Routing is in no way a default.
Eg. For cloudflare workers. If you're worker is making an outgoing request ( db / rest) it's not considered cpu-time and it's not counted towards that either ( in cloudflare ofc).
While this is a hidden profit of many cloud providers :)
Wait time isn’t calculated as compute?
https://community.cloudflare.com/t/how-is-cpu-time-per-reque...
Cloudflare is only billing that actual cpu-time.
Edit: this is a better resource https://blog.cloudflare.com/workers-pricing-scale-to-zero/
An API call can take a lot of seconds. While Cloudflare only bills cpu-time ( eg. 10 ms. ). Other providers bill those seconds too as "duration", while the CPU was just sitting idle.
I thought that this was possible because Cloudflare eliminated cold start delays.
So there's no RAM reserved either, I guess.
( can someone correct me if I'm wrong?)
Then, one month, I got a ~$500 bill out of no where.
Docker had changed an api causing my service to return 5xx errors all month. Each error was individually logged to CloudWatch - which racked up a ~$500 bill.
I moved to Cloudflare Workers that day and haven’t moved back.
The Cloud really loves logging ( bills :p ).
It would be nice if Cloudflare implemented "Open telemetry".
It could reduce the cloud bill by at least 2. Logging is really expensive.
A good number of people end up using cloud watch for all of the above, even though it’s (comparatively) mid.
If you want to lock ec2 access to cloudfront only you can do it in SG with "managed prefix list for CloudFront".
I’m in a seemingly small subset of people that is very happy with AWS for side projects. Granted I’m not doing anything that requires many resources.