Skip to content

Cloudflare

Cloudflare is a connectivity cloud company offering CDN, DNS, DDoS protection, WAF and edge compute to roughly 20% of the web, founded in 2009.

Definition

What it is

Cloudflare is an American company founded in 2009 that operates one of the largest networks on the public internet. Its original product was a reverse proxy: a site changes its DNS nameservers to Cloudflare, and from that moment every request passes through Cloudflare's edge before reaching the origin. The edge caches static assets, filters malicious traffic, terminates TLS and, increasingly, runs application logic itself.

The company describes itself as a "connectivity cloud", a category it coined to distinguish itself from both traditional CDNs (Akamai, Fastly) and hyperscalers (AWS, Azure, GCP). The distinction is architectural: Cloudflare's network is anycast, meaning the same IP address is announced from hundreds of locations and BGP routes each user to the nearest one. There is no region to choose and no availability zone to configure; the network is the region.

Why it matters

The first reason is security. A DDoS attack that would saturate an origin's uplink is absorbed by the anycast network: traffic is spread across hundreds of points of presence, each of which filters and drops malicious packets before they reach the origin. The same network terminates TLS, so the origin never handles the handshake, and applies a WAF that blocks injection, cross-site scripting and known vulnerabilities at the edge.

The second reason is performance. Static assets are cached at the edge, close to the user, so a request from Bogotá is served from a PoP in Bogotá or Miami rather than from a server in Virginia. Dynamic requests still traverse the network, but the TLS handshake, the TCP connection and the HTTP/2 or HTTP/3 negotiation happen at the edge, which reduces round trips.

The third reason is economics. Cloudflare's free plan includes unmetered DDoS protection, a shared TLS certificate, a CDN and DNS. For a small site, that is a complete security and performance stack at zero cost. The paid plans add WAF rules, image optimisation, load balancing and edge compute.

How it works

The network layer is the original business. DNS is authoritative and anycast: 1.1.1.1 is one of the most-used public resolvers. The CDN caches by file extension and by cache rules. The WAF evaluates requests against managed rule sets (OWASP, Cloudflare-specific) and custom rules. DDoS protection is always on, including on the free plan.

The developer platform is the newer business. Workers runs JavaScript, TypeScript, Python or Rust functions at the edge, with V8 isolates rather than containers, so cold starts are measured in milliseconds. R2 is S3-compatible object storage with zero egress fees, positioned explicitly against AWS S3's egress pricing. D1 is a serverless SQLite database. KV is a global key-value store. Durable Objects provide strongly consistent coordination primitives. Pages hosts static sites and full-stack frameworks.

The zero-trust layer is the enterprise business. Cloudflare Tunnel (cloudflared) creates an outbound-only connection from a private network to Cloudflare, so a self-hosted service can be exposed without opening inbound ports. Access puts an identity-aware proxy in front of that service. WARP is the client that routes device traffic through the network.

Common failures

The first failure is WAF false positives. Managed rule sets are conservative but not perfect; a rule that blocks SQL injection patterns can also block a search query that contains a quote. Log mode and staged rollout are the mitigation.

The second failure is Workers CPU limits. Workers are designed for short-lived requests; a function that needs more than 50 ms of CPU on the paid plan (10 ms on free) will be terminated. Long-running jobs belong on a container or a queue consumer, not on a request handler.

The third failure is R2 consistency. R2 is strongly consistent for reads after writes in the same region, but multi-region patterns need to account for replication. Treating R2 as a drop-in replacement for a transactional database is a category error.

The fourth failure is free-plan gravity. The free plan is generous, but it has no SLA, no support and shared rate limits. A production workload that depends on it is a workload without a contract.

Origin

In 2004 Matthew Prince, then an adjunct law professor, and Lee Holloway built Project Honey Pot, a distributed system that tracked email spammers by planting honeypot addresses across thousands of websites. The project collected the IP addresses and patterns of spammers, and the data suggested a broader opportunity: the same techniques could identify and block malicious traffic to any website.

In 2009 Prince enrolled at Harvard Business School, where he met Michelle Zatlyn. The two wrote a business plan for a service that would protect websites from attacks and speed them up. They brought in Holloway to run engineering, and the three founded Cloudflare in June 2009. The company launched publicly at TechCrunch Disrupt in 2010, won the conference's audience award, and grew from there.

Cloudflare filed its S-1 in August 2019 and went public on the New York Stock Exchange on 13 September 2019 under the ticker NET, at an IPO price of USD 18 per share, valuing the company at more than USD 5 billion. At the time it handled traffic for more than 20 million websites through 193 data centers. By 2024 it reported USD 1.67 billion in annual revenue and 237,714 paying customers.

We started out with what seemed like a pretty simple idea, which is, 'How do you put a firewall on a cloud?'

— Matthew Prince, co-founder and CEO of Cloudflare, Investor's Business Daily, 2025

Evidence

FAQ

Is the free plan really free?

Yes, for the core network services: DNS, CDN, DDoS protection and a shared TLS certificate. It has no SLA, no support and shared rate limits. Paid plans add WAF rules, image optimisation, load balancing and edge compute quotas.

