Skip to main content
Web Development

Best Hosting for Next.js in 2026: Vercel vs. Hetzner VPS vs. AWS vs. Netlify

Juan Diego Morales Mora• 2026-08-09• 16 min read

Choosing where to deploy a Next.js 16 application in 2026 is no longer just a race to find "the cheapest server." The right infrastructure depends on how your app actually runs: whether it's mostly static, relies on Server Components and dynamic rendering, uses Server Actions, how much traffic it serves, and how much operational control you want over the stack.

The good news is that Next.js is no longer tied to any single hosting vendor. Official documentation supports deploying Next.js applications on any provider capable of running Node.js or Docker—including self-managed VPS instances, major clouds, and specialized PaaS platforms. Even better, apps that only need static output can set output: "export" and run on virtually any static web server or CDN.

In this guide, we compare the strongest deployment options for 2026—Vercel, Hetzner + Docker/Coolify, AWS Amplify, and Netlify—looking closely at current pricing, bandwidth limits, deployment ergonomics, maintenance overhead, and room to scale.


1. Before Picking a Server: What Kind of Next.js App Are You Deploying?

The first mistake teams make is comparing hosting providers before examining how their application behaves in production.

A static corporate website, a database-backed SaaS with authentication, and a dynamic e-commerce storefront might all use Next.js, yet their server requirements look completely different.

Mostly static application

If your entire project can be pre-rendered at build time, Next.js supports static exports:

js
const nextConfig = {
  output: "export",
};

export default nextConfig;

With this configuration, next build outputs static HTML, CSS, and JavaScript assets that can be served directly from a CDN, Nginx, S3, or nearly any static host. Keep in mind, however, that static export mode does not support server-dependent features such as Server Actions, ISR, or built-in next/image server optimization.

Dynamic application

If your app uses:

  • Dynamic Server Components.
  • Cookies or headers read at request time.
  • Server Actions.
  • Route Handlers.
  • Incremental Static Regeneration (ISR).
  • Server-side authentication.
  • Live database queries.
  • Custom request processing.

then you need a runtime environment capable of executing Next.js on a server.

In that scenario, you can deploy to Vercel, a VPS, AWS, Google Cloud, DigitalOcean, Hetzner, or any compatible infrastructure. Next.js's own documentation treats Docker and self-hosting as first-class deployment targets.


2. Vercel: The Most Effortless Option for Next.js

Vercel remains the smoothest path for shipping Next.js because it is built by the same ecosystem and engineered specifically around modern full-stack frontend workflows.

The Pro plan currently costs $20/month and includes $20 in monthly usage credit applied across infrastructure resources. Included allowances under Pro feature 1 TB of Fast Data Transfer per month and 10 million Edge Requests, with overages billed on a pay-as-you-go basis.

Pros of Vercel

  • Automatic Git-triggered deployments.
  • Instant Preview Deployments for every Pull Request.
  • Global Edge Network and CDN.
  • Native, zero-config Next.js integration.
  • Automatic HTTPS certificates.
  • Managed scaling out of the box.
  • Built-in observability and performance analytics.
  • Minimal infrastructure setup.
  • Zero OS administration or patching required.

At the same time, Vercel operates on a usage-based infrastructure model. That means your real monthly bill doesn't necessarily stop at the $20 Pro baseline: exceeding the included monthly credit or usage thresholds generates additional metered charges.

The main drawback: cost at scale

Vercel feels unbeatable when your priority is launching fast and iterating without spending hours on DevOps.

The friction shows up once traffic scales sharply.

Right now, the Pro plan includes 1 TB of Fast Data Transfer, and usage beyond that included allowance starts at $0.15 per extra GB.

That doesn't automatically make Vercel "expensive." It simply means you need to understand its billing mechanics before deploying an app that serves heavy video assets, high-resolution images, large file downloads, or spikes of automated traffic.

Who do I recommend Vercel for?

  • Startups.
  • Small and mid-sized SaaS products.
  • Teams shipping frequent deployments.
  • Engineering teams that don't want to manage servers.
  • Next.js applications leaning heavily on Vercel-native platform capabilities.
  • Projects where developer hours are far more valuable than shaving a few dollars off server bills.

For a lean commercial web app, paying $20/month can easily be cheaper than burning several engineering hours every month babysitting a server.


3. Hetzner + Docker: Far More Control for Less Money

