- Newest
- Most votes
- Most comments
Based on the information available, AWS does not provide an explicit guarantee of immediate Fargate on-demand capacity availability in all circumstances.
While Fargate on-demand is designed to provide capacity when needed without requiring you to manage servers, there can be situations where capacity might be temporarily unavailable in a specific Availability Zone. This is different from Fargate Spot, which explicitly comes with the understanding that capacity might not be available at all times.
The error message you encountered suggests that even with Fargate on-demand, there can be temporary capacity constraints in specific Availability Zones. To improve reliability and availability of your workloads, consider these best practices:
-
Deploy your services across multiple Availability Zones to increase resilience against capacity constraints in any single zone.
-
For critical workloads that require high availability, consider using a combination of Fargate on-demand across multiple Availability Zones.
-
For less critical workloads, you might consider using a mix of Fargate on-demand and Fargate Spot to optimize costs while maintaining service availability.
Unlike Fargate Spot, which is explicitly subject to interruption with a two-minute warning during periods of high demand, Fargate on-demand is designed to be more reliable but does not come with an absolute guarantee of immediate capacity availability in every circumstance.
AWS Fargate is still a serverless compute engine that shifts infrastructure management to AWS, allowing you to focus on your applications rather than server management, but like any cloud service, it operates within the constraints of available physical resources in each region and zone.
Sources
Amazon Amazon ECS launch types and capacity providers - Amazon Elastic Container Service
Serverless Compute Engine – AWS Fargate Features – Amazon Web Services
Using Amazon EC2 Spot and FARGATE_SPOT - Amazon Elastic Container Service
Cluster capacity - Amazon Elastic Container Service
answered 9 months ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
