Vercel
A cloud platform that builds and deploys web frontends straight from Git, with a preview link for every change.
- Type
- Frontend cloud platform
- Created by
- Vercel, the company behind Next.js
- Deploys
- On every Git push, with a preview URL per branch
- In my stack
- Hosting Next.js sites and frontends
What it is
Vercel connects to a GitHub, GitLab or Bitbucket repository and takes care of everything after the code: it builds the project, puts static files on a global CDN, runs server code as functions, and gives the site HTTPS and a domain. Every push to the main branch goes to production; every other branch or pull request gets its own preview URL.
It supports most frontend frameworks, but it is made by the team behind Next.js, so new Next.js features work there first and with no configuration. It also offers analytics, logs, environment variables per environment, and instant rollbacks to any previous deployment.
Why I use it
Previews change how clients review work. Each change gets a real link the client can open on their phone and comment on, before anything reaches production.
No servers to manage for the frontend. No machines to patch, no scaling to plan: traffic spikes are absorbed by the platform.
Rollback in one click. Every deployment is kept, so going back to the last good version takes seconds.
The best home for Next.js. Rendering modes, image optimisation and caching work as designed, without extra setup.
Where I use it
I use Vercel for Next.js sites and frontends where speed of delivery matters more than full control of the infrastructure: marketing sites, product pages, prototypes and client demos. The frontend lives on Vercel, while the backend and database stay where they belong, often in containers on Azure or on a server at OVH.
Best use cases
- Marketing and product sites built with Next.js or another modern framework.
- Prototypes and MVPs that need to be online today, with a link to share.
- Projects with frequent client reviews, where preview links replace screenshots and long email threads.
- Frontends with spiky traffic, such as a launch or a campaign.
When I’d use something else
When data must stay in a specific country or inside a client’s own cloud, or when the app is a large backend with workers, queues and databases, I deploy to containers on Kubernetes or to a plain server instead. Costs also deserve a look at high traffic: bandwidth and function usage add up, and a fixed-price server can be cheaper.
A small example
Most projects deploy with no configuration at all. When something is needed, it fits in a small file in the repository: here, a permanent redirect and security headers on every page.
{
"redirects": [
{ "source": "/old-pricing", "destination": "/pricing", "permanent": true }
],
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
]
}
]
}