If your priority is lowering unit infrastructure costs while retaining complete server ownership, Hetzner Cloud remains one of the most compelling options—especially for European workloads.

One important update that outdated blog posts miss: Hetzner updated its Cloud pricing on June 15, 2026.

For instance, the CPX22 tier moved to €19.49/month (excl. VAT) in Germany and Finland, with hourly billing at €0.0312/hour. The CPX22 comes with 4 GB of RAM and NVMe SSD storage under the updated lineup specs.

Old tutorials citing €5–15/month prices from previous years no longer reflect the current pricing of these CPX tiers.

What do you get in return?

A dedicated VPS gives you:

  • Full SSH access.
  • Root control.
  • Docker container orchestration.
  • Complete OS customization.
  • Ability to host multiple applications on one box.
  • Self-hosted databases.
  • Redis caching instances.
  • Background workers.
  • Cron jobs.
  • Standalone APIs.
  • Custom reverse proxies.
  • Custom monitoring stacks.

Even better, European CPX Cloud Servers include 20 TB of outbound traffic per Hetzner's documentation, with extra bandwidth billed only beyond that cap.

That changes the economics dramatically compared to metered usage platforms.


4. Coolify: Turning a VPS Into a Vercel Alternative

Managing deployments over raw SSH quickly gets tedious if your team pushes code multiple times a day.

That's where Coolify comes in.

Coolify is an open-source PaaS you install directly on your own server. It lets you manage web apps, databases, Git deployments, custom domains, SSL certificates, and background services from a clean web dashboard.

Official installation requirements recommend at least:

  • 2 CPU cores.
  • 2 GB of RAM.
  • 30 GB of free disk space.
  • SSH access.

On Ubuntu LTS, Coolify provides a single automated installation script.

The official installer command is:

bash
curl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bash

Coolify provisions and configures the required stack—including Docker—and lets you run Git-based deployments straight from its control panel.

Typical architecture

A cost-efficient production architecture for Next.js on a VPS looks like this:

User
   │
   ▼
Cloudflare / CDN
   │
   ▼
Reverse Proxy
   │
   ▼
Coolify
   │
   ├── Next.js
   ├── PostgreSQL
   ├── Redis
   └── Other services

This lets you co-locate multiple services on a single machine cleanly.

And that highlights one of the biggest wins compared to purely managed PaaS platforms: you don't pay a separate platform subscription fee for every additional app you deploy.


5. Docker + Next.js 16: The Recommended Path for Self-Hosting

Next.js includes official first-class support for containerized deployments via Docker.

A standard production setup starts in next.config.js / next.config.mjs:

js
const nextConfig = {
  output: "standalone",
};

export default nextConfig;

This outputs a stripped-down production bundle containing only the files required to run the server.

A production Dockerfile typically uses a multi-stage build:

dockerfile
FROM node:22-alpine AS builder

WORKDIR /app

COPY package*.json ./
RUN npm ci

COPY . .

RUN npm run build

FROM node:22-alpine AS runner

WORKDIR /app

ENV NODE_ENV=production

COPY --from=builder /app/public ./public
COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static

EXPOSE 3000

CMD ["node", "server.js"]

Next.js documentation explicitly recommends Docker combined with standalone mode to produce lean, reliable production images.


6. Important: Self-Hosting Doesn't Mean Just Running next start

Here is a crucial architectural gap left out of countless older tutorials.

Exposing the raw Next.js Node server directly to the public internet pushes too much edge responsibility onto the application process itself.

Official Next.js self-hosting documentation recommends placing a reverse proxy—such as Nginx—in front of Next.js to handle:

  • Rate limiting.
  • Slowloris / slow connections.
  • Malformed HTTP requests.
  • Request payload size limits.
  • TLS termination.
  • Path and domain routing.
  • Additional protection against abusive traffic.

A production-grade setup looks far closer to this:

Internet
   │
   ▼
Cloudflare
   │
   ▼
Nginx / Traefik
   │
   ▼
Next.js
   │
   ├── PostgreSQL
   ├── Redis
   └── Storage

That architecture is vastly more resilient for a commercial product than running npm start on a bare VPS and leaving port 3000 exposed.


7. A Critical Next.js Detail: Caching and ISR Across Multiple Servers

Self-hosting Next.js works reliably on a single instance, but the moment you scale horizontally across multiple servers, caching behavior requires careful attention.

On a single server, Next.js uses local filesystem storage for several parts of its cache.

