AWS – Amazon ECS adds support for updating capacity provider configuration for ECS services
Amazon Elastic Container Services (Amazon ECS) now supports updating capacity providers for an existing ECS service. With this enhancement, customers can seamlessly update the underlying compute configuration for their ECS services, without incurring operational overhead or potential disruption from needing to recreate their services.
Amazon ECS enables customers to update their service configurations programmatically via the UpdateService API or AWS Management console. Previously, customers could choose the underlying compute configuration during service creation by specifying capacity providers for AWS Fargate or EC2 Auto Scaling groups, or the EC2 launch type for self-managed EC2 instances. Modifying the underlying compute configuration of a service, such as transitioning from EC2 to Fargate (or vice versa), required recreating or replacing the ECS service with a new version containing the updated configuration. This process could lead to potential service disruption and incurred additional operational overhead for spinning up a new service and managing safely switching traffic to it. Starting today, customers can seamlessly switch compute configuration of their ECS services by updating capacity providers, without any operational overhead or service disruption.
This capability is now available across all AWS Regions via the AWS Management Console, API, SDK, CLI, and CloudFormation. To learn more, visit the ECS Update Service documentation.
Read More for the details.