---
title: Migrations
description: Learn how to migrate your application or agent to Vercel's agentic infrastructure.
url: "https://vercel.com/kb/migrations"
published: 2026-06-04
last_updated: 2026-12-01
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest kb search "<query>"
---

# Migrations

Learn how to migrate your application or agent to Vercel's agentic infrastructure.

## Migrate Your Docker App

- [Migrate from Railway to Vercel](/kb/guide/migrate-railway-to-vercel): Migrate an app from Railway to Vercel. Choose a deployment path, configure services, plan for stored data, and test before switching production traffic.
- [Migrate from Fly.io to Vercel](/kb/guide/migrate-fly-io-to-vercel): Move an app from Fly.io to Vercel. Map configuration, choose Functions or Daemons, plan persistent storage, and verify the production cutover.
- [Migrate from Render to Vercel](/kb/guide/migrate-render-to-vercel): Migrate from Render to Vercel: map web services, cron jobs, and containers to their equivalents, and handle what doesn't move.
- [Migrate from Google Cloud Run to Vercel](/kb/guide/migrate-cloud-run-to-vercel): Move a Cloud Run service or worker to Vercel. Compare runtimes, preserve Google Cloud access, and plan jobs, validation, and production cutover.
- [Migrate self-hosted Next.js and containers from AWS to Vercel](/kb/guide/migrate-containers-from-aws-to-vercel): Migrate Next.js apps and HTTP containers from AWS to Vercel. Configure AWS access, assess background workers, and plan testing, DNS cutover, and rollback.

## Migrate to Vercel Daemons

- [Migrate Railway workers to Vercel Daemons](/kb/guide/migrate-railway-workers-to-vercel-daemons): Move Railway workers to Vercel Daemons with Docker configuration, broker migration, shutdown testing, a gradual queue handoff, and rollback.
- [Migrate Render background workers to Vercel Daemons](/kb/guide/migrate-render-workers-to-vercel-daemons): Migrate Render workers to Vercel Daemons. Translate render.yaml, package Celery in Docker, prepare the broker, and verify the queue handoff.
- [Migrate Fly.io worker processes to Vercel Daemons](/kb/guide/migrate-fly-io-workers-to-vercel-daemons): Migrate Fly.io workers to Vercel Daemons with your existing Dockerfile. Map process settings, preserve queue state, and plan cutover and rollback.

## Migrate Your Sandbox Provider

- [Migrate from Cloudflare Sandbox to Vercel Sandbox](/kb/guide/migrate-from-cloudflare-sandbox-to-vercel-sandbox): Move Cloudflare Sandbox code to Vercel Sandbox in TypeScript or Python, from images and snapshots to Drives, network policies, preview ports, and a staged cutover.
- [Migrate from E2B to Vercel Sandbox](/kb/guide/migrate-from-e2b-to-vercel-sandbox): Move E2B sandbox code to Vercel Sandbox in TypeScript or Python, from templates and pauses to Volumes, network rules, Secrets, and a staged cutover.
- [Migrate from Freestyle VMs to Vercel Sandbox](/kb/guide/migrate-from-freestyle-vms-to-vercel-sandbox): Move Freestyle VM code to Vercel Sandbox in TypeScript, from snapshots and pauses to lifecycle fields, firewall rules, credential brokering, and a staged cutover.
- [Migrate from Modal Sandboxes to Vercel Sandbox](/kb/guide/migrate-from-modal-sandboxes-to-vercel-sandbox): Migrate from Modal Sandboxes to Vercel Sandbox in TypeScript or Python, including images, persistent files, network policies, and a staged cutover.
- [Migrate from Upstash Box to Vercel Sandbox](/kb/guide/migrate-from-upstash-box-to-vercel-sandbox): Migrate from Upstash Box to Vercel Sandbox in TypeScript or Python, including runtimes, persistent files, network policies, agents, and a staged cutover.

## Migrate Your AI Gateway

