AWS
Getting started

OpenNext allows you to deploy your Next.js apps to AWS using a growing list of frameworks.

SST

The easiest way to deploy OpenNext to AWS is with SST (opens in a new tab). This is maintained by the OpenNext AWS team and only requires three simple steps:

  1. Run npx sst@latest init in your Next.js app
  2. Run npm install
  3. Deploy to AWS npx sst deploy

For more information, check out the SST docs: https://sst.dev/docs/start/aws/nextjs (opens in a new tab)

Other Frameworks

The OpenNext community has contributed deployment options for a few other frameworks.

To use these, you'll need to run the following inside your Next.js app.

$ npx open-next@latest build

If you are using OpenNext to deploy using a framework that is not listed here, please let us know so we can add it to the list.