finds.dev← search

// the find

serverless-nextjs/serverless-next.js

★ 4,461 · TypeScript · MIT · updated Jan 2025

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

A Serverless Framework component that deploys Next.js apps to AWS via Lambda@Edge and CloudFront. It handles SSR pages, API routes, static assets, ISR, and image optimization — all without CloudFormation resource limits. The project is explicitly unmaintained and frozen at Next.js 10/11 support.

The architecture is clever: routing logic runs at CloudFront edge locations, so SSR latency is genuinely low rather than single-region. Skipping CloudFormation means no 200-resource limit and faster deploys. ISR support via SQS is non-trivial to implement and they shipped it. The e2e test suite with Cypress against real AWS deployments is more honest than most — they actually verified the thing works.

Dead project, and not quietly dead — the README opens with a warning banner pointing you to OpenNext and SST. It maxes out at Next.js 11; anything using the App Router, middleware, Server Actions, or next/image improvements from v13+ simply won't work. Lambda@Edge has a hard 30-second timeout with no workaround, which is a real constraint for slow SSR pages. The CDK construct is explicitly marked experimental and incomplete, so if you want IaC integration you're writing your own.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →