Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
See how Vercel's Skew Protection feature enables production-ready blue-green deployments with just a few lines of code.

Eleventy starter kit with TailwindCSS and AlpineJS, preconfigured for minified static sites.

A minimal Next.js + Gel starter with authentication, schema, and UI to get you up and running quickly.

Next.js starter for a partner gallery with Postgres full-text search, Supabase Storage, and email notifications via Edge Functions.

Open-source Astro.js starter kit with 11 UI components, 16 sections, and 11 pages; AI-friendly with AGENTS.md, shadcn/ui, Tailwind v4, and dark mode.

An Eleventy starter project built to be fast
The Blue-Green Deployments on Vercel template from Vercel Labs demonstrates how to serve two versions of a Next.js app at once and switch traffic between them using Vercel's Edge Config, Middleware, and Skew Protection.
This template is a reference implementation from Vercel Labs for running blue-green deployments on Vercel without a load balancer. It takes two Vercel deployment URLs and a traffic split percentage as input, and outputs a routing decision in a Next.js middleware file that sends each user to either the blue or green deployment. It runs on Vercel's platform and uses Next.js middleware, Edge Config storage, and the Skew Protection feature to keep users on the same deployment for the duration of a session.
The setup involves four steps: deploy the template, activate Skew Protection, enable deployment protection bypass, and create an Edge Config with the blue/green domains and traffic percentage. After that, the middleware reads the config and routes traffic. To execute a deployment, you either edit the Edge Config manually or let the CI/CD pipeline call Vercel's Edge Config API to update the stored domains and percentages.
