Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Support ARM64 FARGATE_SPOT #5934

Open
interu opened this issue Sep 9, 2024 · 4 comments
Open

[Feature Request]: Support ARM64 FARGATE_SPOT #5934

interu opened this issue Sep 9, 2024 · 4 comments
Labels
type/documentation Issues for improvements or additions to documentation.

Comments

@interu
Copy link
Contributor

interu commented Sep 9, 2024

Describe your idea/feature/enhancement

Amazon ECS now supports AWS Graviton-based Spot compute with AWS Fargate
https://aws.amazon.com/jp/about-aws/whats-new/2024/09/amazon-ecs-graviton-based-spot-compute-fargate/

I would like to see official support for this.
I searched the source code but could not find any code that restricts it to x86 only.
If you already support it, please rewrite the docs.

Proposal

Additional Details

@interu interu added type/enhancement Issues that are improvements for existing features. type/feature Issues that are new feature requests. type/request Issues that are created by customers. labels Sep 9, 2024
@KollaAdithya
Copy link
Contributor

Hello @interu !

To get started, just configure your task definition just like you do today with cpu-architecture = ARM64 and choose FARGATE_SPOT as the capacity provider to run your Amazon ECS service or a standalone task. Amazon ECS will leverage spare AWS Graviton-based compute capacity available in the AWS cloud for running your service or task.

As mentioned from the blogpost you should be able to configure these two fields in the manifest to have ARM64/ FARGATE_SPOT.

  1. platform as linux/arm64 which is ARM64 based cpu arvhitecture.
    2.count.spot to use FARGATE_SPOT as capacity provider.

Action item: update the docs to remove this below info section

Fargate Spot is not supported for containers running on ARM architecture.

@KollaAdithya KollaAdithya added type/documentation Issues for improvements or additions to documentation. and removed type/enhancement Issues that are improvements for existing features. type/feature Issues that are new feature requests. type/request Issues that are created by customers. labels Sep 13, 2024
@interu
Copy link
Contributor Author

interu commented Sep 18, 2024

Hello @KollaAdithya
I actually tried it. However, an error occurred in the following validation.
https://github.com/aws/copilot-cli/blob/mainline/internal/pkg/manifest/validate.go#L2397-L2402

@iamhopaul123
Copy link
Contributor

Hello @interu thank you for diving deep into the codebase. Sounds like we should remove the validation since it's supported now.

mergify bot pushed a commit that referenced this issue Sep 30, 2024
Address #5934 and #5941


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License.
@interu
Copy link
Contributor Author

interu commented Oct 2, 2024

When will it be release?
I am eagerly awaiting its release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/documentation Issues for improvements or additions to documentation.
Projects
None yet
Development

No branches or pull requests

3 participants