HACKER Q&A
📣 RocketSyntax

Best “run my code” cloud service?


What's the best service for running arbitrary Python code on small data on demand? Not talking about a server that stays up.

AWS Batch? Google Cloud Run?


  👤 russianator Accepted Answer ✓
I've been using https://vercel.com/ for a while now.

It has built in gitops and a very simple deployment model. Works really well with custom domains and cost-wise it is great as it doesn't break the bank for my side projects.

It includes CDN capabilities with CloudFront-like honouring of cache headers, etc as well, so I haven't found anything lacking even though it isn't as feature packed as something like AWS Lambda.

For things like queues, databases and memory stores I used other managed services.


👤 gauravphoenix
will the python code need data storage/querying? if it is simple stateless code, Google Cloud Run should fit the bill. If you need an "ecosystem" of services like caching, data storage, querying, queuing etc using AWS Lambda with HTTP Gateway