What does HackerNews think of serverless-next.js?

⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components

Language: TypeScript

#10 in Serverless
I've deployed with this before on AWS without too many issues https://github.com/serverless-nextjs/serverless-next.js
You can upload the Next.js build to anything you like. netlify, S3 bucket, Apache or Nginx server running on solar powered bare metal.

If you need backend api functions - https://github.com/serverless-nextjs/serverless-next.js/ AWS Lambda etc. Probably slightly more work I grant you.

Awesome! I'm glad there are more options for folks deploying Next.js apps. For what it's worth, the majority of Next.js apps we see deployed are self-hosted using a Node.js server[1] or Docker[2]. Would love to hear more your opinion why SST instead of one of these :)

To make sure I'm understanding SST, it builds off serverless-nextjs[3], correct? And then ads the features listed above on top, most notably CDK support?

[1]: https://nextjs.org/docs/deployment#nodejs-server

[2]: https://nextjs.org/docs/deployment#docker-image

[3]: https://github.com/serverless-nextjs/serverless-next.js

>Running a custom server means no deploying to Vercel. I understand that one the most, since Vercel has decided to lean on serverless

For those who want simple serverless deployment, but don't want to vendor lock in with Vercel, checkout serverless-next.js, it makes deploying to aws lambda@edge directly a breeze, it's awesome![1].

1: https://github.com/serverless-nextjs/serverless-next.js

I use serverless-next.js [1], it's super convenient, deploys to AWS lambda@edge, cost scales with your traffic.

1: https://github.com/serverless-nextjs/serverless-next.js