This repository has been archived on 2026-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
next-deploy/examples/aws
2020-07-23 10:39:13 -07:00
..
README.md adding a new AWS example 2020-07-23 10:39:13 -07:00

An example of a fully functional Next.js deployment to AWS can be found here.

You can see it in action on AWS here.

The key part is its next.config.js configuration:

module.exports = {
  engine: 'aws',
  debug: true,
  bucketName: 'next-deploy-demo-bucket',
  description: {
    requestLambda: 'Next deploy demo request lambda.',
  },
  name: {
    requestLambda: 'request-handler-demo',
  },
  stage: {
    name: 'demo',
    versioned: true,
    bucketName: 'next-deploy-demo-environments',
  },
};