Troubleshooting Amazon ECS SpotInterruption errors
The SpotInterruption
error has different reasons for the Fargate and EC2 launch types.
To check your stopped tasks for an error message using the Amazon Web Services Management Console, see Viewing Amazon ECS stopped task errors.
The SpotInterruption
error occurs when there is no Fargate Spot capacity or when Fargate
takes back Spot capacity.
You can have your tasks run in multiple Availability Zones to allow for more capacity.
This error occurs when there are no available Spot Instances or EC2 takes back Spot Instance capacity.
You can have your instances run in multiple Availability Zones to allow for more capacity.