If you move to a multi-instance topology like:

             Load Balancer
              /        \
             /          \
        Next.js #1    Next.js #2
             │            │
             └──────┬─────┘
                    │
              Shared Cache

individual nodes can fall out of sync with inconsistent cache states unless a shared cache handler is configured.

Current Next.js documentation specifically calls out this issue for ISR, revalidateTag(), and related caching primitives. Multi-instance clusters typically need an external shared cache handler and coordinated invalidation across nodes.

That's why a single well-sized VPS is surprisingly simple to operate, whereas scaling out to three or four instances introduces distributed caching headaches that managed platforms like Vercel solve automatically out of the box.


8. AWS Amplify: Worth Considering If You're Already Inside the AWS Ecosystem

AWS Amplify Hosting sits in a different category altogether.

You don't manage an OS or VPS directly, yet it doesn't follow a simple "$20 flat plan" pricing structure either.

AWS meters Amplify Hosting across multiple usage dimensions.

According to current published pricing:

  • Up to 15 GB/month of outbound data transfer included on the free tier.
  • $0.15 per GB served thereafter.
  • Up to 500,000 SSR requests/month on the free tier.
  • CDN storage starting at $0.023 per GB/month.
  • Build minutes billed per build instance type.

In AWS's own reference example, a workload serving roughly 439 GB of monthly traffic works out to around $65.92/month in hosting charges under their baseline assumptions.

When should you choose AWS?

AWS makes tremendous sense when your infrastructure already relies on:

  • RDS.
  • S3.
  • CloudFront.
  • Lambda.
  • ECS.
  • DynamoDB.
  • IAM.
  • VPC networking.
  • Enterprise AWS compliance and governance.

If all you need is to launch a compact Next.js marketing site or lean product, AWS often introduces far more operational complexity than necessary.


9. Netlify: A Solid Alternative, but Its Pricing Model Has Changed

Netlify remains a capable platform for deploying Next.js, but older pricing summaries floating around the web are now outdated.

Since September 2025, new Netlify accounts operate on a credit-based pricing model. In 2026, the Pro plan starts at $20/month with 3,000 monthly credits, with higher credit tiers available as usage grows.

Netlify also updated its consumption metering in 2026 across resources such as:

  • Bandwidth.
  • Web requests.
  • Compute.
  • Serverless functions.
  • Additional platform features.

Under current documentation, usage converts at rates such as 20 credits per GB of bandwidth and 2 credits per 10,000 web requests.

As a result, older claims like "Netlify Pro is $19 and includes 1 TB" no longer accurately describe how billing works today.

Who does Netlify make sense for?

  • Teams already standardized on Netlify workflows.
  • Modern frontend-heavy projects.
  • Static and Jamstack-style sites.
  • Applications taking advantage of Netlify's deploy previews and plugin ecosystem.
  • Teams wanting a managed platform without server ops.

10. Updated Comparison Table for 2026

PlatformCurrent Entry PriceTraffic / UsageControlMaintenanceBest For
Vercel Pro$20/month1 TB Fast Data Transfer included + metered usageLowVery lowNext.js, SaaS, startups
Hetzner CPX22 + Coolify€19.49/month excl. VAT20 TB included in EUVery highMediumAgencies, SaaS, e-commerce
AWS AmplifyPay-as-you-go15 GB free tier; then $0.15/GB outboundMedium/highLowAWS-native stacks
Netlify ProFrom $20/monthCredit-based pricing systemLowVery lowFrontend & web apps
Manual VPS + DockerVariableDepends on providerFullHighDedicated DevOps teams

Hetzner pricing reflects the June 2026 rate adjustment, while Vercel, AWS, and Netlify all layer usage- or credit-based billing on top of their entry plans.


11. Which Option Offers the Best Value for Money?

For a small standalone Next.js application, the highest-value answer isn't automatically Hetzner.

Compare two scenarios for a single app:

  • $20/month on Vercel.
  • ~€20/month on a Hetzner VPS—plus 10 hours a month spent on server maintenance.

If you're the developer or founder, those 10 hours carry a massive opportunity cost.

That's why you must separate raw infrastructure cost from total cost of ownership (TCO).

Vercel

You pay more per unit of managed compute and bandwidth, yet you eliminate almost all server administration.

Hetzner + Coolify

