aws / aws/containers-roadmap

[ECS]: Support distinctInstance placement constraint with blue/green deployment

Open
#1,201 0 comments 10 reactions 0 assignees View on GitHub
Deployments ECS Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
Currently there is no way to configure service deployed using blue/green CodeDeploy to keep single task per instance, which might be needed because performance of multiple tasks per instance is worse than of a single task.

**Which service(s) is this request for?**
ECS

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
Trying to do a blue/green deployment for a service configured with distinctInstance constraint the scheduler reports

> service X was unable to place a task because no container instance met all of its requirements. The closest matching container-instance C encountered error "DistinctInstance placement constraint unsatisfied."

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or implementation entry points are identified in the request. Start by investigating how ECS blue/green CodeDeploy services apply the distinctInstance placement constraint, and define done as successful blue/green deployment while maintaining one task per container instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.