I am writing a scraping app which is running on Lambda. I want to combine Scrapy with Splash, but I am not sure that can Splash run on lambda.
Asked
Active
Viewed 974 times
0
2 Answers
1
It depends on how you are trying to install Splash
.
- If you want to run it using
docker
image, then take a look at Elastic container service. Lambda is not ideal for running containerized app. - If you are going to run it by manual way, like mentioned here you can do so. But as per the doc, its not recommended. As
AWS Lambda
supportsPython
, this should not be problem, as long as it doesn't require any other dependency. Also consider the starting time for yourSplash
server. Lambda allocates instances on the fly, So it might take time to start your application (AWS lambda
cold start).

Sangam Belose
- 4,262
- 8
- 26
- 48
-
1I think this answer is outdated, AWS Lambda now supports Docker images: https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/, https://docs.aws.amazon.com/lambda/latest/dg/images-create.html Not sure what "not ideal" refers to exactly, and if that concern is still applicable. – Carsten Jul 22 '22 at 08:21