tree: 22e9578bd77c348c72b1a4cdcf750a340d5198b8 [path history] [tgz]
  1. Dockerfile
  2. Makefile
  3. packer_image_aws_arm64.json
  6. rundockerbuildlet.service

AWS Linux ARM64 Builders


The AWS builders use the m6 instance types which are arm64 based machines of varying specifications. The base type used will be m6g.xlarge 4 vCPUs, 16384 MiB.

Machine Image

Machine images are stored on AWS EBS service as a snapshot. New VMs can use the snapshot as an image by providing the AMI ID as the base image when a new VM is created. The machine image will be configured to install and initialize rundockerbuildlet.

Creating a New Image


Two environmental variables are required to be set before initiating the command: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY should be set with the appropriate values.

The packer binary should be in PATH.


make create-aws-image


AWS_ACCESS_KEY_ID=<id> AWS_SECRET_ACCESS_KEY=<secret> make create-aws-image

Buildlet Container Image

Buildlet container images must be build on an arm64 instance with the proper credentials. The instructions are as follows:

  • In your normal gcloud dev environment, retrieve a short-lived access token:

you@dev:~$ gcloud auth print-access-token

  • On an arm64 instance, clone the build repository.

  • cd into the env/linux-arm64/aws directory.

  • Execute: make prod-push

  • When prompted for your password, paste in the access token from the first step.

  • Ensure /root/.docker/config.json has been deleted.