Skip to content

Is LINUX/ARM64 supported for ECS FARGATE tasks in GovCloud

0

There seems to be no documentation related to ECS FARGATE support for ARM64 in AWS GovCloud, and all references point to it being supported, yet I am unable to start tasks using ARM64.

While I am able to create Task Definitions that set the architecture to LINUX/ARM64, when i attempt to run those task definitions in an ECS service - the deployment simply fails to do anything.

If i use AWS CLI to attempt to run the task using the command below, we can see an error message.

aws ecs run-task --cluster my-cluster `
>>   --task-definition my-task-definition:1 `
>>   --launch-type FARGATE `
>>   --platform-version LATEST `
>>   --network-configuration "awsvpcConfiguration={subnets=[subnet-1234567890123456],securityGroups=[sg-1234567890123456],assignPublicIp=ENABLED}" `
>>   --region us-gov-east-1

I get the response:

An error occurred (PlatformTaskDefinitionIncompatibilityException) when calling the RunTask operation: One or more of the requested capabilities are not supported.

The images i'm publishing are multi-arch images, and i've already confirmed that the images actually stored in ECR do actually have the linux/arm64 platform in the manifest.

So that leads me into my question - is Linux/ARM64 supported for ECS FARGATE in AWS GovCloud (specifically us-gov-east-1)?

2 Answers
0

Based on the available information, while AWS Fargate does support ARM64 architecture for Amazon ECS workloads in standard AWS regions, there is no specific documentation confirming this support in AWS GovCloud regions.

The error message you're receiving ("PlatformTaskDefinitionIncompatibilityException: One or more of the requested capabilities are not supported") strongly suggests that ARM64 architecture is not currently supported for ECS Fargate in the GovCloud us-gov-east-1 region.

AWS Fargate pricing documentation explicitly states that ARM CPU Architecture is only available for Amazon ECS (not EKS), but it doesn't specifically address GovCloud availability. When deploying 64-bit ARM workloads on Fargate, there are regional limitations noted in the documentation, though GovCloud isn't specifically mentioned in these limitations.

For ECS Fargate tasks using ARM64, you need to:

  • Use Fargate platform version 1.4.0 or later
  • Use only Linux operating system (not Windows)
  • Ensure your container images support ARM64 architecture (which you've confirmed)

Given the error you're encountering despite meeting these requirements, it appears that ARM64 support for ECS Fargate is not yet available in the GovCloud us-gov-east-1 region. You may need to use x86_64 architecture for your Fargate tasks in GovCloud until ARM64 support is officially announced for that region.
Sources
Is it possible to run EKS Fargate on ARM? | AWS re:Post
Amazon ECS task definitions for 64-bit ARM workloads - Amazon Elastic Container Service
Amazon ECS task definition differences for Fargate - Amazon Elastic Container Service
AWS Fargate Cost - AWS

answered a year ago

  • To confirm a few things as well:

    • This is using paltform version LATEST (i.e. 1.4.0)
    • The images are linux based
    • The tasks successfully execute when the only change is reverting back to x86_64 - meaning that the failure is tightly-coupled to the ARM64 target specification

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.