Skip to content

Introduction to Deployment

Next.js applications can be deployed in several ways. The most common are Vercel (the platform built by the creators of Next.js) and self-hosting (your own servers, Docker, or other cloud platforms).

OptionBest ForSetup Complexity
VercelMost Next.js appsMinimal
DockerCustom infrastructureMedium
Node.js serverExisting server setupsMedium
Cloud platforms (AWS, GCP)Enterprise requirementsHigh
flowchart LR
A[Next.js App] --> B{Deployment Choice}
B -->|Vercel| C[Automatic optimizations]
B -->|Vercel| D[Edge functions]
B -->|Vercel| E[ISR & cache]
B -->|Self-host| F[Full control]
B -->|Self-host| G[Custom domains]
B -->|Self-host| H[Any infrastructure]