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.
- Node.js 16.x
- AWS Lambda Web Adapter
- AWS CDK 2.30.x
- AWS SAM CLI 1.53.x
- Configured AWS credentials
- /nextjs-lambda-cdk - Next.js application deployed with AWS CDK
- /nextjs-lambda-sam - Next.js application deployed with AWS SAM
See CONTRIBUTING for more information.
This sample code is licensed under the MIT-0 License. See the LICENSE file.