73 points · by yaalok · 6y ago · 55 comments
I’m really more concerned about the absolutely miserably shitty performance of snapshots myself which always goes unmentioned and unmaintained. So I’ve got a 4TiB volume online attached to a node which is blasting out fragmented writes galore (Jenkins - ugh).
So we need to back up this volume for DR. Snapshots right? Well not when it takes 28 hours to snapshot that volume. So off to rdiff-backup it is. Back in the last infrastructure cult of virtualisation this was a 20 minute turnaround.
Good job it’s 5 nines now. That means we only risk a 3 day recovery window 2000x less often. Actually that hurt writing that.
I’m sure someone will now immediately sell me EKS to run Jenkins now which is ten fresh layers of eye gouging pain between idea to delivering software, something which I barely remember being able to do efficiently at this point.
I am paid hourly and I have literally, in the past week, billed ~14 hours to save ~$150,000 per month. We work for a client and we strive to make sure we're not spending more money in labor than we're saving in AWS costs. I don't know exactly the rate I'm billed at that the client sees, but I know for sure that on aggregate, aside from the actual productive work that I know adds value, I have justified every penny I've been paid in the last ~2 years through my cost savings work alone.
Maybe some folks overcharge or undersave, but I take exception to your comment that you're "sure is a net loss."
Edit: our monthly AWS spend is in the 7 figures. We go through cycles where our priorities change, but when we're in cost savings mode, we regularly discover cost savings measure that are a) implementable in double digit hours and b) save six figures per month.
Imagine if pricing was transparent, calculable and easy to rationalise the cost of a change. But it isn’t unless you pull a third party in.
However really the software industry is all about state and where to keep it because that’s where the trolls collect their gold coins.
So what can we do?
My comment was not about the pricing of io2 in particular, but about the pricing of EBS in general.
io1/io2 is about $12/month per 100 GB, and $60/m per 1000 IOPS.
So 200 GB and 10,000 iops would be $624
With the caveat that (io2) cannot support more than 500 IOPS per GB.
gp2 is $10/m per 100 GB, and you get 3 IOPS/GB (with potential to burst to 3000 IOPS for volumes under 1 TB).
GP2 IOPS max out at 16,000 per volume.
io1/io2 IOPS max out at 64,000
Basically, use io2 if you need more than 16,000 IOPS. or you need a large amount of IOPS for only a small amount of storage.
io2 also has a 0.001% annual failure rate, while the others have a .2% failure rate.
E.g., to get 10,000 IOPS with gp2, you would get a 3.33 TB volume, which would cost $333/m.
Local storage is far, far faster (up to millions of IOPS!)...but not as reliable, and does not have all the EBS features. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/storage-...
Unless you're specifically looking for high-IOPS or massive HDD volume, you should just default to "gp2" SSD volumes these days.
https://aws.amazon.com/ebs/previous-generation/
Also easy to see on the pricing calculator
True. When inspired by this discussion checking out what I pay for a moment I had this oh shit experience for a moment, I pay twice as much as the cheapest option. When trying to convert the first volume I noticed that the minimum size for that is 500 GB, that's 100 times my volume size, 50 times the prize, so I really don't need it.
However, as someone pointed out somewhere else in this discussion there might be a more suitable option on the low end called AWS lightsail.
“All other EBS volumes are designed to deliver 99.8% - 99.9% durability”
Summary - the new offering (called io2) jumps to five 9’s.
Great job AWS
5 9's to me sounds mostly like marketing. In the end you still have to have disaster recovery plans if the service fails and you also need to test your DR plans regularly. That extra 9 won't really save any money here.
In the ebs outage of 2011, volumes were unable to remirror after losing 1 mirror. That increased the probability of losing both mirrors, possibly reducing the durability below the designed rate. I.e. the designed rate assumes everything is working as designed.
This costs roughly $615 a month (double for multi az), way cheaper than io2 at that level.
It looks like 16000 provisioned iops in RDS is more like $2266 for 5334gb (double for multi az) a month. Varies by storage amount of course - 500gb storage is $1600 for single-az at 16k iops.
I’m not sure this change affects RDS storage pricing tho? The pricing calculator still calls Provisioned IOPs "IO1".
[1] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_...
I recently bumped iops to 12k on one of my RDS instances, and I had to cringe when I did it.
My understanding is that these services use EBS under the hood but I guess there is no way to check if the attached storage is using io1 or io2 for now?
I could not find any explanation of the differences between io1 and io2 that would justify the increase in IOPS per GiB and durability on the EC2 user guide [^2] or on Amazon Builders Library [^3], though.
Note that 64k is the maximum IOPS per volume, not per instance the volume is attached to. Therefore you can use software RAID configurations to increase your performance or fault tolerance further [^4]
Links:
[^1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volu...
[^2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-ug.p...
[^3]: https://aws.amazon.com/builders-library/
[^4]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/raid-con...