Today, I’m excited to announce a project I’ve been working on over the past few months. It provides a simple, fast and efficient way to deploy your Next.js applications to AWS using CloudFront, Lambda@Edge and S3.
The project is the Serverless Next.js Component which you can use with the Serverless Framework to deploy Next.js apps to AWS Lambda@Edge functions in every CloudFront edge location across the globe. These Lambda@Edge functions do server-side rendering of your website pages, as close as possible to your end users, providing very low latency.
The project was developed with a few design principles in mind.
1. Zero configuration by default
That’s right, you can get up and running in under a minute with no configuration required.
2. Feature parity with next 9
All features of next 9 are supported:
#serverless #edge