aws / aws/containers-roadmap

[ECS] [Architecture Fallback]: For fargate, allow to specify prefered architecture, fallback to another

Open
#1,985 0 comments 1 reaction 0 assignees View on GitHub
Fargate 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

## The request

At the moment, when creating a new Service, I can specify the architecture I would like to use for Fargate via [RuntimePlatform.CpuArchitecture](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-taskdefinition-runtimeplatform.html).

It would be great to able to define a priority list (i.e. `ARM64` first, `X86_64` second), similar to how one defines Capacity providers with base and weights.

Yes, users will need to make sure to use image manifest list and support more than one architecture for a given image.

This is for ECS + Fargate

### Why?

It happens that ECS Fargate does not have the capacity for `ARM64` and therefore the service never gets deployed. When that occurs, it would be great to have the service fallback then to using `X86_64` Fargate nodes.

### Workaround
I can't, I have to change the TaskDefinition to remove that parameter.

Thank you for your consideration,

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or implementation entry points are identified in this roadmap request. Start by reviewing ECS RuntimePlatform.CpuArchitecture and Fargate capacity behavior; done would mean defining and implementing a priority list such as ARM64 followed by X86_64 with fallback when the preferred architecture lacks capacity.

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.