# danielcondemarin/serverless-nextjs-plugin

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/danielcondemarin-serverless-nextjs-plugin).**

4,464 stars · 447 forks · TypeScript · MIT · archived

## Links

- GitHub: https://github.com/danielcondemarin/serverless-nextjs-plugin
- awesome-repositories: https://awesome-repositories.com/repository/danielcondemarin-serverless-nextjs-plugin.md

## Description

This project is a Serverless Framework plugin and adapter that enables the deployment of Next.js applications to AWS Lambda@Edge and AWS CloudFront. It functions as a bridge to adapt server-side rendering and API routes for execution on serverless edge compute.

The plugin automates the provisioning of cloud infrastructure, including the packaging and deployment of application code to global edge locations. It handles the synchronization of static assets to storage buckets and the mapping of Next.js routes to specialized edge functions to reduce global latency.

The project covers wide-ranging capabilities including global content delivery, custom domain and DNS mapping, and edge-based traffic management for domain redirects. It also manages compute resource configurations, IAM permissions, and network-edge cache policies, including support for incremental static regeneration and automated prerendering.

## Tags

### DevOps & Infrastructure

- [AWS Lambda Adapters](https://awesome-repositories.com/f/devops-infrastructure/aws-ecs-deployments/lambda-deployments/aws-lambda-adapters.md) — Adapts and packages Next.js applications specifically for deployment on AWS Lambda@Edge.
- [Static Asset Synchronization](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/cloud-storage/s3-compatible-storage-adapters/minio-s3-storage-management/s3-manifest-integration/s3-bucket-browsing/s3-bucket-file-management/s3-bucket-synchronization/static-asset-synchronization.md) — Automates the upload of static application files to cloud storage buckets for global distribution via CDN.
- [Edge Web Application Hosting](https://awesome-repositories.com/f/devops-infrastructure/edge-computing/graphql-edge-hosting/edge-web-application-hosting.md) — Serves API routes and server-side rendered pages from network edges to improve global response times.
- [Serverless Orchestration](https://awesome-repositories.com/f/devops-infrastructure/serverless-orchestration.md) — Provides a component-based model for orchestrating and provisioning the necessary serverless cloud infrastructure.
- [Response Cache Policies](https://awesome-repositories.com/f/devops-infrastructure/caching-layers/response-cache-policies.md) — Implements user-defined cache control rules and expiration times for network responses at the edge to optimize content retrieval. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))
- [Custom Domain Mappings](https://awesome-repositories.com/f/devops-infrastructure/custom-domain-mappings.md) — Maps custom domain names to application distributions for professional branding and SSL support. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))

### Content Management & Publishing

- [Static Asset Hosting](https://awesome-repositories.com/f/content-management-publishing/static-asset-hosting.md) — Hosts static assets in cloud storage buckets to be served via a global content delivery network. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))
- [Static Page Rendering](https://awesome-repositories.com/f/content-management-publishing/static-page-rendering.md) — Provides automated pre-rendering of pages into static HTML files to optimize load times and enable global distribution via the edge. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))

### Data & Databases

- [Framework-to-Edge Mapping](https://awesome-repositories.com/f/data-databases/database-deployment-tools/logic-deployment/edge-runtime-deployments/route-based-edge-splitting/framework-to-edge-mapping.md) — Maps Next.js server-side rendering and API routes to specialized Lambda@Edge functions.
- [Edge Cache Invalidation](https://awesome-repositories.com/f/data-databases/performance-caching-systems/page-caching-controls/http-cache-headers/edge-cache-invalidation.md) — Defines edge-level cache expiration and invalidation rules to manage content freshness globally.

### Networking & Communication

- [Content Delivery Networks](https://awesome-repositories.com/f/networking-communication/content-delivery-networks.md) — Leverages AWS CloudFront as a global content delivery network for serving static and dynamic content.
- [Content Delivery Networks](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-infrastructure-configuration/network-infrastructure/content-delivery-networks.md) — Utilizes a global network of servers to distribute static assets and cached pages for faster delivery.
- [Edge Location Routing](https://awesome-repositories.com/f/networking-communication/peer-to-peer-distribution-protocols/edge-location-routing.md) — Routes incoming web requests to the nearest global edge location to minimize latency for serverless functions.
- [CDN Domain Mapping](https://awesome-repositories.com/f/networking-communication/authoritative-dns-hosting/cloud-dns-services/cdn-domain-mapping.md) — Automates the creation of DNS records and security certificates to link custom domains to CloudFront.
- [Edge Redirect Engines](https://awesome-repositories.com/f/networking-communication/request-proxies/edge-proxies/edge-redirect-engines.md) — Executes permanent URL redirections at the network edge to minimize latency and reduce load on origin servers. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))
- [Serverless Routing](https://awesome-repositories.com/f/networking-communication/traffic-routing/serverless-routing.md) — Implements dynamic routing to execute Next.js API logic at global edge locations to reduce latency. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))

### Software Engineering & Architecture

- [Serverless Runtime Adapters](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/framework-specific-integrations/next-js-integrations/serverless-runtime-adapters.md) — Acts as a bridge adapting Next.js server-side rendering and API routes for execution on serverless edge compute.
- [Edge Function Deployments](https://awesome-repositories.com/f/software-engineering-architecture/remote-function-invocation/browser-function-invocations/edge-function-deployments.md) — Pushes application code to global edge compute locations for low-latency rendering and API execution. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))
- [Serverless Deployment Workflows](https://awesome-repositories.com/f/software-engineering-architecture/integration-extensibility/framework-specific-integrations/next-js-integrations/serverless-deployment-workflows.md) — Uses Serverless Components to automate the deployment of Next.js applications onto AWS.

### Web Development

- [AWS Deployment Adapters](https://awesome-repositories.com/f/web-development/next-js-development/aws-deployment-adapters.md) — Provides a tool that transforms Next.js build artifacts into packages compatible with AWS Lambda@Edge and S3.
- [Server-Side Renderings](https://awesome-repositories.com/f/web-development/server-side-renderings.md) — Executes page rendering at network edge locations to accelerate initial page load speeds. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))
- [Incremental Static Regenerations](https://awesome-repositories.com/f/web-development/static-page-construction/incremental-static-regenerations.md) — Supports on-demand regeneration of specific cached pages after deployment to keep content current without full site rebuilds. ([source](https://github.com/danielcondemarin/serverless-nextjs-plugin#readme))

### Part of an Awesome List

- [Serverless Framework Plugins](https://awesome-repositories.com/f/awesome-lists/devtools/serverless-framework-plugins.md) — Extends the Serverless Framework to automate infrastructure provisioning for edge-based web applications.
- [Extensions and Plugins](https://awesome-repositories.com/f/awesome-lists/devtools/extensions-and-plugins.md) — Plugin for deploying serverless applications.
