cloudflare/Overview

Cloudflare Developer Documentation

Comprehensive Cloudflare documentation covering Workers, AI, databases, security, networking, and platform services

cloudflareworkersaidatabasessecurity

Cloudflare Developer Documentation

Comprehensive documentation for building on Cloudflare's developer platform, covering serverless computing, AI, databases, security, networking, and infrastructure services.

Product Categories

Application Performance

  • Argo Smart Routing: Route traffic across the fastest network paths to reduce latency and packet loss
  • Automatic Platform Optimization: Improve WordPress site performance by serving from Cloudflare's global network
  • Cache / CDN: Make websites faster by caching content across Cloudflare's global server network
  • China Network: Fast, global network serving visitors inside and outside of China
  • DNS: Deliver excellent performance and reliability to your domain
  • Google Tag Gateway: Add data security and privacy controls when using Google Tag Manager
  • Health Checks: Monitor IPs or hostnames and get notified of issues
  • Load Balancing: Maximize application performance and availability
  • Smart Shield: Safeguard your origin with just a few clicks
  • Spectrum: Secure and accelerate any TCP or UDP-based application
  • Speed: Improve the performance of your website or web application
  • SSL/TLS: Encrypt web traffic to prevent data theft and tampering
  • Waiting Room: Create a virtual waiting room to manage peak traffic
  • Web Analytics: Get vital web analytics for your website
  • Web3: Gateways to networks for developing applications without worrying about running infrastructure

Application Security

  • API Shield: Identify and address API vulnerabilities
  • Bots: Protect your domain from bad bot traffic
  • Client-side Security: Provide client-side protection for website visitors
  • Challenges: Verify visitors are not bots with lightweight challenges
  • DDoS Protection: Protect against DDoS attacks automatically
  • DMARC Management: Protect your email domain and stop brand impersonation
  • Firewall Rules: Examine incoming HTTP traffic against powerful filters (deprecated, replaced by WAF custom rules)
  • Key Transparency Auditor: Secure the distribution of public keys in E2EE messaging systems
  • Secrets Store: Encrypt and store sensitive information as secrets
  • Security Center: Enhance your security posture with security products and one-click solutions
  • Turnstile: Smart CAPTCHA alternative
  • WAF: Filter incoming traffic and protect against web app vulnerabilities

Cloudflare One

  • Cloudflare Network Firewall: Protect your enterprise network with advanced firewall-as-a-service protection
  • Cloudflare One: Replace legacy security perimeters with Cloudflare's network
  • Cloudflare WAN: Replace legacy WAN and securely connect any traffic source to Cloudflare's network
  • Data Localization Suite: Control where Cloudflare stores and inspects data
  • Multi-Cloud Networking: Automate resource discovery and simplify managing public cloud infrastructure

Consumer Services

  • 1.1.1.1 (DNS Resolver): A blazing fast DNS resolver built for private browsing
  • Radar: Investigate Internet usage around the world using Cloudflare's data
  • WARP Client: Allows individuals or organizations to have a faster, more secure connection to the Internet

Core Platform

  • AI Crawl Control: Analyze and control third-party AI crawlers in your website
  • Analytics: Visualize performance, security, and reliability data
  • Billing: Manage billing, plans, and subscriptions for your account
  • Cloudflare Fundamentals: Learn about using Cloudflare and features that span across products
  • Log Explorer: Store and explore your logs in the Cloudflare dashboard or API
  • Logs: Access detailed logs with metadata from Cloudflare products
  • Network: Manage Cloudflare network settings for your website
  • Notifications: Define what you want to be notified about and how
  • Pulumi: Create, deploy, and manage Cloudflare resources in various programming languages
  • Randomness Beacon: Explore drand, a distributed service providing randomness to applications
  • Reference Architecture: Guides and diagrams explain Cloudflare products and IT architectures
  • Registrar: Buy and renew your domain at cost, add security to your DNS records
  • Rules: Modify incoming requests, change Cloudflare settings, or trigger actions
  • Ruleset Engine: Create rulesets and rules for different Cloudflare products
  • Support: Cloudflare Support-focused documentation
  • Tenant: Provision and manage Cloudflare accounts and services for your team or customers
  • Terraform: Define and store Cloudflare configurations in source code repositories
  • Time Services: Cloudflare's suite of time services: NTP, NTS, and Roughtime
  • Cloudflare Tunnel: Connect your origin servers, APIs, and services to Cloudflare without a publicly routable IP address
  • Version Management: Safely manage configurations with versioning, staging, and rollbacks

