This Ansible playbook will launch an EC2 c5.9xlarge
Spot Instance and compile Chromium statically.
Once the compilation finishes, the binary will be compressed with Brotli and downloaded.
The whole process usually takes around 1 hour to on a c5.9xlarge
and nearly 2 hours on a c5.4xlarge
.
To compile a specific version of Chromium, update the puppeteer_version
variable in the Ansible inventory, i.e.:
puppeteer_version=v1.9.0
If not specified, the current master
will be used.
AWS_REGION=us-east-1 \
AWS_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX \
AWS_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
make chromium
- Ansible
- AWS SDK for Python (
boto
andboto3
)