- [Migrate from Cloudflare AI Gateway to Vercel AI Gateway](/kb/guide/cloudflare-aig-to-vercel-aig): Swap Cloudflare's base URL and cf-aig-\* headers for Vercel's, map each model to a creator/model slug, and move caching, rate limits, and guardrails into your app.
- [Migrate from Netlify AI Gateway to Vercel AI Gateway](/kb/guide/netlify-aig-to-vercel-aig): Replace Netlify's injected provider keys and base URLs with a Vercel AI Gateway credential, map each model to a creator/model slug, and move Gemini SDK calls to a supported API.
- [Migrate from Neon AI Gateway to Vercel AI Gateway](/kb/guide/neon-aig-to-vercel-aig): Swap Neon's per-branch base URL and credential for Vercel's, map each short model ID to a creator/model slug, and replace the Gemini endpoint, rate limits, and daily spend cap.

## Migrate Your Python API

- [Migrate a Python API from Heroku to Vercel](/kb/guide/migrate-a-python-api-from-heroku-to-vercel): Move a FastAPI, Flask, or Django API from Heroku to Vercel Functions. Replace your Procfile, worker dynos, Heroku Scheduler jobs, and Heroku Postgres.
- [Migrate a Python API from Render to Vercel](/kb/guide/migrate-a-python-api-from-render-to-vercel): Move a FastAPI, Flask, or Django API from Render to Vercel Functions. Translate render.yaml and replace persistent disks, background workers, and cron jobs.
- [Migrate a Python API from Railway to Vercel](/kb/guide/migrate-a-python-api-from-railway-to-vercel): Move a FastAPI, Flask, or Django API from Railway to Vercel Functions. Replace railway.json start commands, volumes, Celery workers, and cron services.

## Migrate Your TanStack Start App

- [Migrate a TanStack Start app from Cloudflare to Vercel](/kb/guide/migrate-a-tanstack-start-app-from-cloudflare-to-vercel): Move your TanStack Start app off Cloudflare Workers and onto Vercel Functions, where Fluid compute scales it automatically. Swap to Nitro, remap your storage, and set up your environment variables, cron jobs, and queues.
- [Migrate a TanStack Start app from Netlify to Vercel](/kb/guide/migrate-a-tanstack-start-app-from-netlify-to-vercel): Move your TanStack Start app off Netlify and onto Vercel Functions, where Fluid compute scales it automatically. Swap to Nitro, remap your storage, and set up your environment variables, cron jobs, and queues.

## All Migrations guides

