tree: 4d635499ca9e90d243b0ae5cd1f5ee05ec5f9922 [path history] [tgz]
  1. Dockerfile
  2. Makefile
  3. README.md
  4. containerd.service
  5. packer_image_aws_arm.json
  6. prepare_image.sh
  7. rundockerbuildlet.service
env/linux-arm/aws/README.md

AWS Linux ARM Builder

Machines

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.

Buildlet Container Image

Buildlet container images must be build on an arm/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-arm/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.