Hacker News new | ask | show | jobs
by anonyfox 1326 days ago
I recently tried to deploy a next JS app to aws lambda and gave up after a few days.

JS Framework that doesn’t support serverless (aside from the sponsoring company‘s walled garden) - won’t fly with me in charge for infra.

5 comments

You may like Sveltekit, it has adapters to be deployed lots of places! With the ability to write new adapters easily.

https://kit.svelte.dev/docs/adapters

https://github.com/yarbsemaj/sveltekit-adapter-lambda

Give Remix a spin. I've deployed it to Lambda, Cloudflare Workers, & a long running express server. It's great
Remix deploys to lambda wow
I've deployed with this before on AWS without too many issues https://github.com/serverless-nextjs/serverless-next.js
I use it with google cloud run and its smooth as hell
Next definitely supports serverless. If you deploy a Next app to Vercel it will get deployed to AWS Lambda.