Building an application is only half the job; deploying it so real users can reach it reliably is the other half, and it is where the architectural choices you have made meet the realities of servers, networks, and operations. Next.js applications can be deployed in two broad ways: on a managed platform like Vercel, which is built by the same company and understands the framework's features natively, handling the build, the serverless functions, the CDN, and the scaling for you; or self-hosted, where you run the application yourself on your own server or container infrastructure, taking on the operational responsibility in exchange for control and, often, cost savings. Both are first-class, supported paths, and understanding the build output, the runtime requirements, and the tradeoffs of each is what lets you choose and execute a deployment that fits your needs.
This topic matters because deployment is where features that worked in development can break in ways development never revealed, and where the cost and operational profile of an application is largely determined. An application that rendered perfectly on your machine can fail in production over a missing environment variable, a misconfigured server runtime, an exhausted database connection pool under real load, or a caching layer behaving differently than the local dev server suggested. The managed-versus-self-hosted choice is a genuine tradeoff with no universally correct answer: a managed platform minimizes operational burden and handles the framework's serverless and edge features automatically but charges for that convenience and offers less control, while self-hosting gives full control and can dramatically reduce recurring cost but requires you to provision, configure, secure, scale, and maintain the infrastructure yourself. Understanding what the build produces, what the application needs at runtime, and what each deployment model takes on versus leaves to you is what turns deployment from an anxious leap into a deliberate, reversible engineering decision.