---
title: Infrastructure and Compute
description: Scale and deliver applications efficiently across regions using Vercel's Fluid Compute and CDN.
url: "https://vercel.com/kb/infrastructure-and-compute"
published: 2025-11-03
last_updated: 2026-10-15
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest kb search "<query>"
---

# Infrastructure and Compute

Scale and deliver applications efficiently across regions using Vercel's Fluid Compute and CDN.

## 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.

## Deploy a Docker App on Vercel

- [Deploy Rust on Vercel with Docker](/kb/guide/deploy-rust-on-vercel-with-docker): Build a Rust application with Axum and Docker, then deploy it to Vercel Functions. Learn how to configure environment variables, managed storage, and preview deployments for your project.
- [Deploy a Node.js Fastify app on Vercel with Docker](/kb/guide/deploy-nodejs-on-vercel-with-docker): Build a Node.js application with Fastify and Docker, then deploy it to Vercel Functions. Learn how to configure environment variables, managed storage, and preview deployments for your project.
- [Deploy PHP on Vercel with Docker](/kb/guide/deploy-php-on-vercel-with-docker): Build a PHP application with FrankenPHP and Docker, then deploy it to Vercel Functions with managed configuration, storage, and preview deployments.
- [Deploy Go apps on Vercel using Docker](/kb/guide/deploy-go-using-docker-vercel): Deploy an existing Dockerized Go app to Vercel using Memos as a real-world example, with Neon Postgres for durable data.
- [Deploy Python apps on Vercel using Docker](/kb/guide/vercel-docker-python-apps): Deploy a Dockerized Python application that depends on native software, OCR engines, or small local models, plus a Next.js frontend, on Vercel Services.
- [Deploy ASP.NET Core on Vercel with Docker](/kb/guide/dot-net-asp-net-on-vercel-with-docker): Build a .NET application with Docker and deploy it to Vercel Functions. Learn how to configure environment variables, integrations, and preview deployments for your ASP.NET Core application.

## All Infrastructure and Compute guides

- [How to stop traffic to an old deployment on Vercel](/kb/guide/how-to-stop-traffic-to-an-old-deployment-on-vercel): Move production traffic to the new deployment, restrict access to the old deployment, and check remaining function activity and background work.
- [The Complete Guide to Vercel Daemons](/kb/guide/vercel-daemons): Run background workers with Vercel Daemons. Learn how to deploy container images, configure resources, handle shutdowns, and manage instances.
- [How to add per-request CSP nonces to CDN-cached HTML on Vercel](/kb/guide/csp-nonces-with-cdn-cache): Use Routing Middleware and a self-fetch to add a fresh CSP nonce to cached HTML without rendering the page again on every request.
- [Does Vercel support Docker deployments?](/kb/guide/does-vercel-support-docker-deployments): Vercel supports deploying OCI-compatible container images through Vercel Functions and Vercel Container Registry, with Active CPU pricing and automatic scaling.
- [How Fluid compute pricing compares to EC2, Fargate, and EKS](/kb/guide/fluid-compute-vs-cloud-cost): Compare Fluid compute with Active CPU pricing to Amazon EC2, AWS Fargate, and Amazon EKS on cost per active vCPU-hour, and see why provisioned pricing hides the cost of idle CPU.
- [How Vercel Sandbox duration and persistence work](/kb/guide/vercel-sandbox-duration-and-persistence): Session duration and persistence are two separate controls in Vercel Sandbox. The timeout option keeps a single run alive for up to 24 hours, while snapshots and persistent sandboxes carry state across runs for long-running agents and pipelines.
- [Add Python code execution to a TypeScript AI agent with Vercel Sandbox](/kb/guide/python-ai-sdk-vercel-sandbox): Add an \`executeCode\` tool to your TypeScript AI SDK agent with the \`ai-sdk-tool-code-execution\` package to run Python 3.13 inside an isolated Vercel Sandbox.
- [How Vercel Services run on Fluid compute](/kb/guide/vercel-services-fluid-compute): The backends in a Vercel Services project run as Vercel Functions on Fluid compute by default. Learn how optimized concurrency, Active CPU pricing, and per-service memory and maxDuration settings make multi-backend projects efficient.
- [Choosing how to structure your application on Vercel](/kb/guide/structure-your-application): Compare three ways to structure an application on Vercel (a single framework, one project with Services, or separate projects in a monorepo) and learn how to choose based on domains, deploy coupling, and languages.
- [Build a real-time chat app with WebSockets on Vercel](/kb/guide/real-time-chat-websockets): Build and deploy a single-room messaging app in Next.js with real-time chat, typing indicators, and live online user counts using WebSockets and Redis.
- [Add structured application logs to Vercel Functions](/kb/guide/add-structured-application-logs-to-vercel-functions): Learn how to add structured application logs to Vercel Functions to help troubleshoot function issues in real time.
- [Managing Redirects from your CMS using Vercel Bulk Redirects](/kb/guide/managing-redirects-from-your-cms-using-vercel-bulk-redirects): Learn how to sync redirect rules from your CMS to Vercel at build time with vercel.ts, allowing non-technical teams to manage vanity URLs and product redirects without code changes.
- [How to effectively load test your application on Vercel](/kb/guide/how-to-effectively-load-test-your-vercel-application): Learn how to safely load test your Next.js app on Vercel. This guide covers realistic, policy-compliant testing of routes, caching, middleware, and databases to uncover performance issues without impacting Vercel’s infrastructure.
- [What is Vercel's policy regarding load testing deployments?](/kb/guide/what-s-vercel-s-policy-regarding-load-testing-deployments): Learn about Vercel's policies regarding load tests.
- [How to resolve IP blocking issues](/kb/guide/how-to-resolve-ip-blocking-issues): Learn to troubleshoot IP blocking issues for both shared and personal networks.
- [How to choose the right Vercel networking option](/kb/guide/how-to-choose-the-right-vercel-networking-option): Decide whether your project needs a networking option at all, then choose between Static IPs, AWS PrivateLink, Secure Compute, and Bring Your Own Cloud.
- [Running OpenClaw in Vercel Sandbox](/kb/guide/running-openclaw-in-vercel-sandbox): This guide walks you through setting up OpenClaw inside a Vercel Sandbox and configuring the WhatsApp channel.

## 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.
- [Retail](/kb/retail): Build resilient storefronts and e-commerce experiences that hold up when traffic spikes.
- [Security](/kb/security): Block bots and abusive traffic, rate limit your APIs, protect deployments, and support PCI DSS, HIPAA, and SOC 2 compliance with the Vercel Firewall and BotID.
- [Agent Stack](/kb/agent-stack): Connect agents to any model, run multi-step work in durable workflows and isolated sandboxes, and give them scoped access to your data, tools, and chat apps.

## 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>
```
