Don’t try this at home: Running Headless Chrome in an AWS Lambda

Serverless has become a much discussed topic recently, and for good reason! But many serverless offerings have strict limitations on package size, processing power, installed packages, and general freedom, which limits what you can do with them. But what about if you want to write a web scraper using Headless Chrome? Well, it’s probably a bad idea, but it’s possible! We’ll discuss how to compile binaries that work around Lambda restrictions, tools you can use to explore features of a serverless environment, and show various ways to take advantage of resource sharing between different invocations of the function.



Julia Duimovich

Julia is a backend developer who likes coffee and fuzzy logic. She is frequently frustrated by the overlap in search results between lambdas in Python and AWS Lambdas. She is Canadian and currently lives in Mexico City.