- [Migrate from Cloudflare Sandbox to Vercel Sandbox](/kb/guide/migrate-from-cloudflare-sandbox-to-vercel-sandbox): Move Cloudflare Sandbox code to Vercel Sandbox in TypeScript or Python, from images and snapshots to Drives, network policies, preview ports, and a staged cutover.
- [Migrate from Freestyle VMs to Vercel Sandbox](/kb/guide/migrate-from-freestyle-vms-to-vercel-sandbox): Move Freestyle VM code to Vercel Sandbox in TypeScript, from snapshots and pauses to lifecycle fields, firewall rules, credential brokering, and a staged cutover.
- [Migrate from Upstash Box to Vercel Sandbox](/kb/guide/migrate-from-upstash-box-to-vercel-sandbox): Migrate from Upstash Box to Vercel Sandbox in TypeScript or Python, including runtimes, persistent files, network policies, agents, and a staged cutover.
- [Migrate from E2B to Vercel Sandbox](/kb/guide/migrate-from-e2b-to-vercel-sandbox): Move E2B sandbox code to Vercel Sandbox in TypeScript or Python, from templates and pauses to Volumes, network rules, Secrets, and a staged cutover.
- [Migrate from Neon AI Gateway to Vercel AI Gateway](/kb/guide/neon-aig-to-vercel-aig): Swap Neon's per-branch base URL and credential for Vercel's, map each short model ID to a creator/model slug, and replace the Gemini endpoint, rate limits, and daily spend cap.
- [Migrate from Modal Sandboxes to Vercel Sandbox](/kb/guide/migrate-from-modal-sandboxes-to-vercel-sandbox): Migrate from Modal Sandboxes to Vercel Sandbox in TypeScript or Python, including images, persistent files, network policies, and a staged cutover.
- [Migrate from Netlify AI Gateway to Vercel AI Gateway](/kb/guide/netlify-aig-to-vercel-aig): Replace Netlify's injected provider keys and base URLs with a Vercel AI Gateway credential, map each model to a creator/model slug, and move Gemini SDK calls to a supported API.
- [Migrate from Cloudflare AI Gateway to Vercel AI Gateway](/kb/guide/cloudflare-aig-to-vercel-aig): Swap Cloudflare's base URL and cf-aig-\* headers for Vercel's, map each model to a creator/model slug, and move caching, rate limits, and guardrails into your app.
- [Migrate Railway workers to Vercel Daemons](/kb/guide/migrate-railway-workers-to-vercel-daemons): Move Railway workers to Vercel Daemons with Docker configuration, broker migration, shutdown testing, a gradual queue handoff, and rollback.
- [Migrate Render background workers to Vercel Daemons](/kb/guide/migrate-render-workers-to-vercel-daemons): Migrate Render workers to Vercel Daemons. Translate render.yaml, package Celery in Docker, prepare the broker, and verify the queue handoff.
- [Migrate Fly.io worker processes to Vercel Daemons](/kb/guide/migrate-fly-io-workers-to-vercel-daemons): Migrate Fly.io workers to Vercel Daemons with your existing Dockerfile. Map process settings, preserve queue state, and plan cutover and rollback.
- [Migrate a Python API from Railway to Vercel](/kb/guide/migrate-a-python-api-from-railway-to-vercel): Move a FastAPI, Flask, or Django API from Railway to Vercel Functions. Replace railway.json start commands, volumes, Celery workers, and cron services.
- [Migrate a Python API from Render to Vercel](/kb/guide/migrate-a-python-api-from-render-to-vercel): Move a FastAPI, Flask, or Django API from Render to Vercel Functions. Translate render.yaml and replace persistent disks, background workers, and cron jobs.
- [Migrate a Python API from Heroku to Vercel](/kb/guide/migrate-a-python-api-from-heroku-to-vercel): Move a FastAPI, Flask, or Django API from Heroku to Vercel Functions. Replace your Procfile, worker dynos, Heroku Scheduler jobs, and Heroku Postgres.
- [How to migrate from Cloudflare Workflows to Vercel Workflows](/kb/guide/migrate-cloudflare-workflows-to-vercel-workflows): Migrate from Cloudflare Workflows to Vercel Workflows by mapping WorkflowEntrypoint, step.do, and waitForEvent to workflow directives and hooks.
- [Migrate from Fly.io to Vercel](/kb/guide/migrate-fly-io-to-vercel): Move an app from Fly.io to Vercel. Map configuration, choose Functions or Daemons, plan persistent storage, and verify the production cutover.
- [Migrate from Google Cloud Run to Vercel](/kb/guide/migrate-cloud-run-to-vercel): Move a Cloud Run service or worker to Vercel. Compare runtimes, preserve Google Cloud access, and plan jobs, validation, and production cutover.
- [Migrate from Railway to Vercel](/kb/guide/migrate-railway-to-vercel): Migrate an app from Railway to Vercel. Choose a deployment path, configure services, plan for stored data, and test before switching production traffic.
- [Migrate from Render to Vercel](/kb/guide/migrate-render-to-vercel): Migrate from Render to Vercel: map web services, cron jobs, and containers to their equivalents, and handle what doesn't move.
- [Migrate self-hosted Next.js and containers from AWS to Vercel](/kb/guide/migrate-containers-from-aws-to-vercel): Migrate Next.js apps and HTTP containers from AWS to Vercel. Configure AWS access, assess background workers, and plan testing, DNS cutover, and rollback.
- [How to migrate from GHCR to Vercel Container Registry](/kb/guide/migrate-ghcr-to-vcr): Migrate container images from GitHub Container Registry (GHCR) to Vercel Container Registry (VCR), including authentication, multi-platform copies, and CI updates
- [Export your Webflow site and host it on Vercel](/kb/guide/webflow-vercel-drop): Learn how to export your Webflow site's code and host it on Vercel with Vercel Drop. Drag your .zip export into the browser for a live production URL with no Git or CLI setup.
- [Migrate an Astro app from Webflow Cloud to Vercel](/kb/guide/migrate-an-astro-app-from-webflow-cloud-to-vercel): Move your Astro app from Webflow Cloud to Vercel: swap the @astrojs/cloudflare adapter for @astrojs/vercel, drop the base path, map storage bindings to Vercel Blob, Redis, and Postgres, and deploy with Git or the vercel CLI.
- [Migrate a Next.js app from Webflow Cloud to Vercel](/kb/guide/migrate-a-next-js-app-from-webflow-cloud-to-vercel): Move your Next.js app from Webflow Cloud to Vercel: remove the OpenNext Cloudflare adapter, drop the base path, map storage bindings to Vercel Blob, Redis, and Postgres, and deploy with Git or the vercel CLI.
- [Migrate a TanStack Start app from Netlify to Vercel](/kb/guide/migrate-a-tanstack-start-app-from-netlify-to-vercel): Move your TanStack Start app off Netlify and onto Vercel Functions, where Fluid compute scales it automatically. Swap to Nitro, remap your storage, and set up your environment variables, cron jobs, and queues.
- [Migrate a TanStack Start app from Cloudflare to Vercel](/kb/guide/migrate-a-tanstack-start-app-from-cloudflare-to-vercel): Move your TanStack Start app off Cloudflare Workers and onto Vercel Functions, where Fluid compute scales it automatically. Swap to Nitro, remap your storage, and set up your environment variables, cron jobs, and queues.

