AWS › AWS Fargate

What Fargate Spot is, and how does it provide significant cost savings for fault tolerant workloads?

Intermediate

Answer

Fargate Spot lets you run interruptible tasks using spare compute capacity at a significant discount compared to standard Fargate pricing, similar in concept to EC2 Spot Instances, making it well suited for fault tolerant workloads such as batch processing jobs or CI/CD build tasks that can tolerate being interrupted and restarted, since AWS may reclaim that capacity with a brief warning if it is needed elsewhere.
aws ecs create-capacity-provider --name FARGATE_SPOT --auto-scaling-group-provider '{}'
Real-world example A company running its nightly batch data processing jobs on Fargate Spot cuts its compute costs significantly, accepting the small risk of an occasional job needing to restart if its underlying Spot capacity is reclaimed.

Common follow-ups: How much advance warning does Fargate Spot provide before reclaiming capacity?;What types of workloads should avoid using Fargate Spot?