Urgent.News

What's breaking now, across thousands of outlets.

Tech

How Amazon ECS handles blue/green, canary, and linear deployments

Deploying containers safely at scale can mean assembling your own system: traffic-splitting logic, alarm evaluation, rollback automation, approval gates. It’s The post How Amazon ECS handles blue/green, canary, and linear deployments appeared first on The New Stack .

How Amazon ECS handles blue/green, canary, and linear deployments

Amazon Elastic Container Service (ECS) provides a range of deployment strategies, including blue/green, canary, and linear deployments, without requiring users to build their own systems for traffic-splitting logic, alarm evaluation, rollback automation, or approval gates. These capabilities are built directly into the ECS platform, making it easier to deploy containers at scale.

ECS handles these deployment strategies through its service deployment configuration. Rolling updates are part of Kubernetes Deployments, while blue/green and canary deployments require a separate controller installed and maintained by the user. However, ECS integrates all these features into a single API endpoint, allowing users to choose the desired features through the service deployment configuration and update it as needed.

In a blue/green deployment, the old version of the application runs alongside the new version for a configurable bake period, during which all production traffic routes to the new version. If an issue arises, rollback is a simple traffic shift, rather than a complete redeploy. This approach minimizes the duration of impact from a bad release, as only a small percentage of traffic is affected during the bake period.

Canary deployments are similar to blue/green deployments, but a smaller percentage of traffic is routed to the new version. This allows for gradual testing and monitoring of the new version before fully rolling it out. Linear deployments, on the other hand, gradually increase the traffic to the new version in a stepwise manner, allowing for easier rollback if issues arise.

ECS also provides the ability to configure custom checks and approval gates through webhooks or custom analysis steps, adding an extra layer of control and flexibility to the deployment process. Ultimately, ECS simplifies container deployments by consolidating various functionalities into a single API, making it easier for users to manage their deployments without the need to build and maintain additional infrastructure.

Written by urgent.news from The New Stack's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at thenewstack.io →

More in Tech

More from Thursday 19 November →