Skip to content
C.W.K.
Stream
Lesson 07 of 08 · published

Alternatives to Vercel

~18 min · Netlify, Cloudflare Pages, AWS

Level 0Curious
0 XP0/68 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

Where Next.js runs well

PlatformSSRISREdgeEffort
Vercel✅ (global CDN)Zero-config
Netlify✅ (DPR)Easy
AWS AmplifyLimitedMedium
Cloudflare PagesLimitedMedium
Railway / Fly.ioEasy
Docker on any cloudManual

Trade-offs of leaving Vercel

  • ISR cache lives in one region rather than globally.
  • Image optimization needs sharp or a custom loader.
  • No automatic preview URLs — you set up your own staging environment.
  • SSL, scaling, observability all become your problem.

Choose a host from the features the application actually uses: runtime and regional needs, ISR and invalidation semantics, image optimization, streaming, previews, logs, cost, and rollback. Test the chosen adapter or container against a real production build before migration. Portability is more than starting one container. Replace instances under traffic, clear caches, and exercise image processing and scheduled work. Sessions, uploads, and centralized logs must survive, and measured recovery time makes platform convenience comparable with self-hosting labor.

Leaving Vercel is neither automatically cheaper nor automatically more portable. Provider integrations may need replacement, while a disciplined container can still depend on framework behavior. Count operational labor and degraded features as migration cost. Deploy the same representative routes to the candidate platform and exercise SSR, streaming, mutations, images, cache invalidation, environment promotion, logs, and rollback. Compare cold starts, region latency, and monthly cost at expected traffic rather than relying on a feature table.

Code

Cloudflare Pages adapter·bash
# Cloudflare Pages requires the @cloudflare/next-on-pages adapter
npm install --save-dev @cloudflare/next-on-pages

# In package.json
"build": "npx @cloudflare/next-on-pages"

# Some Node-specific APIs are unavailable on Cloudflare's Workers runtime —
# check the adapter's compatibility matrix before adopting.

External links

Exercise

Pick one alternative platform. Deploy a small Next.js app to it (read the platform docs). Note which Next.js features changed behavior (image optimization, ISR distribution, env var loading).

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.