Skip to main content

ECS: Migrate Task Definitions from x86 to Arm

Difficulty: Medium

Description

These Fargate tasks run on x86. Arm (Graviton) costs about 20% less per vCPU and per GB. We estimate the saving from what each service actually ran last month, adjusted for your negotiated rate. Only Linux tasks are eligible, since Fargate has no Arm version for Windows. Tasks launched on EC2 are billed as EC2 instances, so their saving shows up in the EC2 modernize recommendation instead.


Selection Criteria

  • The task definition runs on Fargate with the x86_64 architecture.

  • The task definition runs Linux (Fargate has no Arm version for Windows).

  • Tasks from the definition ran in the last 35 days.


Expected Saving

ARM64 Fargate vCPU-Hours and GB-Hours are 20% cheaper than their x86_64 equivalents. Savings scale directly with the compute hours consumed by the service.


Operational Impact

  • Downtime: Deploying a new task definition revision with ARM64 triggers an ECS rolling update. No downtime for multi-task services; brief interruption for single-task services during the task replacement.

  • Recovery: The previous x86_64 task definition revision can be redeployed at any time with no data loss.

  • ⚠️ Warning — Image compatibility: Not all container images have an ARM64 variant. Verify that all images in the task definition support ARM64 (multi-arch manifest or explicit arm64 tag) before updating the task definition.

  • ⚠️ Warning — Native dependencies: Applications using x86-specific native binaries or compiled extensions may fail on ARM64. Full testing in a non-production environment is required before deploying to production.


References

Did this answer your question?