## Explore other topics in the Vercel Knowledge Base

- [Vercel Sandbox](/kb/vercel-sandbox): Vercel Sandbox runs coding agents and AI workloads in isolated Firecracker microVMs. Snapshots and Drives carry work across sessions, and Active CPU pricing doesn't bill time spent waiting on models or I/O.
- [Comparisons](/kb/comparisons): Side-by-side comparisons of Vercel and alternative platforms, frameworks, and tools. Weigh features, pricing, and performance to choose the right fit for your project.
- [AI SDK](/kb/ai-sdk): The unified TypeScript SDK for building AI apps with modern streaming, fallbacks, and multi-model support.
- [Enterprise Apps and Agents](/kb/enterprise): Explore how enterprises build, deploy, and govern internal apps and AI agents. Learn about citizen development, shadow IT, shadow AI, access controls, and agent auditing, with guidance for turning employee-built tools into supported business applications.

## Reference Architecture

Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.

- [Agent stack](/kb/architecture/agents): Build and operate agents with models, tools, and durable workflows.
- [Web applications](/kb/architecture/web): Choose rendering, data, authentication, and caching approaches.
- [Backends](/kb/architecture/backends): Choose a runtime, connect services, and run background work.

[Browse all stacks](/kb/architecture)

## Build with prompts

Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.

[Browse the prompt library](/kb/prompts) · [Read the Markdown index](/kb/prompts.md)

## Search guides from your terminal

Search the Knowledge Base and read guides as Markdown with the Vercel CLI. No login required.

```bash
# Find guides by keyword
npx vercel@latest kb search "rewrites and redirects"
npx vercel@latest kb search "AI SDK streaming"

# Show the latest guides
npx vercel@latest kb

# Print a guide as Markdown, by slug or URL
npx vercel@latest kb inspect <guide>
```
