Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.03 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.03 KB

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.