This project packages Next.js applications to run natively on AWS’s serverless stack, mapping framework features onto services like Lambda, CloudFront, and S3. It translates routing, API handlers, and middleware into deployable artifacts, handling edge cases such as image optimization, ISR, and streaming responses. Static assets are uploaded to object storage and cached at the edge, while dynamic routes are executed in short-lived compute with cold-start-aware build settings. The adapter aims to preserve the Next.js developer experience—file-based routing, app/router features, and incremental builds—while producing infrastructure that scales automatically. Configuration focuses on environment variables, build hooks, and sensible defaults rather than complex bespoke templates. By encapsulating provider-specific plumbing, the project lets teams deploy the same codebase confidently across staging and production without manual rewrites.

Features

  • Supports App & Pages routers, API and dynamic routes
  • Enables SSG, SSR, ISR, middleware, and image optimization
  • Minimizes cold starts and supports Lambda@Edge and composable caching
  • Allows selective deployment of different routes to different AWS targets (Lambda, ECS, etc.)
  • Compatible with the latest Next.js versions per AWS adapter compatibility matrix
  • Debug mode with detailed logging

Project Samples

Project Activity

See All Activity >

Categories

Build Tools

License

MIT License

Follow OpenNext

OpenNext Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of OpenNext!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Build Tools

Registered

2025-09-01