Foundations
How Cloudflare works & where we sit
Before the product demos, here's the big picture: what Cloudflare actually is on the Internet, how a request flows through us, our global network, and how sharing one network with millions of other customers makes everyone safer and faster.
Where Cloudflare sits
Cloudflare is a reverse proxyreverse proxyA server that sits between visitors and your origin, forwarding requests and applying services (security, caching) on the way. Cloudflare is a reverse proxy.: we sit in front of your website. Instead of visitors connecting straight to your originoriginYour own web server or host where your website actually lives. Cloudflare sits in front of it. server, their request first arrives at the nearest Cloudflare PoPPoPPoint of Presence — a physical Cloudflare data center location where our servers process traffic. More PoPs means we're closer to more users.. We apply security and performance there, then — only if we have to — forward the request to your origin.
via AnycastAnycastA networking trick where one IP address is announced from many locations at once, so each user is automatically routed to the nearest Cloudflare data center.→
1 · Get there fast
AnycastAnycastA networking trick where one IP address is announced from many locations at once, so each user is automatically routed to the nearest Cloudflare data center. routing sends each user to the closest of our 330+ cities automatically, cutting latencylatencyThe delay before data starts transferring — essentially how long a user waits. Lower is better.. No matter where someone is, Cloudflare is usually milliseconds away.
2 · Do the work at the edge
At that location we serve cached content, run the WAFWAFWeb Application Firewall — inspects web requests and blocks malicious ones (like SQL injection and XSS) before they reach your site., absorb DDoSDDoSDistributed Denial of Service — an attack that floods a site with junk traffic from many sources to knock it offline. floods, score botsbotAutomated software making requests instead of a human. Some bots are good (search engines); many are malicious., terminate SSL/TLSTLSTransport Layer Security (formerly SSL) — the encryption behind HTTPS and the padlock in your browser., and more — all before traffic ever reaches you.
3 · Only bother the origin when needed
Static content is served straight from cachecacheStoring copies of content so it can be served quickly without fetching or recomputing it every time.. Your originoriginYour own web server or host where your website actually lives. Cloudflare sits in front of it. only sees the requests that truly need it, which is huge origin offloadorigin offloadReducing how much traffic reaches your origin by serving it from Cloudflare's cache/edge instead. and cost savings.
Our global network
Every dot is a data center running the full Cloudflare stack.
Each orange dot is a Cloudflare data center city (a representative sample — the real network spans 330+ cities in 120+ countries). Blue squares are AWS cloud regions, shown to illustrate the architectural difference. Positions are approximate and for illustration only.
How we compare
Where competitors sit — and why the model matters.
On the map above, notice the difference in shape. Cloudflare's orange dots are spread densely near population centers worldwide. A traditional cloud like AWS concentrates compute in a relatively small number of large regions (blue squares). Both serve global users, but Cloudflare does the security and performance work at the edgethe edge“The edge” means Cloudflare's servers spread across the world, close to your users — as opposed to one central data center. — right next to the user — rather than sending traffic back to a distant region.
| Provider | Network model | Approx. footprint | Egress |
|---|---|---|---|
| Cloudflare | Single global network — every security & performance service runs in every location | 330+ cities / 120+ countries | No egress fees (R2) |
| AWS (CloudFront + regions) | CDN edge caches, but compute/data concentrated in a few large regions | ~600+ edge PoPs / ~30+ regions | Egress charged |
| Akamai | Very large CDN-first edge; security & compute bolted on separately | ~4,000+ edge locations | Egress charged |
| Fastly | Fewer, larger POPs; edge compute focus | ~90+ POPs | Egress charged |
| Google / Azure CDN | Cloud-region centric with a CDN layer added on | Many edge nodes / regional DCs | Egress charged |
Figures are approximate and publicly cited numbers, provided for illustration. The point isn't the raw count — it's the model: Cloudflare runs the entire stack in every location, close to users.
How we interact with other customers
One shared, multi-tenantmulti-tenantOne shared platform serving many customers at once, with strong isolation between them. network — and why that's an advantage.
shared threat intelligence
Millions of Internet properties run on the same Cloudflare network. Each customer is fully isolated — your traffic and data are your own — but the intelligence is shared.
Because Cloudflare sees a very large share of all web traffic, when we spot a new attack, botbotAutomated software making requests instead of a human. Some bots are good (search engines); many are malicious. pattern, or malicious IPIP addressA numeric address that identifies a device or server on the Internet. hitting one customer, we can instantly use that knowledge to protect every customer.
The network effect: more customers make the managed rulesetsmanaged rulesetA set of security rules that Cloudflare writes and keeps up to date for you, so you don't have to maintain them. smarter and the whole network stronger and faster for everyone on it — something a single, isolated deployment can never do.