This is heavily based on the official our AWS Batch AMI repo.
- Ensure you are logged into AWS (or have credentials setup so the CLI can use them)
- Ensure you have packer installed (see
.tool-versions
in the repo for the version to use) - build with
REGION=us-east-2 make build
(be sure to change theREGION
setting as needed for your use case)