Your marginal cost per additional app drops close to zero and you gain full infrastructure control—but you assume responsibility for:

  • OS and runtime updates.
  • Security hardening.
  • Automated backups.
  • System monitoring.
  • Firewall rules.
  • Incident recovery.
  • Capacity planning.
  • Reverse proxy configuration.

AWS

You gain extreme architectural flexibility, though IAM, networking, and billing complexity can escalate fast.


12. How Many Apps Can You Host on One VPS?

There is no single magic number.

Capacity depends directly on:

  • Available RAM.
  • CPU cores.
  • Workload profile (static vs. heavy SSR).
  • Concurrent traffic.
  • Frequency of CI/CD builds (builds spike RAM and CPU!).
  • Server-side rendering load.
  • On-the-fly image optimization.
  • Database workloads.
  • Redis memory usage.
  • Background workers.
  • Scheduled cron jobs.

Coolify's own documentation cites a production example running on 8 GB of RAM and 4 vCPUs comfortably hosting multiple Node.js apps, static websites, Plausible Analytics, Fider, Uptime Kuma, Redis, and PostgreSQL simultaneously. That's a realistic benchmark—not a universal guarantee.

Instead of asking "can one VPS host 20 websites?", monitor CPU load, memory pressure, disk I/O, active connections, and p95 latency, and size the box around real production workloads.


13. Cloudflare in Front of Next.js: When It Makes Sense

Placing Cloudflare in front of a VPS adds edge caching, resilient DNS, TLS, and WAF/DDoS protection.

A common setup looks like this:

                 Cloudflare
                     │
          ┌──────────┴──────────┐
          │                     │
      Static Assets          Dynamic
          │                     │
          ▼                     ▼
       CDN Cache             VPS
                              │
                           Next.js

Keep an important caveat in mind for dynamic routes.

Next.js documentation notes that when a route invokes dynamic APIs, reads cookies, or depends on per-request headers, responses may emit Cache-Control: private, preventing edge CDNs from caching the HTML publicly. Fully pre-rendered pages, on the other hand, benefit tremendously from CDN edge caching.

In short: putting Cloudflare in front of a VPS does not magically turn a dynamic server-rendered app into a static site.


14. Backups: The Step Too Many Teams Forget on a VPS

With Vercel, Netlify, or Amplify, much of the platform resilience is handled by the provider.

With a VPS, you own the disaster recovery plan.

That means designing a real backup strategy across three layers:

Server backups

Automated VPS snapshots so you can restore the entire instance quickly if an OS upgrade goes wrong.

PostgreSQL backups

Copying raw Docker volume files while a database is running isn't reliable enough.

Run consistent scheduled database dumps (pg_dump) or continuous archiving.

Off-site backups

Storing backups on the same VPS won't save you if the server disk or provider account becomes unreachable.

A solid backup pipeline looks like this:

Production
   │
   ├── PostgreSQL
   │       │
   │       ▼
   │   Daily backup
   │       │
   │       ▼
   └── External Object Storage
          │
          ├── 7-day retention
          ├── 30-day retention
          └── Monthly archive

For any revenue-generating web application, off-site backups are core infrastructure—not an optional afterthought.


15. Horizontal Scaling: When a Single VPS Is No Longer Enough

A single VPS handles moderate traffic remarkably well.

Eventually, though, high-growth products hit a ceiling where vertical scaling isn't enough and you move to multi-node architecture:

                    Load Balancer
                   /      |      \
                  /       |       \
             Next #1   Next #2   Next #3
                 \       |       /
                  \      |      /
                    PostgreSQL
                         │
                       Redis

At that point, you take on a new tier of distributed systems challenges:

  • Load balancing and health checks.
  • Shared distributed cache.
  • Cross-node ISR coordination.
  • Distributed session handling.
  • Centralized secrets management.
  • Zero-downtime rolling deployments.
  • Centralized metrics and alerting.
  • Aggregated logging.
  • High-availability database backups.

Next.js specifically documents the requirement to synchronize cache state and internal encryption keys when running multiple replicas.

At that scale, Kubernetes, managed AWS services, Google Cloud, Azure, or specialized container orchestrators start paying off.

Just remember: you do not need Kubernetes because your site gets 10,000 visits a month.


16. What About Server Actions?

Server Actions are one of the primary reasons you can't treat every Next.js app as plain static files.

Any application relying on Server Actions requires a live server runtime.

Architecturally:

Static Next.js
        │
        ▼
HTML + CSS + JS
        │
        ▼
CDN / Static Hosting

is fundamentally different from:

