How to use AWS Graviton processors on AWS Fargate with Copilot

Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

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.

Close
?
What happens when I run the `copilot init` command shown in the steps?
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.
When should I change Copilot to use the Arm architecture for Graviton?
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.
Can I deploy a prebuilt container image instead of building from the Dockerfile?
Yes. Use the --image option instead of --dockerfile, and ensure the image is multi-architecture and includes an Arm variant for Graviton.
What should I check if deployment fails at the start?
Verify that Docker and the AWS Copilot CLI are installed and available on your system. This guide applies to both Linux and macOS users.
Where does Copilot push the container image during deployment?
Copilot pushes the image to Amazon Elastic Container Registry (ECR). You will see the image upload occur before the service is provisioned on Fargate.

Share

Tell others about this Learning Path.

Return to Servers and Cloud Computing