Tuần đầu học Cloudflare Your first week with Cloudflare

Bạn không cần học hết Cloudflare trong một tuần. Lộ trình 7 ngày này giúp bạn có mental model, chọn đúng track và làm một việc nhỏ có kết quả — phù hợp người đi làm hoặc sinh viên mới tiếp cận. You do not need to learn all of Cloudflare in one week. This 7-day path gives you a mental model, the right track, and one small win — ideal for professionals or students new to the platform.

Ngày 1 Day 1

Ngày 1 — Cloudflare là gì? Day 1 — What is Cloudflare?

Hiểu Cloudflare là lớp giữa user và app/network, không phải “chỉ DNS”. Understand Cloudflare as a layer between users and apps/networks — not “just DNS”.

  • Đọc Start Here (30 phút) Read Start Here (~30 min)
  • Vẽ sơ đồ: User → Cloudflare → origin/app của bạn Sketch: User → Cloudflare → your origin/app
  • Ghi 1 vấn đề bạn muốn giải (tốc độ, bảo mật, build mới, Zero Trust) Write one problem you want to solve (speed, security, new build, Zero Trust)
Ngày 2 Day 2

Ngày 2 — Chọn lộ trình Day 2 — Pick your track

Chọn 1 trong 3 track: Application Services, Developer Platform, Cloudflare One. Choose one of three tracks: Application Services, Developer Platform, or Cloudflare One.

  • Làm Choose Your Path (5 phút) Complete Choose Your Path (~5 min)
  • Đọc phần “ai phù hợp” và mental model của track Read “who is this for” and the track mental model
  • Bookmark 1 use case liên quan Bookmark one related use case
Ngày 3 Day 3

Ngày 3 — Học module đầu tiên Day 3 — First track module

Hoàn thành module 1 của track — chỉ lý thuyết + ghi chú, chưa cần production. Finish module 1 of your track — theory and notes only, no production required yet.

  • Đọc 2–3 lesson trong module 1 Read 2–3 lessons in module 1
  • Ghi 3 thuật ngữ mới vào sổ (hoặc dùng glossary hub) Note 3 new terms (or use the hub glossary)
  • Mở 1 link Developer Docs hoặc 1 mục Changelog từ Resource Hub Open one Developer Docs or Changelog entry from the Resource Hub
Ngày 4 Day 4

Ngày 4 — Tình huống thực tế Day 4 — Practical use case

Áp dụng mental model vào một scenario cụ thể (website, API, serverless, VPN). Apply the mental model to one scenario (website, API, serverless, VPN).

  • Đọc 1 use case end-to-end Read one use case end-to-end
  • Liệt kê 3 bước bạn sẽ làm trên project thật List 3 steps you would take on a real project
  • Xem 1 Reference Architecture hoặc repo GitHub gợi ý Skim one Reference Architecture doc or suggested GitHub repo
Ngày 5 Day 5

Ngày 5 — Checklist & kiểm tra Day 5 — Checklist & knowledge check

Tự đánh giá gap — biết mình thiếu gì trước khi đụng production. Self-assess gaps before touching production.

  • Tick ít nhất 50% beginner checklist Check at least 50% of the beginner checklist
  • Làm bài kiểm tra 12 câu — đọc giải thích câu sai Take the 12-question knowledge check — read explanations for misses
  • Ghi lại 1 chủ đề cần ôn thêm Write down one topic to review
Ngày 6 Day 6

Ngày 6 — Thử tay (sandbox) Day 6 — Hands-on (sandbox)

Một thao tác nhỏ trên dashboard hoặc Wrangler — không cần hoàn hảo. One small action in the dashboard or with Wrangler — perfection not required.

  • Application Services: thêm site test / xem DNS & SSL overview Application Services: add a test site / review DNS & SSL overview
  • Developer Platform: `wrangler init` hoặc deploy demo Pages từ template Developer Platform: `wrangler init` or deploy a Pages demo from a template
  • Cloudflare One: xem Zero Trust dashboard & Access policy mẫu Cloudflare One: explore Zero Trust dashboard & sample Access policy
  • Đăng ký tài khoản free nếu chưa có (không cần thẻ) Sign up for a free account if needed (no card required)
Ngày 7 Day 7

Ngày 7 — Kế hoạch 30 ngày tiếp Day 7 — Your next 30 days

Chốt 1 mục tiêu production (hoặc lab) và 1 nguồn học chính thức để theo dõi. Lock one production (or lab) goal and one official learning source to follow.

  • Viết “Definition of done” cho tuần tới (1 câu) Write a one-sentence “definition of done” for next week
  • Tham gia workshop hub hoặc bookmark Learning Center topic Join a hub workshop or bookmark a Learning Center topic
  • Đọc mục “Cập nhật nền tảng 2026” bên dưới — tránh học tên sản phẩm cũ Read “Platform snapshot 2026” below — avoid outdated product names
  • Bookmark /status và đăng ký cập nhật trên trang status chính thức Bookmark /status and subscribe on the official status page

Sai lầm phổ biến (tránh sớm) Common mistakes (avoid early)

Học lẫn lộn tên sản phẩm (WAF, Cloudflare WAN/Magic WAN, Vectorize…) trước khi có use case Memorizing product names (WAF, Cloudflare WAN/Magic WAN, Vectorize…) before having a use case