Dynamic Next.js
        │
        ▼
Node.js / Runtime
        │
        ├── Server Components
        ├── Server Actions
        ├── Route Handlers
        └── Database

Additionally, if you deploy multiple Next.js instances that execute Server Actions, Next.js requires a consistent encryption key configured across every instance so actions don't break across rolling updates or load-balanced requests.

That's another reason teams without dedicated infrastructure engineers often lean toward Vercel.


17. My 2026 Recommendations

There is no single "best Next.js host" for every company.

The smart choice comes down to team structure, traffic profile, and operational tolerance.

🟢 Choose Vercel if...

You want zero DevOps overhead.

Vercel shines for:

  • Startups.
  • Small to mid-sized SaaS apps.
  • Frontend-led teams.
  • MVPs validating quickly.
  • Projects shipping multiple deployments a day.
  • Apps leaning on Vercel-native platform integrations.

The $20/month Pro plan buys operational peace of mind, managed scaling, and tight Next.js integration—not just raw server compute.

🔵 Choose Hetzner + Coolify if...

You want to maximize cost efficiency, ownership, and capacity.

Hetzner + Coolify shines for:

  • Agencies.
  • Freelance consultants.
  • Teams hosting multiple client sites.
  • Moderate-traffic SaaS apps.
  • Custom e-commerce builds.
  • Multi-service stacks (APIs, workers, databases).
  • Engineering teams comfortable managing Linux and Docker basics.

A CPX22 instance sits at €19.49/month excl. VAT across updated European locations and includes 20 TB of outbound traffic.

🟠 Choose AWS if...

Your organization is already standardized on AWS and needs deep integration with:

  • RDS.
  • S3.
  • CloudFront.
  • Lambda.
  • ECS.
  • IAM.
  • VPCs.
  • Enterprise security and compliance policies.

If you simply want to host a marketing site or lean Next.js app, AWS will likely add unnecessary complexity.

🟣 Choose Netlify if...

You want a managed frontend-centric platform and your team already relies on Netlify workflows.

Because of Netlify's credit-based billing model, always project your actual bandwidth and request consumption rather than comparing base monthly plan prices at face value.


18. Final Verdict

Here is the quick decision matrix for 2026:

ScenarioRecommended Option
Fastest DX with Next.js🥇 Vercel
Best price-to-control ratio🥇 Hetzner + Coolify
Enterprise cloud integration🥇 AWS
Managed frontend platform🥇 Netlify
Lowest cost for static sites🥇 CDN / Static Hosting
Multiple apps on one server🥇 VPS + Docker / Coolify

The takeaway that matters most: Next.js 16 does not require Vercel to run well. You can containerize it with Docker, serve next start on your own server, and place a reverse proxy and CDN in front of it—all officially documented and supported.

For a single lean application, Vercel is usually the smartest economic choice because it eliminates operational distraction.

For an agency or studio managing ten, twenty, or more web projects, a properly configured VPS running Docker and Coolify completely transforms infrastructure margins.

And for enterprise platforms demanding strict compliance, VPC isolation, and deep cloud service integration, AWS or another hyperscaler easily earns its operational overhead.

Don't pick hosting based solely on the monthly sticker price. Pick the infrastructure that minimizes your project's total cost—including engineering time, maintenance, and operations.

If you want to go deeper into Next.js speed and architecture, explore our web optimization and technical SEO guide and our custom web development services.

Recommended reading

Related Articles & Engineering Guides

Web Development

WordPress vs. Custom Web Development in 2026: Differences, Costs, Performance, and Security

2026 comparison of WordPress vs. custom Next.js and Astro builds: performance, security, maintenance, flexibility, real costs, and when to choose each option.

Read article
Web Development

Astro 7 vs. Next.js 16: The Definitive Performance and Architecture Guide in 2026

Deep technical breakdown to choose between Astro 7 (Rust, Server Islands) and Next.js 16 (PPR, Server Actions). Speed, RAM overhead, and Core Web Vitals.

Read article
JD
Juan Diego Morales Mora

Founder & Lead Developer at Webloqui

View author profile

Full Stack Developer specialized in building high-performance websites and eCommerce platforms with Next.js, Astro, Shopify, and modern web architectures. Passionate about web performance optimization, technical SEO, and extreme speed.

Want to discuss your project directly with an engineer?

I can analyze your website's speed, Core Web Vitals, and technical architecture with zero obligation.