Does Cloudflare replace my DNS provider?

It becomes your authoritative DNS provider: you change the nameservers at your registrar to Cloudflare's. The original DNS records are imported, and from then on Cloudflare answers queries and proxies traffic.

What are Workers?

Serverless functions that run at the edge on V8 isolates. They handle requests, transform responses, implement APIs and run scheduled jobs. The runtime is not Node.js; it is a standards-based subset with its own APIs and limits.

Why is R2 cheaper than S3?

Because Cloudflare does not charge for egress. R2 is S3-compatible for the API, but the pricing model removes the per-gigabyte data-transfer fee that dominates S3 bills for read-heavy workloads.

Is the "20% of the web" claim accurate?

It is Cloudflare's own estimate, based on the share of websites that use its nameservers. Independent measurements vary, but the order of magnitude is consistent across sources.

Pros and cons

Pros

  • Global anycast network with DDoS protection on every plan, including free.
  • Free tier covers DNS, CDN and TLS for small sites at zero cost.
  • Developer platform (Workers, R2, D1, KV, Durable Objects, Pages) with generous free quotas and zero egress on R2.
  • Zero Trust (Tunnel, Access, WARP) lets self-hosted services be exposed without inbound ports.
  • One control plane for DNS, security, performance and edge compute.

Cons

  • Concentration risk: a misconfiguration at Cloudflare can take a large fraction of the web offline, as the 2019 and 2022 incidents showed.
  • Content-policy exposure: sitting in front of the site means every moderation decision becomes Cloudflare's decision.
  • Workers limits (CPU, memory, subrequests) exclude long-running and stateful workloads.
  • Some advanced features (Load Balancing, Spectrum, enterprise WAF) are priced for enterprises, not for small teams.
  • R2 is S3-compatible but not S3-identical; some SDKs and tools need adaptation.

Key numbers

Jun 2009Cloudflare founded by Prince, Zatlyn and Holloway
2010public launch at TechCrunch Disrupt
13 Sep 2019IPO on NYSE (NET) at USD 18/share
201920M+ websites, 193 data centers at IPO
FY2024USD 1,669.6M revenue, +29% year over year
Q4 2024USD 459.9M revenue, +27% year over year
237,714paying customers at end of 2024
173customers spending more than USD 1M/year, +47% YoY

Timeline

  1. 2004 — Prince and Holloway build Project Honey Pot.

  2. 2009 — Prince meets Zatlyn at Harvard; Cloudflare is founded in June.

  3. 2010 — public launch at TechCrunch Disrupt.

  4. 2014 — Cloudflare gives away Universal SSL, making HTTPS free for millions.

  5. 2018 — 1.1.1.1 public DNS resolver launches.

  6. 13 September 2019 — IPO on the NYSE.

  7. 2020 — Workers and the developer platform expand.

  8. 2022 — R2 object storage launches with zero egress.

  9. 2024 — USD 1.67B revenue, 237,714 paying customers.

Entities

Products and organisations in the Cloudflare story

nombretiporolurlestado
Cloudflareproductoconnectivity cloudhttps://cloudflare.comactivo
Matthew Princepersonacofundador y CEOhttps://blog.cloudflare.com/author/matthew-prince/activo
Michelle Zatlynpersonacofundadora y COOhttps://blog.cloudflare.com/author/michelle-zatlyn/activo
Lee Hollowaypersonacofundador, ingeniería(histórico)histórico
Project Honey Potproyectohoneypot anti-spam, origen de la ideahttps://www.projecthoneypot.org/histórico
Workersproductofunciones serverless en el edgehttps://workers.cloudflare.com/activo
R2productoobject storage S3-compatible sin egresshttps://www.cloudflare.com/developer-platform/r2/activo
Tunnelproductoexposición de servicios privados sin puertos abiertoshttps://developers.cloudflare.com/cloudflare-one/connections/connect-networks/activo
Akamaiproductocompetidor CDN tradicionalhttps://akamai.comactivo
AWSproductocompetidor hyperscalerhttps://aws.amazon.comactivo

Learning path

Progression from beginner to expert

  1. Prerequisite

    cdn, dns, http, tls

  2. This term

    You are here: cloudflare.

  3. Next

    cloudflare-workers, cloudflare-r2, cloudflare-tunnel, zero-trust, waf

Connections

  • cdn
  • dns
  • waf
  • ddos-protection
  • cloudflare-workers
  • cloudflare-r2
  • cloudflare-tunnel
  • zero-trust

Sources

Etymology

Origin: compound

  • cloud (noun): Old English clud, a mass of cloud; metaphor for distributed computing
  • flare (noun): from Latin flagrare, to burn; a sudden bright light, as in a solar flare

Semantic network

Cloudflarecloud-compedge-compuCDNDNSwafddos-protecloudflarecloudflarecloudflare

● broader ● narrower ● related

Broader

  • cloud-computing
  • edge-computing

Related

  • CDN
  • DNS
  • waf
  • ddos-protection
  • cloudflare-workers
  • cloudflare-r2
  • cloudflare-tunnel

Used in the garden

Sources