Free course
Cloudflare Course
Master the Cloudflare platform: DNS, caching, TLS, and security foundations, then Pages, KV, R2, Hyperdrive, Durable Objects, Queues, Workflows, Turnstile, Tunnel, and AI.
Your progress
of lessons completed.
Course completed.
What you'll learn
Understand how Cloudflare works end to end, then build with every major platform product: deploy sites, store values and objects, reach SQL databases, coordinate state, run background work, protect forms, publish private services, and ship AI features.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse contents
The Cloudflare network
Understand zones, authoritative DNS, proxy status, anycast, reverse proxying, and origins.
Requests, TLS, and cache
Trace HTTPS requests, secure origin connections, read cache status, and control freshness.
Security foundations
Use DDoS protection, WAF rules, rate limits, bot controls, and origin protection deliberately.
Developer platform map
Choose among Workers, Pages, bindings, storage, state, background work, networking, and AI.
Accounts, operations, and cost
Separate scopes, tokens, environments, analytics, limits, billing, rollback, and ownership.
Pages foundations
Choose Pages, prepare build output, and understand projects, deployments, and environments.
Git and direct deployments
Use Git integration or Direct Upload, preview changes, and control production releases.
Domains, redirects, and headers
Attach domains, configure static routing, and verify cache and security headers.
Functions, bindings, and operations
Add request handlers, inject bindings and secrets, observe failures, and recover safely.
KV foundations
Understand namespaces, bindings, keys, values, metadata, global reads, and central writes.
Read, write, and expire values
Use the binding API, serialization, expiration, bulk work, and predictable key design.
Consistency and patterns
Design caches, configuration, preferences, and rate helpers around eventual consistency.
Test, observe, and operate KV
Separate local and remote data, test stale paths, monitor usage, and recover safely.
R2 foundations
Understand buckets, objects, keys, metadata, Workers bindings, S3 compatibility, and egress.
Read, write, and stream objects
Put, get, head, list, delete, conditionally update, and stream without unsafe buffering.
Uploads and delivery
Design browser uploads, multipart work, CORS, custom domains, caching, and private access.
Lifecycle, security, and operations
Control credentials, object ownership, retention, lifecycle rules, replication, and recovery.
Hyperdrive foundations
Understand connection setup cost, distributed pooling, supported databases, and fit.
Connect and query
Create a configuration, bind it, use a driver, and separate local and remote connections.
Cache and consistency
Control query caching, read-after-write paths, transactions, and connection lifecycle.
Secure, test, and operate
Protect credentials, use private connectivity, tune pools, observe queries, and recover.
Durable Object foundations
Choose a coordination atom, route deterministic IDs, understand placement, and avoid global bottlenecks.
RPC and SQLite storage
Create typed methods, initialize schemas, query SQLite, and separate durable from memory state.
Concurrency and correctness
Use gates, transactions, idempotency, versioning, and external I/O without races.
Alarms and WebSockets
Schedule per-entity work and maintain real-time clients through hibernation.
Test, migrate, and operate
Test instances and alarms, add migrations, observe failures, clean up, and evolve classes.
Asynchronous foundations
Separate request latency, background work, messages, jobs, and multi-step processes.
Queue producers and consumers
Send messages, batch consumption, acknowledge results, retry failures, and delay work.
Delivery and failure
Design for at-least-once delivery, idempotency, dead letters, backpressure, and replay.
Workflow steps and waits
Persist step results, retry narrowly, sleep, wait for events, and inspect instances.
Compose, test, and operate
Combine Queues and Workflows, test failure paths, observe progress, cancel, and recover.
Turnstile foundations
Understand the challenge flow, widgets, site keys, secret keys, tokens, and boundaries.
Client integration
Render implicit and explicit widgets, handle lifecycle events, accessibility, and forms.
Server validation
Call Siteverify, fail closed, verify context, prevent replay, and keep secrets private.
Test, monitor, and operate
Use test keys, cover failure paths, inspect analytics, rotate keys, and tune placement.
Tunnel foundations
Understand connectors, outbound connections, origins, public hostnames, routes, and trust.
Publish a service
Create a tunnel, install cloudflared, map a hostname, protect the origin, and verify TLS.
Private network access
Advertise CIDRs, enroll clients, add identity policy, and test route and DNS behavior.
High availability and operations
Add replicas, monitor connectors, update safely, rotate credentials, and recover.
Workers AI foundations
Choose models, bind AI, run inference, stream results, estimate cost, and handle failures.
Embeddings and Vectorize
Chunk content, create compatible embeddings, index metadata, query, filter, and evaluate retrieval.
AI Gateway
Route providers, observe requests, control caching and rate limits, redact data, and fail over.
Agents SDK foundations
Create per-user agents with SQLite state, callable methods, routing, and WebSocket clients.
Chat, tools, and approvals
Stream chat, persist messages, validate tools, require approval, and defend trust boundaries.
Evaluate, secure, and operate
Test retrieval and tools, constrain data, inspect traces, control cost, recover, and improve.