3 ms·
(Not the OP, but running a fairly similar setup, albeit for EKS nodes rather than ECS nodes :) ) Fargate Spot is about a third of the price of Fargate (at leas
by pluies 6y ago
(Not the OP, but running a fairly similar setup, albeit for EKS nodes rather than ECS nodes :) )
Fargate Spot is about a third of the price of Fargate (at least in eu-west-1 now according to: https://aws.amazon.com/fargate/pricing/ https://aws.amazon.com/fargate/pricing/ ); so the savings are roughly identical.
Re risk of running out, our current strategy is to use different-but-closely-similar instance groups; so for example we have an autoscaling group running a mix of:
- m5.large
- m5dn.large
- m5n.large
- m5ad.large
- m5d.large
Which are the same price on Spot instances, but I'd wager it'd be pretty rare to have all these families reclaimed at once.
(We also use some on-demand only ASGs with lower priority in the cluster-autoscaler to ensure that if it _does_ happen, then we'll have a fallback)