For a job, I run puppeteer in the headful mode in AWS Batch. I found a docker file that uses the image node:16.5-slim, then downloads Chrome, and then uses Xvfb.
If I run it on an EC2 instance with GPU, Chrome still uses the integrated video card (llvmpipe) not taking advantage of the powerful Nvidia GPU.
I wonder if there is a docker image I could use as a starting point where the Nvidia GPU is already set up and Chrome could take advantage of it with only a few extra configurations. Thanks!