Deploy a container on AWS Graviton with ECS Managed Instances
Introduction
Set up IAM roles and an Arm-compatible task definition
Create a capacity provider for Graviton-based instances
Run a container as an Amazon ECS task on AWS Graviton
Clean up AWS resources
Next Steps
Deploy a container on AWS Graviton with ECS Managed Instances
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You need to set
runtimePlatform.cpuArchitecture to ARM64 in your task definition so that your task uses an Arm-compatible runtime. You need a CPU manufacturer filter so that Amazon ECS selects AWS Graviton-based instance types.Set
cpuManufacturers to amazon-web-services in the capacity provider’s instance requirements. This value corresponds to the Amazon option in the console.Check the backing container instance’s type in the Amazon ECS console or with the AWS CLI. Confirm that its family name contains
g, such as m6g or c6g, which indicates that it’s based on an AWS Graviton processor.To test placement, run a standalone task. A service is better suited for when you need Amazon ECS to maintain a desired task count, replace failed tasks, or integrate with a load balancer.
For test purposes, the task uses the
host network mode, so it uses the instance’s public IP address. If that instance has no public IP address, confirm that its subnet automatically assigns public IPv4 addresses.