Developer Platform

AI & Machine Learning

  • Agent Lee: AI co-pilot built into the Cloudflare dashboard
  • Agents: Build AI-powered agents to perform tasks, persist state, browse the web, and communicate in real-time
  • AI: Run AI models on Cloudflare's global network
  • AI Gateway: Observe and control your AI applications
  • AI Search: Create fully managed RAG pipelines for your AI applications
  • Workers AI: Run machine learning models, powered by serverless GPUs, on Cloudflare's global network

Compute & Serverless

  • Workers: Build and deploy serverless applications globally with low latency
  • Dynamic Workers: Spin up isolated Workers on demand to execute code
  • Containers: Enhance your Workers with serverless containers
  • Pages: Build full-stack, serverless applications globally with minimal configuration
  • Hyperdrive: Accelerate database queries to make databases fast globally

Databases & Storage

  • D1: Create managed, serverless databases with SQL semantics
  • Durable Objects: A special kind of Cloudflare Worker combining compute with storage
  • KV: Global, low-latency, key-value data storage
  • R2: S3-compatible object storage without egress fees
  • Queues: Reliable message delivery for the entire Cloudflare developer platform
  • Workflows: Build durable, stateful multi-step workflows on Cloudflare's global network

Email

  • Email Routing: Create and manage email addresses and route to your preferred inbox
  • Email Service: Send transactional emails at scale with Cloudflare Email Service

Media & Streaming

  • Images: Store, transform, optimize, and deliver images at scale
  • Stream: Upload, transcode, and embed videos at scale
  • MoQ: Protocol for live media

Networking & Security

  • argo-tunnel: Securely connect origin servers without a public IP
  • Private Networking: Connect your infrastructure privately to Cloudflare
  • Sentry: Error tracking and performance monitoring
  • Vectorize: Vector database for AI applications
  • Browser Rendering: Control and interact with headless browser instances programmatically

Additional Resources

  • Cloudflare for Platforms: Build your own multi-tenant platform using Cloudflare as infrastructure
  • BYOIP: Bring your own IP addresses to Cloudflare
  • Sandbox: Isolated environment for testing and development
  • Python Workers: Run Python workloads on Cloudflare Workers

Getting Started

1. Create a Cloudflare Account

Sign up at dash.cloudflare.com and add your domain.

2. Choose Your Tools

  • For static sites: Use Pages with automatic deployments
  • For dynamic apps: Use Workers with KV, D1, or Durable Objects
  • For AI applications: Use Workers AI with Vectorize or AI Gateway
  • For databases: Use D1 for SQL or Durable Objects for stateful workloads

3. Install Wrangler CLI

npm install -g wrangler

4. Deploy Your First Worker

wrangler init my-worker
cd my-worker
wrangler deploy

Architecture Overview

Global Network

Cloudflare operates in 300+ cities across 100+ countries, providing:

  • 100% uptime SLA for enterprise
  • DDoS mitigation at the network edge
  • Automatic SSL/TLS certificate management
  • Built-in caching and CDN

Security Stack

  • Edge Firewall: WAF, DDoS Protection, Bot Management
  • API Protection: API Shield, Rate Limiting, mTLS
  • Access Control: Zero Trust Network Access, SSO, MFA
  • Data Protection: Secrets Store, DLP, Certificate Management

Developer Experience

  • Wrangler CLI: Local development and deployment
  • Dashboard: Visual management of all services
  • REST API: Programmatic access to all features
  • Terraform/Pulumi: Infrastructure as code support