Dễ overwhelm và không biết bắt đầu từ đâu trên dashboard. Leads to overwhelm and not knowing where to start in the dashboard.

Thay vào đó: Instead: Bắt đầu từ Start Here → chọn track → 1 use case. Start at Start Here → pick a track → one use case.

Dùng SSL/TLS “Flexible” khi origin đã có HTTPS Using SSL/TLS “Flexible” when origin already serves HTTPS

Có thể gây redirect loop hoặc traffic HTTP nội bộ không mong muốn. Can cause redirect loops or unintended HTTP between Cloudflare and origin.

Thay vào đó: Instead: Ưu tiên Full (strict) khi origin có cert hợp lệ. Prefer Full (strict) when origin has a valid certificate.

Cache mạnh trang login/checkout có cookie session Aggressively caching login/checkout pages with session cookies

User A có thể thấy nội dung của User B — lỗi bảo mật nghiêm trọng. User A might see User B’s content — a serious security issue.

Thay vào đó: Instead: Cache static assets; bypass cache cho HTML/API động. Cache static assets; bypass cache for dynamic HTML/API.

Dùng KV như database quan hệ Using KV as a relational database

KV eventual consistency, không có query SQL — không phù hợp giao dịch phức tạp. KV is eventually consistent with no SQL — not for complex transactions.

Thay vào đó: Instead: Dùng D1 cho dữ liệu có schema; KV cho config/flags/cache nhẹ. Use D1 for schema’d data; KV for config/flags/light cache.

Coi Zero Trust Access như “VPN mới” — mở full network Treating Zero Trust Access like a “new VPN” with full network access

Mất lợi ích least-privilege và audit theo từng app. You lose least-privilege and per-app audit benefits.

Thay vào đó: Instead: ZTNA: policy theo app + identity; SWG cho Internet browsing. ZTNA: per-app + identity policies; SWG for Internet browsing.

Tìm “Argo Tunnel” trong docs mới Searching for “Argo Tunnel” in current docs

Tên đã đổi thành Cloudflare Tunnel (`cloudflared`) trong Zero Trust. Renamed to Cloudflare Tunnel (`cloudflared`) in Zero Trust.

Thay vào đó: Instead: Dùng Cloudflare Tunnel / `cloudflared` — xem docs Zero Trust connectivity. Use Cloudflare Tunnel / `cloudflared` — see Zero Trust connectivity docs.

Cập nhật nền tảng (2026) Platform snapshot (2026)

Danh sách này cập nhật theo hướng dẫn chính thức đầu 2026. Đối chiếu developers.cloudflare.com và /changelog (Developer Changelog) trước khi triển khai production. This list aligns with official guidance as of early 2026. Cross-check developers.cloudflare.com and /changelog (Developer Changelog) before production.

Hiện tại Current

Workers AI Workers AI

Chạy model inference trên mạng Cloudflare qua binding — không cần GPU riêng cho demo nhỏ. Run model inference on Cloudflare’s network via bindings — no separate GPU for small demos.

Docs chính thức Official docs
Hiện tại Current

AI Gateway AI Gateway

Quản trị request tới OpenAI/Anthropic và Workers AI: cache, log, rate limit, chi phí. Govern requests to OpenAI/Anthropic and Workers AI: cache, logs, rate limits, cost.

Docs chính thức Official docs
Hiện tại Current

Agents SDK Agents SDK

Build agent có state (chat, workflow) trên Workers + Durable Objects — không chỉ “gọi API LLM một lần”. Build stateful agents (chat, workflows) on Workers + Durable Objects — not just one-off LLM calls.

Docs chính thức Official docs
Hiện tại Current

Workflows Workflows

Orchestrate job nhiều bước, durable — thay vì nhồi hết logic vào một Worker dài. Orchestrate multi-step durable jobs instead of one long Worker script.

Docs chính thức Official docs
Preview Preview

Containers on Workers Containers on Workers

Chạy container khi cần runtime đặc biệt — bổ sung Workers, không thay thế hoàn toàn. Run containers when you need a specific runtime — complements Workers, not a full replacement.

Docs chính thức Official docs
Đổi tên Renamed

Cloudflare Tunnel Cloudflare Tunnel

Tên hiện tại của tunnel outbound (`cloudflared`) — không còn gọi Argo Tunnel trong UI mới. Current name for outbound tunnel (`cloudflared`) — not “Argo Tunnel” in newer UI/docs.

Docs chính thức Official docs
Hiện tại Current

Hyperdrive Hyperdrive

Tăng tốc kết nối từ Workers tới Postgres/MySQL bên ngoài — giữ DB hiện có. Speed up Workers connections to external Postgres/MySQL — keep your existing DB.

Docs chính thức Official docs
Hiện tại Current

Turnstile Turnstile

Chống bot cho form public — luôn verify token phía server (Pages Functions/Worker). Bot protection for public forms — always verify tokens server-side (Pages Functions/Worker).

Docs chính thức Official docs

Sẵn sàng kiểm tra kiến thức? Ready for a knowledge check?

Sau tuần đầu, làm bài 12 câu để xem bạn nắm mental model đến đâu. After your first week, take the 12-question check to see how solid your mental model is.