Live data from Hacker News

Ask HN: Cheap back end for static website

news.ycombinator.com

11–20 of 30 posts

Re: Ask HN: Cheap back end for static website

#11

Without knowing what your tech stack is or what your familiar in, I'd consider Vercel and their serverless functions. They support Node.js, Go, Python and Ruby [1] and also have a very generous free tier in my opinion [2]. [1] https://vercel.com/docs/serverless-functions/supported-langu... [2] https://vercel.com/docs/platform/limits

that was surprisingly easy for the static site deployment with the Git integration, CDN, SSL, HTTPS out the box serverless functions require the $20/month plan? hmmmm but lambda will be free for me, although if I use a database it won't be edit: the usage limits document you posted says there are serverless functions available for hobby/free tier, but the dashboard says the serverless is only available for pro plan.…

I personally only used serverless functions in combination with Next.js (which is by Vercel) and there may be are other rules if you don’t use Next.

But reading the docs I’d just copy an example hello world function into my git repository, try to deploy it and check if it works without paying.

Regarding the lambda approach, I personally think lambda functions and especially with the api gateway get too complicated too fast in comparison with a solution like Vercel. I’d definitely recommend an infrastructure as code tool like Terraform if you choose this approach.

Re: Ask HN: Cheap back end for static website

#17
post #10

Literally any shared hosting service, of which there are bazillions. I pay $10 a month on A Small Orange to host a crappy Lektor blog that I publish by Git. What you're describing really needs very little infrastructure.

yeah, looks like Vercel is free for my use case

Re: Ask HN: Cheap back end for static website

#19

Earlier quoted context omitted.

that was surprisingly easy for the static site deployment with the Git integration, CDN, SSL, HTTPS out the box serverless functions require the $20/month plan? hmmmm but lambda will be free for me, although if I use a database it won't be edit: the usage limits document you posted says there are serverless functions available for hobby/free tier, but the dashboard says the serverless is only available for pro plan.…

I personally only used serverless functions in combination with Next.js (which is by Vercel) and there may be are other rules if you don’t use Next. But reading the docs I’d just copy an example hello world function into my git repository, try to deploy it and check if it works without paying. Regarding the lambda approach, I personally think lambda functions and especially with the api gateway get too complicated to…

yes, I figured it out. had to restructure my node js component into folders oddly, but that worked out fine
Post reply on HN