Ask HN: Best “run my code” cloud service?

2 points by RocketSyntax ↗ HN
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?

6 comments

[ 3.1 ms ] story [ 24.9 ms ] thread
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
I was just going to store the results in S3 or some key:value until the end user could fetch them. And delete them on a retention policy.
for such simple use case GCP Cloud Run is just fine
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.