Remix.run Logo
▲ harshaw 5 hours ago

The Cross-AZ charges are a strong moat at AWS. When I was on EFS we naturally had lot's of cross AZ charges because we were replicating erasure-encoded data across 3 AZs. So you would think that because we were in AWS we'd get a better deal on cross AZ charges? Nope. We had internal pricing but AWS networking refused to budge. We could have bought our own fiber and routers for the cost they were charging us for cross-AZ traffic. We ended up doing some tricks to reduce our cross AZ spend. but it was a big part of our cost reduction strategy. We also launched a 1 zone EFS. But yeah - the markup on networking never made any sense except that "this is where the scrooge mcduck bags of money are located".

▲toast0 4 hours ago | parent [-]

My personal theory is the clouds charge bandwidth at absurd prices because it's easy to meter and it roughly correlates with all the input costs they can't easily meter.

At the end of the day, they have a margin they're targeting, and it's just easier to hang most of that on bandwidth.

▲danpalmer an hour ago | parent | next [-]

This is likely a big part of it. Another is probably flexibility. You pay for the bandwidth you use, but that cost must fund all the bandwidth not being used that needs to exist because you expect to be able to use it if you need it.

People move to the cloud because it means no longer thinking about ordering machines, setting up routers, replacing hard drives... but they forget that the cloud provider is doing all of that and also doesn't know what their users are going to do! They can do forecasting of course, but they don't know when a customer is about to do a big transfer between two regions, or order 1000 new VMs. If in the same company you could push back, but when they're a paying customer you can't in the same way.

▲cduzz 4 hours ago | parent | prev [-]

I've always advocated that it makes sense (for lots of things) to treat an AZ as a self contained service by itself, and to run, for instance, 3 of those services across 3 AZs; things inside an AZ talk to the local service.

The presumption was that for lots of things, you're kinda okay with some stuff within an AZ being eventually consistent on the assumption that the AZ will eventually come back online and what happened within it will still be there.

So for instance -- run 3 2 node kafka clusters instead of one 6 node kafka cluster.

This isn't a good idea for lots of things, but it does help to constrain some cross-AZ traffic that may not actually be all that useful.

▲hamburglar 2 hours ago | parent [-]

Yes, when you’re building the cloud itself you follow this same pattern. AZ independence by default. Cross-AZ is an exception you must have a good reason for. Cross-region is a very rare exception and unless you are specifically building a feature whose point is going cross-region, you’ve messed up.