Skip to content

Followed "Run Chrome extensions with Python Selenium on AWS Lambda" and it works Locally but not once Deployed to AWS #103

Answered by rehanhaider
JeffreyKozik asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Jeff. At the time of writing this article it did work, but it is extremely unstable and I'm not surprised you're facing crashes. The problem is usually either correctly placing chrome/chromedriver with relevant permissions or Lambda's own runtime compilation and configuration which is made worse by unstable Selenium-Python bindings.

Bottom line is, the docker file & script will work well on ECS but will be unstable on Lambda and is not fit for production.

Since then I'm exploring using Puppeteer which has more stable APIs and has a better chance of working on pure Lambda.

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@JeffreyKozik
Comment options

@rehanhaider
Comment options

@JeffreyKozik
Comment options

@vinitshetty
Comment options

@rehanhaider
Comment options

Answer selected by JeffreyKozik
Comment options

You must be logged in to vote
1 reply
@rehanhaider
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants