How to install Poppler to be used on AWS Lambda
Hi @Alex Albracht thanks for compiled easy instructions! They helped a lot. But I really struggled with getting the lambda function find the poppler path. So, I'll try to add that up with an effort to make it clear.
The binary files should go in a zip folder having structure as:
poppler.zip -> bin/poppler
where poppler folder contains the binary files. This zip folder can be then uploaded as a layer in AWS lambda.
For pdf2image to work, it needs poppler path. This should be included in the lambda function in the format - "/opt/bin/poppler".
For example,
poppler_path = "/opt/bin/poppler"
pages = convert_from_path(PDF_file, 500, poppler_path=poppler_path)
I have to run pdf2image on my Python Lambda Function in AWS, but it requires poppler and poppler-utils to be installed on the machine. 
I have tried to search in many different places how to do that but could not find anything or anyone that have done that using lambda functions.
Would any of you know how to generate poppler binaries, put it on my Lambda package and tell Lambda to use that?
Thank you all.