Build and Scale Next.js Apps Close to Users

Fly.io is a developer-centric, global public cloud with everything you need to deploy your Next.js app at scale.

Launch Now

Ready, Set, Go!

Speedrun Your Next.js App Onto Fly.io

Deploy a Next.js app to Fly.io in a few minutes with Fly.io's command line tool, flyctl.

Get Started
> Install flyctl on GNU/Linux
curl -L https://fly.io/install.sh | sh
 
> Run from Next.js project root
fly launch
 
> Scale CPU, memory, instances & regions
fly scale

Not on GNU/Linux? Install flyctl for your platform.

Everything on the Edge – Including Data

Launch your Next.js app – any and everything it depends on – in the regions closest to your users. Fly.io partners offering globally-distributed databases, message queues, and S3-compatible object storage. Distance is no issue when your whole app can be everywhere.

Private Networks, WireGuard

Fly Apps get their own private network by default, making it easier than ever to connect your services on other platforms securely. Additionally, using WireGuard you can easily connect existing services on other networks to your apps on Fly.io.

Only Pay for What You Use

Get the benefits of a full server without the overhead. With fast-booting VMs that automatically start and stop when they need to, you don't have to worry about paying for resources not in use.

  • Bare Metal – Not a Big Cloud Abstraction

    No longer do you have to choose between great developer experience and reasonable pricing. Fly.io is its own cloud with physical servers in data centers; scale your apps without losing sleep over accidentally going viral.

  • Generated Dockerfiles for SSG & SSR

    Whether you're serving static pages or rendering content server-side, we make it easy to generate Dockerfiles for optimized images so you can focus on building amazing apps.

  • Globally Distributed Object Storage, No CDN Required

    Tigris Data is an S3-compatible object storage solution that stores assets globally by default. Setup a bucket in seconds with a single command. Great developer experience. Zero egress costs.

  • Managed Data Services for Every Occasion

    Keep your data closest to your users. Supabase for Postgres. LiteFS for SQLite. Upstash for Redis®. We partner with managed data services on top of our infrastructure for extremely low-latency.