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 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.
Two environmental variables are required to be set before initiating the command:
AWS_SECRET_ACCESS_KEY should be set with the appropriate values.
The packer binary should be in
AWS_ACCESS_KEY_ID=<id> AWS_SECRET_ACCESS_KEY=<secret> make create-aws-image
Buildlet container images must be build on an arm64 instance with the proper credentials. The instructions are as follows:
you@dev:~$ gcloud auth print-access-token
On an arm64 instance, clone the build repository.
cd into the
When prompted for your password, paste in the access token from the first step.
/root/.docker/config.json has been deleted.