golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/linux-arm/aws/README.md (about)

     1  # AWS Linux ARM Builder
     2  
     3  ## Machines
     4  
     5  The AWS builders use the m6 instance types which are arm64 based machines of varying specifications.
     6  The base type used will be m6g.xlarge 4 vCPUs, 16384 MiB.
     7  
     8  ## Machine Image
     9  
    10  Machine images are stored on AWS EBS service as a snapshot. New VMs can use the snapshot as an image
    11  by providing the AMI ID as the base image when a new VM is created. The machine image will be configured
    12  to install and initialize rundockerbuildlet.
    13  
    14  ## Buildlet Container Image
    15  
    16  Buildlet container images must be build on an arm/arm64 instance with the proper credentials. The instructions
    17  are as follows:
    18  
    19  *  In your normal gcloud dev environment, retrieve a short-lived access token:
    20  
    21    `you@dev:~$ gcloud auth print-access-token`
    22  
    23  *  On an arm64 instance, clone the build repository.
    24  
    25  *  cd into the `env/linux-arm/aws` directory.
    26  
    27  *  Execute: `make prod-push`
    28  
    29  *  When prompted for your password, paste in the access token from the first step.
    30  
    31  *  Ensure `/root/.docker/config.json` has been deleted.