Vercel is built by the team behind Next.js. Deploying there is the lowest-friction option: every push to GitHub becomes a preview URL; every push to main is a production deploy.
DATABASE_URL, SESSION_SECRET, etc.)That's it. Within ~90 seconds you have a live URL.
| Type | Available in |
|---|---|
| Production | Production deploys |
| Preview | PR & branch deploys |
| Development | vercel env pull for local |
Pull production env to your machine:
1npx vercel env pull .env.localEvery branch gets a preview URL like my-app-feature-x-username.vercel.app. Share with stakeholders before merging.
Project Settings → Domains → add yourdomain.com. Vercel issues a Let's Encrypt cert automatically. DNS:
| Type | Name | Value |
|---|---|---|
| A | @ | 76.76.21.21 |
| CNAME | www | cname.vercel-dns.com |
By default:
runtime = "edge" → Edge FunctionsEach lives at a different layer of the network — Vercel routes requests transparently.
revalidateTag, revalidatePath, and ISR work out of the box. The cache is shared across all regions and invalidations propagate in seconds.
next/image uses Vercel's image optimization service automatically. No sharp required, no Docker tricks.
Before flipping the switch:
metadataBase set in app/layout.tsxsitemap.ts and robots.ts presentnext build runs locally without warningsVercel Analytics + Speed Insights are one-click:
1npm i @vercel/analytics @vercel/speed-insights1// app/layout.tsx
2import { Analytics } from "@vercel/analytics/next";
3import { SpeedInsights } from "@vercel/speed-insights/next";
4
5export default function RootLayout({ children }: { children: React.ReactNode }) {
6 return (
7 <html>
8 <body>
9 {children}
10 <Analytics />
11 <SpeedInsights />
12 </body>
13 </html>
14 );
15}Real-user metrics, automatically, no setup.
| Resource | Free Tier | Paid |
|---|---|---|
| Bandwidth | 100 GB | $0.15/GB after |
| Edge function invocations | 1M | $2/M after |
| Serverless invocations | 1M | $0.65/M after |
| Build minutes | 6000/month | $0.20/min after |
| Image optimizations | 5000 | included in Pro |
For most early-stage apps, the free tier is generous. The paid plan ($20/seat) kicks in for production traffic.