Skip to content
commitius

Moving off Vercel to your own server

A move that fixes the bill

Can DemirFounder & authorUpdated

Vercel offers a free plan for building and publishing Next.js sites quickly. As a site grows and gets more traffic, usage items add up and the bill can rise unexpectedly. The first step is to tune settings to bring it down. If it keeps climbing anyway, moving to your own server is worth considering.

Can you use Vercel's free plan for a commercial site?

No. Vercel's Hobby plan is for non-commercial, personal use only. If your site is part of a business, meaning it earns money, you need the Pro plan. A site that starts free ends up on a paid plan once it starts doing business.

Why does the bill grow?

Vercel charges by usage. As visitors increase, items like data transfer, CPU time and ISR writes grow. Frequent page regeneration and the CPU used by every build show up on the invoice too. We explain these items in what ISR Writes, Build CPU and Fast Origin Transfer mean on your Vercel bill.

How does the move to your own server work?

  1. We work out which items make up the bill.
  2. We try settings first. Needless page regeneration, image sizes and cache durations get reviewed.
  3. If that is not enough, the Next.js app moves to a VDS. It runs on Linux behind a reverse proxy, and builds happen on the server or elsewhere.
  4. The domain's DNS is pointed at the new server. The old and new versions stay up side by side for a while during the switch.
  5. Backups, monitoring and an update routine are set up.

What should you watch out for?

Moving to a server fixes the bill, but the work Vercel did for you becomes yours. Deploys, certificate renewal, security patches, backups and monitoring are now your responsibility. Do not compare costs without counting someone doing that work. For server preparation see security steps for a new server's first hour and server setup.

Conveniences such as Vercel's preview URLs and automatic build flow also have to be rebuilt on your own server.

For a deeper look at the decision, read our Vercel bill keeps growing, should we move to our own server.

Who should move, and who should stay?

If the bill keeps rising and your traffic is predictable, moving makes sense. On a low-traffic site, the Pro plan can cost less than a server plus the work of looking after it. If nobody can look after a server and settings bring the bill to a reasonable level, stay on Vercel. You do not have to move.

What do we do?

We go through the bill line by line, try to bring it down with settings first, and if needed move your Next.js site to your own server without downtime.

Notes on the subject