Skip to Content

Production is one command away

Handoff builds, checks and ships your app to five regions, then shifts traffic over. If something looks wrong, it shifts it back.

Read the Docs
zsh · ~/acme/storefront
  • Rated by developers

    1,280 reviews

    4.9of 5

  • Open source

    MIT licensed, 212 contributors

    18.4kstars

  • Uptime, last 90 days

    99.99%

Shipped with Handoff

More than 4,200 teams run it on every merge, 90,000 deploys a week.

  • Calder
  • Northgate
  • Marlowe
  • fennel
  • Tessera
  • halden

From the command to live traffic

Every deploy runs the same four steps. Nothing reaches a visitor until the step before it has passed.

  • Build

    Installs and builds in a clean container, the same one every time.

  • Check

    Runs your tests and a smoke test against the build before anyone sees it.

  • Upload

    Sends the build to all five regions and warms it up.

  • Shift

    Moves traffic one region at a time, and moves it back if errors rise.

A bad deploy is one command to undo

The previous build stays warm in every region. If errors rise, Handoff shifts traffic back on its own, and nothing is rebuilt.

  1. 3f9c2e1 goes live

    Errors start to climb

  2. Handoff rolls back

    Errors passed 0.5%

  3. a81d04c is live again

    You get the diff and the logs

Every pull request gets its own URL

Push a branch and Handoff builds it the same way as production, on a link you can send to anyone.

  • #221New order emailsstorefront-pr-221.handoff.devBuilding
  • #218Gift cardsstorefront-pr-218.handoff.devReady
  • #214Faster product gridstorefront-pr-214.handoff.devReady
  • Productionstorefront.comLive

Five regions, one deploy

Your app runs close to your visitors. Handoff sends each one to the nearest region, and moves them if it goes down.

18 msaverage response, all five regions

  • fra1

    Frankfurt

    12ms

    Healthy
  • iad1

    Washington

    9ms

    Healthy
  • sfo1

    San Francisco

    14ms

    Healthy
  • sin1

    Singapore

    31ms

    Healthy
  • syd1

    Sydney

    22ms

    Healthy

One file, checked in with your code

Everything Handoff does comes from handoff.toml. Change it in a pull request and review it like any other code.

handoff.toml17 lines
name = "storefront"
build = "pnpm build"
output = "dist"

[checks]
run = ["pnpm test", "pnpm smoke"]
budget = "2.5 MB"

[regions]
deploy = [
  "fra1", "iad1", "sfo1",
  "sin1", "syd1",
]

[rollback]
when = "errors > 0.5%"
within = "10 min"

Your build command

Whatever you already run locally. There is no image to write.

Lines 1 to 3

Checks that must pass

Your tests, a smoke test and a size budget, before anyone sees the build.

Lines 5 to 7

Where it runs

Add or drop a region by changing one line.

Lines 9 to 13

When to roll back

Set the limit once. Handoff watches it on every deploy.

Lines 15 to 17

A customer story

NorthgateCustomer Story

We used to book an afternoon for a release. Now it is a line in a pull request, and the one time it went wrong, Handoff had moved traffic back before we opened the dashboard.

Marta LindqvistHead of Platform, Northgate
  • 38sfrom merge to live in five regions
  • 9 a dayreleases, up from two a week
  • 0failed releases reached a customer this year

Run your first deploy today

Connect a repository, add one file and run one command. It is free for small projects.

Read the Docs
  • Free for small projects

    Three projects, one region each

  • Live in minutes

    Most teams ship on the first day

  • No card to start

    Pay when you add regions