Skip to content

Sample application running Next.js application on Serverless services on AWS

License

Notifications You must be signed in to change notification settings

aws-samples/aws-lambda-nextjs

Running Next.js applications with Serverless services on AWS

This example walks you through how to run a Next.js application on Serverless services on AWS. There is a sample AWS Cloud Development Kit (CDK) application and AWS Serverless Application Model (SAM) application. Either CDK or SAM create a demo environment showing how you can use Amazon API Gateway, AWS Lambda, Amazon CloudFront, and Amazon S3 to run a Next.js application.

Solution Architecture

Next.js Serverless Architecture

Requirements

Folder structure

  • /nextjs-lambda-cdk - Next.js application deployed with AWS CDK
  • /nextjs-lambda-sam - Next.js application deployed with AWS SAM

Security

See CONTRIBUTING for more information.

License

This sample code is licensed under the MIT-0 License. See the LICENSE file.

About

Sample application running Next.js application on Serverless services on AWS

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •