Deploy a container on AWS Graviton processors with Amazon 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 processors with Amazon ECS Managed Instances
Who is this for?
This is an introductory topic for developers who want to deploy containers on AWS Graviton processors with Amazon Elastic Container Service (ECS) using Amazon ECS Managed Instances.
What will you learn?
Upon completion of this Learning Path, you will be able to:
- Create an Amazon ECS cluster for ECS Managed Instances.
- Create a capacity provider that selects Arm-based instances powered by AWS Graviton.
- Create and run an Arm-compatible Amazon ECS task, and verify that it runs on AWS Graviton-based compute.
Prerequisites
Before starting, you will need the following:
- An AWS account with permissions to create AWS IAM roles and access Amazon ECS
- A VPC with public subnets and a security group that allows inbound traffic on port 80
- The AWS CLI installed on your development machine
Summary
This summary was 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.
ARM64 architecture. You’ll then create a cluster and capacity provider that filters for Amazon CPUs, run a standalone task, and verify the selected instance type. Finally, you’ll clean up the AWS resources that you created.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.
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.cpuManufacturers to amazon-web-services in the capacity provider’s instance requirements. This value corresponds to the Amazon option in the console.g, such as m6g or c6g, which indicates that it’s based on an AWS Graviton processor.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.