Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

Files

Latest commit

Jul 17, 2021
3a39d78 · Jul 17, 2021

History

History
This branch is 5 commits ahead of, 2 commits behind alixaxel/chrome-aws-lambda:master.

ansible

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 7, 2021
May 9, 2020
Aug 2, 2020
May 7, 2021
Jul 17, 2021

Chromium Playbook

This Ansible playbook will launch an EC2 c5.12xlarge 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.12xlarge instance.

Chromium Version

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 main will be used.

Usage

AWS_REGION=us-east-1 \
AWS_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXX \
AWS_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
make chromium

Requirements

  • Ansible
  • AWS SDK for Python (boto and boto3)