How to use AWS Graviton processors on AWS Fargate with Copilot
Introduction
Containerize an example application
Deploy with Copilot
Next Steps
How to use AWS Graviton processors on AWS Fargate with Copilot
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.
By default, Copilot builds the container for
amd64 on your local machine, pushes it to Amazon ECR, and creates what is needed to run the application on AWS Fargate. The command initializes a Load Balanced Web Service and deploys it.Change the architecture setting before you build and deploy. Copilot defaults to
amd64, and the steps explain how to set it to Arm so the service runs on Graviton.Yes. Use the
--image option instead of --dockerfile, and ensure the image is multi-architecture and includes an Arm variant for Graviton.Verify that Docker and the AWS Copilot CLI are installed and available on your system. This guide applies to both Linux and macOS users.
Copilot pushes the image to Amazon Elastic Container Registry (ECR). You will see the image upload occur before the service is provisioned on Fargate.