Deploy CircleCI Arm Native Workflows on AWS EC2 Graviton
Introduction
Get Started with CircleCI on AWS Graviton
Create an AWS EC2 Arm64 Graviton Instance
Install CircleCI CLI
Create a resource class in CircleCI
Install CircleCI machine runner on AWS Graviton
Verify CircleCI Arm64 Self-Hosted runner
Next Steps
Deploy CircleCI Arm Native Workflows on AWS EC2 Graviton
Install CircleCI CLI on your instance
This guide walks you through how to install the CircleCI command line interface (CLI). With the CLI, you can work with CircleCI from your terminal to check configuration files, manage pipelines, and run self-hosted runners on your EC2 instance.
Install the required packages
Before installing the CircleCI CLI, ensure your system has the necessary tools for downloading and extracting files:
sudo apt update && sudo apt install -y curl tar gzip coreutils gpg git
Download and extract the CircleCI CLI
Next, download the CircleCI CLI binary for Linux arm64 and extract it:
curl -fLSs https://github.com/CircleCI-Public/circleci-cli/releases/download/v0.1.33494/circleci-cli_0.1.33494_linux_arm64.tar.gz | tar xz
sudo mv circleci-cli_0.1.33494_linux_arm64/circleci /usr/local/bin/
- The
curlcommand fetches the official CircleCI CLI archive from GitHub. - The
| tar xzcommand extracts the compressed binary in a single step. - After extraction, a new folder named
circleci-cli_0.1.33494_linux_arm64appears in your current directory.
Verify the installation
To ensure that the CLI is installed successfully, check its version:
circleci version
The first time this runs, an interactive shell might open. For now, press Ctrl+C to abort. You should now see an output similar to:
0.1.33494+7cc6570 (release)
If this version number appears, the CircleCI CLI installation on your AWS Graviton instance was successful!