Vercel
Vercel
A frontend deployment platform. Maker of Next.js. Edge network.
Vercel
A frontend deployment platform. Maker of Next.js. Edge network.
Vercel is a cloud platform for frontend developers that provides automatic deployment, preview environments, and edge network deployment simply by connecting a Git repository. As the company that created Next.js, it offers particularly strong integration with React-based frameworks.
Vercel's core value is DX (Developer Experience). Automatic deployment on push, preview URL generation for every PR, and global CDN deployment are provided by default. It fully supports advanced Next.js features such as serverless functions, Edge Functions, and ISR (Incremental Static Regeneration).
Vercel's Edge Network is distributed across dozens of regions worldwide, delivering content close to users. Edge Functions are based on V8 isolates and have almost no cold starts, so API endpoints also respond quickly.
In practice, Vercel is popular with startups and personal projects. You can get started with a free tier, and it provides the tools needed for production, such as team collaboration features, Analytics, and Speed Insights. However, costs can rise quickly when traffic is high, so a cost comparison against AWS/GCP is necessary.
# Vercel CLI로 배포하기
# 1. Vercel CLI 설치
npm i -g vercel
# 2. 프로젝트 루트에서 배포
vercel
# 3. 프로덕션 배포
vercel --prod
# vercel.json - 프로젝트 설정
{
"framework": "nextjs",
"buildCommand": "npm run build",
"outputDirectory": ".next",
"regions": ["icn1"], // 서울 리전 우선
"headers": [
{
"source": "/api/(.*)",
"headers": [
{ "key": "Cache-Control", "value": "no-store" }
]
}
],
"rewrites": [
{ "source": "/api/proxy/:path*", "destination": "https://api.example.com/:path*" }
],
"env": {
"DATABASE_URL": "@database-url" // Vercel 환경변수 참조
}
}
# Edge Function 예제 (app/api/hello/route.ts)
export const runtime = 'edge'; // Edge Runtime 사용
export async function GET(request: Request) {
return new Response(JSON.stringify({
message: 'Hello from Edge!',
region: process.env.VERCEL_REGION
}), {
headers: { 'Content-Type': 'application/json' }
});
}
"Our frontend is deployed on Vercel. When we push to Git it deploys automatically, and since a preview URL is created for every PR, QA is easier. The backend API is on a separate server, and we proxy it through Vercel's rewrites."
"Vercel is a deployment platform with optimal integration with Next.js. It fully supports ISR, so you can enjoy the benefits of both static pages and dynamic data, and with Edge Functions you can deploy latency-critical APIs globally."
"Vercel Pro is 20 dollars a month and includes up to 1TB of bandwidth. Beyond that, per-GB charges apply, so if traffic is predictable Vercel is convenient, but at large scale configuring AWS CloudFront directly can be cheaper."
Take a mock interview on this topic → WIA SOOM AI Interview · Start for free
The Hobby plan is for personal, non-commercial use. Commercial projects require a Pro or higher plan, and additional costs are incurred if bandwidth or function execution time is exceeded.
Environment variables with the NEXT_PUBLIC_ prefix are exposed to the client. Use sensitive values such as API keys only on the server side.
Use preview deployments to streamline PR reviews, Analytics to monitor performance, and Edge Config to manage feature flags. The key is to make the most of Vercel's strengths.