3 ms·
If you have a fixed workload (i.e. X servers always online) then take a look at reserved instances. The break even point is about 6 months for the light instanc
by sehrope 13y ago
If you have a fixed workload (i.e. X servers always online) then take a look at reserved instances. The break even point is about 6 months for the light instances and a bit more for the medium ones. I don't recommend the heavy ones as the cost structure is different (you pay regardless of whether tt's on so ... if you later change your instance types you still have to pay hourly for the full term of the reserve).
Even better is if you can plan your infrastructure on AWS around using spot instances. They can be really cheap (we're talking a 5x times cheaper then on-demand and 3-4x than reserved). If your instances are used in a stateless fashion with all persistent state saved externally (DB, S3, etc) then you can do some pretty cheap scaling with spot instances.
One setup I've played with is a core set of non-spot instances phalanxed by a number of spot instances (at a couple different price points) for stateless web traffic. As long as the spot price stays below your bid you have significantly more instances available (which should give your users better response times). When the spot price rises your spot instances die and things slow down, but your app would still be alive thanks to the non spot instances. Again it takes quite a bit more engineering to get a setup like this but this is the kind of thing you need to do to take advantage of elastic computing.
- swisspol 13y agoAt Everpix, we were already extensively using spot instances for the vast majority of our EC2 needs (which were pretty intense considering the type of computation and image science we were doing). That did save quite a bit of money when we did the switch and it was easier to do than we expected, so strongly recommended!
- latch 13y agoDid you guys look at bare metal at all? (either dedicated or colocated)? Spot gets you in the same ballpark of price on a "unit", which can be mentally deceiving since an AWS unit is pretty weak. In our experience with CPU or IO intensive workloads, Spots are still 2-5x slower than what you can get at decent dedicated provider..
- swisspol 13y agoNo, there was no time nor did we have the in-team experience. EC2 is one thing, which you can get down to pretty cheap if leveraging spot instances, but most of our infrastructure costs was on storage.
- rmc 13y agoThe break even point is about 6 months for the light instances and a bit more for the medium ones. Actually I ran the numbers for some of our (higher end ec2 instances). And some of them you break even in 6 weeks