Bắt đầu từ con số 0 Start from zero

Lộ trình 9 giai đoạn · 93 chủ đề — từ Internet và mạng cơ bản đến use case thực tế trên Cloudflare. Mỗi chủ đề có nguồn tham khảo chính thức và liên kết nội dung sẵn có trên hub. 9 stages · 93 topics — from Internet basics to practical Cloudflare use cases, with official sources and hub links.

Tiến độ họcLearning progress

0/93 chủ đề · 0% — lưu trên trình duyệt0/93 topics · 0% — saved in browser

Giai đoạn 0 Stage 0

Nền tảng Internet & mạng Internet & Network Foundations

Nền tảng về Internet và mạng máy tính trước khi đụng Cloudflare — hiểu client/server, IP, giao thức và luồng request cơ bản. Internet and networking foundations before Cloudflare — client/server, IP, protocols, and basic request flow.

Sau giai đoạn này bạn sẽ: After this stage you will: Giải thích được Internet hoạt động thế nào, đọc được luồng request/response và hiểu các khái niệm mạng cần cho DNS, CDN và bảo mật sau này. Explain how the Internet works, read request/response flow, and understand network concepts needed for DNS, CDN, and security later.

~108 phút · 13 chủ đề ~108 min · 13 topics

0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

Internet là gì? What is the Internet?

Internet là mạng lưới toàn cầu kết nối hàng tỷ thiết bị qua hạ tầng vật lý và giao thức chung. Bạn không “vào” một server duy nhất — bạn gửi request qua nhiều mạng con cho đến đích. The Internet is a global network connecting billions of devices through shared physical infrastructure and protocols. You do not connect to a single server — your request travels through many networks before reaching its destination.

Vì sao cần biết? Why it matters

Mọi sản phẩm Cloudflare đều nằm trên luồng traffic Internet — hiểu nền tảng giúp bạn không nhầm Cloudflare với hosting hay ISP. Every Cloudflare product sits on Internet traffic flows — understanding the foundation helps you avoid confusing Cloudflare with hosting or an ISP.

Bài tập gợi ý: Suggested exercise: Vẽ sơ đồ: máy bạn → router nhà → ISP → Internet → server đích. Draw a diagram: your device → home router → ISP → Internet → destination server.

Lỗi newbie hay gặp Common newbie mistakes

  • Nghĩ Internet = Wi‑Fi hoặc = một công ty duy nhất vận hành. Thinking the Internet equals Wi‑Fi or is run by a single company.
0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

Client, server, request, response Client, server, request, response

Client (trình duyệt, app) gửi request; server nhận, xử lý và trả response. Mọi trang web, API và video đều theo mô hình này. A client (browser, app) sends a request; a server receives it, processes it, and returns a response. Every web page, API, and video stream follows this model.

Vì sao cần biết? Why it matters

Cloudflare đứng giữa client và origin server — bạn cần biết ai gửi gì và ai trả lời gì để hiểu proxy, cache và WAF. Cloudflare sits between the client and the origin server — you need to know who sends what and who responds to understand proxy, cache, and WAF.

Tiên quyết: Prerequisites: Internet là gì? What is the Internet?

Lỗi newbie hay gặp Common newbie mistakes

  • Nhầm “server” chỉ là máy chủ vật lý — server có thể là dịch vụ cloud hoặc Workers. Assuming "server" only means a physical machine — a server can be a cloud service or a Worker.
0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

IP address là gì? What is an IP address?

IP address là địa chỉ số để thiết bị tìm nhau trên mạng (ví dụ IPv4 dạng 192.0.2.1). DNS sau này ánh xạ tên miền sang IP. An IP address is a numeric identifier devices use to find each other on a network (for example, IPv4 like 192.0.2.1). DNS later maps domain names to IP addresses.

Vì sao cần biết? Why it matters

Khi debug DNS, firewall hay origin protection, bạn thường làm việc với IP — đặc biệt A/AAAA record và allowlist. When debugging DNS, firewall rules, or origin protection, you often work with IPs — especially A/AAAA records and allowlists.

Trên hub On this hub

Lỗi newbie hay gặp Common newbie mistakes

  • Cho rằng mỗi website chỉ có một IP cố định mãi mãi. Assuming every website has one fixed IP address forever.
0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

Port là gì? What is a port?

Port là “cổng” logic trên một IP để phân biệt dịch vụ (HTTP thường 80, HTTPS 443). Cùng IP có thể chạy nhiều app qua port khác nhau. A port is a logical endpoint on an IP address that distinguishes services (HTTP typically uses 80, HTTPS 443). The same IP can run multiple apps on different ports.

Vì sao cần biết? Why it matters

Load balancing, firewall rule và tunnel thường nhắc port — hiểu port giúp bạn cấu hình origin và health check đúng. Load balancing, firewall rules, and tunnels often reference ports — understanding ports helps you configure origins and health checks correctly.

Trên hub On this hub

Lỗi newbie hay gặp Common newbie mistakes

  • Mở quá nhiều port public “cho tiện” mà không cần thiết. Opening too many public ports "for convenience" when they are not needed.
0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

Protocol là gì? What is a protocol?

Protocol là bộ quy tắc thống nhất để hai bên giao tiếp (HTTP, DNS, TLS…). Không có protocol chung, client và server không hiểu nhau. A protocol is a shared set of rules for two parties to communicate (HTTP, DNS, TLS, and others). Without a common protocol, client and server cannot understand each other.

Vì sao cần biết? Why it matters

Cloudflare can thiệp ở nhiều tầng protocol — HTTP cache, TLS termination, DNS proxy — nên cần biết tên và vai trò từng loại. Cloudflare operates at many protocol layers — HTTP cache, TLS termination, DNS proxy — so you need to know each protocol name and role.

Trên hub On this hub

0 Cơ bản Beginner 8 phút 8 min Kiến thức chung General knowledge

TCP vs UDP TCP vs UDP

TCP đảm bảo dữ liệu đến đủ và đúng thứ tự (web, email); UDP ưu tiên tốc độ, chấp nhận mất gói (streaming, DNS query). TCP ensures data arrives completely and in order (web, email); UDP prioritizes speed and accepts packet loss (streaming, DNS queries).

Vì sao cần biết? Why it matters

DDoS mitigation và firewall L4 phân biệt TCP/UDP flood — hiểu khác biệt giúp đọc báo cáo tấn công và rule mạng. DDoS mitigation and L4 firewalls distinguish TCP/UDP floods — understanding the difference helps you read attack reports and network rules.

Tiên quyết: Prerequisites: Protocol là gì? What is a protocol?

Trên hub On this hub

Lỗi newbie hay gặp Common newbie mistakes

  • Nghĩ UDP “kém hơn” TCP — mỗi loại phù hợp use case khác nhau. Thinking UDP is "worse" than TCP — each fits different use cases.
0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

HTTP/HTTPS cơ bản HTTP/HTTPS basics

HTTP là giao thức truyền trang web và API; HTTPS thêm lớp mã hóa TLS. Request có method (GET, POST), header và body; response có status code. HTTP is the protocol for web pages and APIs; HTTPS adds TLS encryption. Requests have a method (GET, POST), headers, and body; responses have status codes.

Vì sao cần biết? Why it matters

Hầu hết traffic qua Cloudflare là HTTP/S — cache, WAF, rate limit và SSL/TLS mode đều bám theo request HTTP. Most traffic through Cloudflare is HTTP/S — cache, WAF, rate limiting, and SSL/TLS mode all operate on HTTP requests.

Bài tập gợi ý: Suggested exercise: Mở DevTools → Network, reload một trang và ghi lại method, status, header Host. Open DevTools → Network, reload a page, and note the method, status, and Host header.

Lỗi newbie hay gặp Common newbie mistakes

  • Chỉ quan tâm status 200 mà bỏ qua redirect 301/302 hoặc lỗi 4xx/5xx. Only caring about status 200 while ignoring 301/302 redirects or 4xx/5xx errors.
0 Cơ bản Beginner 12 phút 12 min Kiến thức chung General knowledge

Browser làm gì khi mở một website? What happens when you open a website?

Trình duyệt phân tích URL, tra DNS lấy IP, thiết lập TCP/TLS, gửi HTTP request, nhận HTML rồi tải thêm CSS/JS/image. Mỗi bước có thể chậm hoặc lỗi riêng. The browser parses the URL, looks up DNS for an IP, establishes TCP/TLS, sends an HTTP request, receives HTML, then loads CSS, JS, and images. Each step can fail or slow down independently.

Vì sao cần biết? Why it matters

Khi site chậm hoặc lỗi SSL, bạn cần biết lỗi ở DNS, TLS hay origin — Cloudflare analytics và trace cũng bám luồng này. When a site is slow or has SSL errors, you need to know whether the problem is DNS, TLS, or origin — Cloudflare analytics and trace follow this same flow.

Tiên quyết: Prerequisites: Client, server, request, response Client, server, request, response , HTTP/HTTPS cơ bản HTTP/HTTPS basics

Lỗi newbie hay gặp Common newbie mistakes

  • Blame Cloudflare ngay khi chưa xác định bước nào trong chuỗi bị lỗi. Blaming Cloudflare immediately without identifying which step in the chain failed.
0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

Latency, bandwidth, packet, routing Latency, bandwidth, packet, routing

Packet là gói dữ liệu nhỏ trên mạng; routing chọn đường đi; latency là độ trễ, bandwidth là băng thông. CDN giảm latency bằng cách phục vụ gần user hơn. A packet is a small unit of data on the network; routing chooses the path; latency is delay and bandwidth is capacity. A CDN reduces latency by serving content closer to users.

Vì sao cần biết? Why it matters

Cloudflare edge và cache tối ưu latency — hiểu metric giúp bạn đọc dashboard và justify CDN cho khách hàng. Cloudflare edge and cache optimize latency — understanding these metrics helps you read dashboards and justify CDN value to customers.

Lỗi newbie hay gặp Common newbie mistakes

  • Nhầm bandwidth cao = latency thấp — hai khái niệm độc lập. Confusing high bandwidth with low latency — they are independent concepts.
0 Cơ bản Beginner 8 phút 8 min Kiến thức chung General knowledge

OSI/TCP-IP model ở mức dễ hiểu OSI/TCP-IP model (beginner level)

Mô hình phân lớp giúp đặt vấn đề đúng chỗ: vật lý, mạng (IP), vận chuyển (TCP/UDP), ứng dụng (HTTP/DNS). Không cần thuộc lòng — chỉ cần biết “lỗi ở tầng nào”. Layered models help you place problems correctly: physical, network (IP), transport (TCP/UDP), application (HTTP/DNS). You do not need to memorize them — just know "which layer is failing".

Vì sao cần biết? Why it matters

WAF là L7, DDoS có L3/L4/L7, DNS là tầng ứng dụng — map đúng tầng giúp escalate và chọn sản phẩm Cloudflare phù hợp. WAF is L7, DDoS spans L3/L4/L7, DNS is application layer — mapping the right layer helps you escalate and pick the right Cloudflare product.

Trên hub On this hub

Lỗi newbie hay gặp Common newbie mistakes

  • Cố gắng học thuộc 7 tầng OSI thay vì dùng mô hình để troubleshoot. Trying to memorize all 7 OSI layers instead of using the model to troubleshoot.
0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

Public IP vs private IP Public IP vs private IP

Private IP (10.x, 192.168.x…) dùng nội bộ LAN; public IP reachable từ Internet. NAT thường che private IP phía sau router. Private IPs (10.x, 192.168.x, and similar) are used on internal LANs; public IPs are reachable from the Internet. NAT often hides private IPs behind a router.

Vì sao cần biết? Why it matters

Origin thật thường có private IP — Cloudflare proxy che public origin; Tunnel kết nối private service ra edge an toàn. Real origins often have private IPs — Cloudflare proxy hides the public origin; Tunnel connects private services to the edge securely.

Tiên quyết: Prerequisites: IP address là gì? What is an IP address?

Lỗi newbie hay gặp Common newbie mistakes

  • Expose trực tiếp private IP lên DNS public. Publishing a private IP directly in public DNS.
0 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

NAT là gì? What is NAT?

Network Address Translation cho phép nhiều thiết bị nội bộ dùng chung một public IP ra Internet. Router nhà và firewall doanh nghiệp thường làm NAT. Network Address Translation lets many internal devices share one public IP to reach the Internet. Home routers and enterprise firewalls commonly perform NAT.

Vì sao cần biết? Why it matters

Hiểu NAT giúp giải thích vì sao origin IP không nên lộ và vì sao Tunnel/WARP hữu ích cho mạng nội bộ. Understanding NAT explains why origin IPs should not be exposed and why Tunnel/WARP are useful for internal networks.

Tiên quyết: Prerequisites: Public IP vs private IP Public IP vs private IP

Trên hub On this hub

Lỗi newbie hay gặp Common newbie mistakes

  • Nghĩ NAT thay thế firewall — NAT chỉ dịch địa chỉ, không lọc policy. Thinking NAT replaces a firewall — NAT only translates addresses, it does not filter policy.
0 Cơ bản Beginner 8 phút 8 min

Firewall và reverse proxy Firewall and reverse proxy

Firewall lọc traffic theo rule (IP, port, protocol). Reverse proxy đứng trước server, nhận request thay origin rồi chuyển tiếp — có thể cache, TLS và WAF. A firewall filters traffic by rules (IP, port, protocol). A reverse proxy sits in front of a server, receives requests on its behalf, and forwards them — it can cache, terminate TLS, and run a WAF.

Vì sao cần biết? Why it matters

Cloudflare vận hành như reverse proxy toàn cầu — đây là mental model cốt lõi trước khi bật orange cloud. Cloudflare operates as a global reverse proxy — this is the core mental model before enabling the orange cloud.

Tiên quyết: Prerequisites: Client, server, request, response Client, server, request, response , Port là gì? What is a port?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Proxy
  • WAF

Lỗi newbie hay gặp Common newbie mistakes

  • Nhầm reverse proxy với forward proxy (VPN trình duyệt). Confusing reverse proxy with forward proxy (browser VPN).
  • Tắt hết firewall nội bộ vì “đã có Cloudflare”. Disabling all internal firewalls because "Cloudflare is already there".

Giai đoạn 1 Stage 1

DNS & tên miền cơ bản DNS & Domain Basics

Hiểu domain, bản ghi DNS và cách traffic tìm đến server — nền tảng bắt buộc trước khi onboard zone lên Cloudflare. Domains, DNS records, and how traffic reaches servers — required before onboarding a zone to Cloudflare.

Sau giai đoạn này bạn sẽ: After this stage you will: Đọc được bảng DNS, chọn đúng loại record, hiểu propagation/TTL và phân biệt DNS-only vs proxied trên Cloudflare. Read DNS tables, pick the right record types, understand propagation/TTL, and distinguish DNS-only vs proxied on Cloudflare.

~82 phút · 10 chủ đề ~82 min · 10 topics

1 Nền tảng Foundation 8 phút 8 min

Domain là gì? What is a domain?

Domain (tên miền) là tên dễ nhớ thay cho IP — ví dụ example.com. Registrar quản lý quyền sở hữu; DNS trỏ domain tới dịch vụ thực tế. A domain is a memorable name instead of an IP — for example, example.com. A registrar manages ownership; DNS points the domain to the actual service.

Vì sao cần biết? Why it matters

Bước đầu onboard Cloudflare là add domain và quản lý zone — không hiểu domain thì dễ nhầm registrar, nameserver và hosting. The first step to onboard Cloudflare is adding a domain and managing a zone — without understanding domains, you confuse registrar, nameserver, and hosting.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS

Lỗi newbie hay gặp Common newbie mistakes

  • Nhầm mua domain = có sẵn website — domain chỉ là tên, cần DNS/hosting riêng. Thinking buying a domain means you already have a website — a domain is only a name; DNS and hosting are separate.
1 Nền tảng Foundation 8 phút 8 min

DNS hoạt động thế nào? How DNS works

Khi bạn gõ URL, resolver tra hỏi chuỗi nameserver từ root → TLD → authoritative zone để lấy IP hoặc record khác. Quá trình diễn ra trong mili giây nhưng có cache. When you type a URL, a resolver queries a chain of nameservers from root → TLD → authoritative zone to get an IP or other record. It happens in milliseconds but involves caching.

Vì sao cần biết? Why it matters

Cloudflare có thể là authoritative DNS và proxy — hiểu luồng query giúp debug “site không vào được”. Cloudflare can be authoritative DNS and a proxy — understanding the query flow helps debug "site is unreachable".

Tiên quyết: Prerequisites: Domain là gì? What is a domain?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS

Bài tập gợi ý: Suggested exercise: Dùng `dig` hoặc dnschecker.org xem A record của một domain bạn biết. Use `dig` or dnschecker.org to look up the A record of a domain you know.

Lỗi newbie hay gặp Common newbie mistakes

  • Sửa DNS rồi kỳ vọng thay đổi tức thì trên mọi máy. Changing DNS and expecting the change to appear instantly on every machine.
1 Nền tảng Foundation 8 phút 8 min

Recursive DNS vs authoritative DNS Recursive vs authoritative DNS

Recursive resolver (ISP, 1.1.1.1) hội tụ câu hỏi cho user; authoritative nameserver trả lời chính thức cho zone (ví dụ zone trên Cloudflare). A recursive resolver (ISP, 1.1.1.1) gathers answers for the user; an authoritative nameserver gives the official answer for a zone (for example, a zone on Cloudflare).

Vì sao cần biết? Why it matters

Cloudflare v1.1.1.1 là recursive public; zone DNS khách hàng là authoritative — hai vai trò khác nhau. Cloudflare 1.1.1.1 is a public recursive resolver; customer zone DNS is authoritative — these are two different roles.

Tiên quyết: Prerequisites: DNS hoạt động thế nào? How DNS works

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS
  • 1.1.1.1

Lỗi newbie hay gặp Common newbie mistakes

  • Trộn lẫn nameserver Cloudflare zone với DNS resolver trên laptop. Mixing up Cloudflare zone nameservers with the DNS resolver on your laptop.
1 Cơ bản Beginner 8 phút 8 min

A, AAAA, CNAME, TXT, MX, NS records A, AAAA, CNAME, TXT, MX, NS records

A/AAAA trỏ hostname → IP; CNAME alias sang tên khác; MX mail; TXT xác minh/metadata; NS chỉ nameserver của zone. Mỗi loại phục vụ mục đích khác nhau. A/AAAA point a hostname to an IP; CNAME aliases to another name; MX handles mail; TXT holds verification/metadata; NS specifies zone nameservers. Each type serves a different purpose.

Vì sao cần biết? Why it matters

Sai một record có thể gãy mail, SSL hoặc subdomain — review DNS table là bài tập đầu track Application Services. One wrong record can break mail, SSL, or subdomains — reviewing the DNS table is the first exercise in the Application Services track.

Tiên quyết: Prerequisites: DNS hoạt động thế nào? How DNS works

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS

Lỗi newbie hay gặp Common newbie mistakes

  • Proxy MX record hoặc dùng CNAME ở apex khi chưa hiểu CNAME flattening. Proxying MX records or using CNAME at the apex without understanding CNAME flattening.
1 Nền tảng Foundation 8 phút 8 min

TTL là gì? What is TTL?

TTL (Time To Live) cho resolver biết cache record bao lâu trước khi hỏi lại. TTL thấp = thay đổi nhanh hơn nhưng nhiều query hơn. TTL (Time To Live) tells resolvers how long to cache a record before asking again. A low TTL means faster changes but more queries.

Vì sao cần biết? Why it matters

Khi migrate DNS hoặc đổi IP origin, TTL ảnh hưởng thời gian propagation — Cloudflare khuyên hạ TTL trước cutover. When migrating DNS or changing origin IP, TTL affects propagation time — Cloudflare recommends lowering TTL before cutover.

Tiên quyết: Prerequisites: A, AAAA, CNAME, TXT, MX, NS records A, AAAA, CNAME, TXT, MX, NS records

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS

Trên hub On this hub

Lỗi newbie hay gặp Common newbie mistakes

  • Để TTL 86400 rồi đổi IP khẩn cấp — phải chờ cache cũ hết hạn. Leaving TTL at 86400 then changing IP in an emergency — you must wait for old cache to expire.
1 Nền tảng Foundation 8 phút 8 min

DNS propagation là gì? What is DNS propagation?

Propagation là thời gian các resolver trên thế giới cập nhật cache sau khi bạn đổi record. Không phải “lan” magic — là hết TTL và query lại. Propagation is how long resolvers worldwide update their cache after you change a record. It is not magic spreading — old caches expire per TTL and then re-query.

Vì sao cần biết? Why it matters

Giảm panic khi khách báo “một số nơi vào được, một số không” sau khi đổi nameserver. Reduces panic when customers report "some places work, some do not" after changing nameservers.

Tiên quyết: Prerequisites: TTL là gì? What is TTL?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS

Lỗi newbie hay gặp Common newbie mistakes

  • Đổi nameserver liên tục trong vài giờ — càng làm càng rối cache. Changing nameservers repeatedly within a few hours — it makes cache state even messier.
1 Nền tảng Foundation 8 phút 8 min

Subdomain là gì? What is a subdomain?

Subdomain là phần trước domain gốc — api.example.com, www.example.com. Mỗi subdomain có thể có record và policy riêng trên Cloudflare. A subdomain is the part before the root domain — api.example.com, www.example.com. Each subdomain can have its own records and policies on Cloudflare.

Vì sao cần biết? Why it matters

Team thường tách app, API, admin bằng subdomain — cần biết proxy record nào và rule áp cho hostname nào. Teams often split app, API, and admin by subdomain — you need to know which records to proxy and which rules apply to which hostname.

Tiên quyết: Prerequisites: Domain là gì? What is a domain?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS
1 Cơ bản Beginner 8 phút 8 min

Nameserver là gì? What is a nameserver?

Nameserver là server authoritative trả lời DNS cho zone. Khi trỏ NS tại registrar sang Cloudflare, Cloudflare trở thành nơi bạn quản lý record. A nameserver is the authoritative server that answers DNS for a zone. When you point NS at the registrar to Cloudflare, Cloudflare becomes where you manage records.

Vì sao cần biết? Why it matters

Onboard domain = đổi NS hoặc partial setup — hiểu NS tránh nhầm với A record hay hosting control panel. Onboarding a domain means changing NS or using partial setup — understanding NS avoids confusing it with A records or a hosting control panel.

Tiên quyết: Prerequisites: Recursive DNS vs authoritative DNS Recursive vs authoritative DNS

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS

Bài tập gợi ý: Suggested exercise: So sánh NS hiện tại tại registrar với NS Cloudflare cung cấp khi add site. Compare current NS at the registrar with the NS Cloudflare provides when adding a site.

Lỗi newbie hay gặp Common newbie mistakes

  • Chỉ add zone Cloudflare mà chưa đổi NS tại registrar. Adding a zone in Cloudflare but not updating NS at the registrar.
1 Cơ bản Beginner 8 phút 8 min

DNS-only vs proxied record trong Cloudflare DNS-only vs proxied records in Cloudflare

Proxied (đám mây cam): traffic HTTP/S qua Cloudflare — có cache, WAF, ẩn origin IP. DNS only (xám): chỉ trả DNS, không qua proxy. Proxied (orange cloud): HTTP/S traffic goes through Cloudflare — cache, WAF, hidden origin IP. DNS only (gray): returns DNS only, no proxy.

Vì sao cần biết? Why it matters

Đây là quyết định kiến trúc quan trọng nhất ngày đầu — sai proxy MX hoặc record nội bộ gây sự cố production. This is the most important architecture decision on day one — wrong proxy on MX or internal records causes production incidents.

Tiên quyết: Prerequisites: A, AAAA, CNAME, TXT, MX, NS records A, AAAA, CNAME, TXT, MX, NS records

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS
  • Proxy

Lỗi newbie hay gặp Common newbie mistakes

  • Proxy mọi record “cho chắc” — mail và một số dịch vụ phải DNS only. Proxying every record "to be safe" — mail and some services must stay DNS only.
1 Cơ bản Beginner 10 phút 10 min

Lỗi DNS thường gặp cho newbie Common DNS mistakes for beginners

Hay gặp: trùng record, sai CNAME chain, quên SPF/DKIM, proxy nhầm, TTL quá cao khi migrate, nhầm zone apex vs www. Common issues: duplicate records, wrong CNAME chains, missing SPF/DKIM, accidental proxy, TTL too high during migration, confusing apex vs www.

Vì sao cần biết? Why it matters

Tổng hợp lỗi thực tế giúp bạn dùng checklist và support ticket hiệu quả hơn. Summarizing real-world mistakes helps you use checklists and write support tickets more effectively.

Tiên quyết: Prerequisites: DNS-only vs proxied record trong Cloudflare DNS-only vs proxied records in Cloudflare , DNS propagation là gì? What is DNS propagation?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS

Bài tập gợi ý: Suggested exercise: Review bảng DNS một domain thật và ghi 3 record nên proxy vs DNS only. Review the DNS table of a real domain and note 3 records that should be proxied vs DNS only.

Lỗi newbie hay gặp Common newbie mistakes

  • Sửa DNS production không chụp screenshot trước — khó rollback. Editing production DNS without a screenshot first — rollback becomes hard.

Giai đoạn 2 Stage 2

Cơ bản về phân phối website Website Delivery Basics

Hosting, origin, CDN, cache và phân phối nội dung — hiểu website được phục vụ nhanh và ổn định như thế nào. Hosting, origin, CDN, cache, and content delivery — how websites are served fast and reliably.

Sau giai đoạn này bạn sẽ: After this stage you will: Giải thích được vai trò origin vs edge, cache hit/miss, static/dynamic content và khi nào cần CDN hay load balancing. Explain origin vs edge, cache hit/miss, static vs dynamic content, and when CDN or load balancing is needed.

~88 phút · 11 chủ đề ~88 min · 11 topics

2 Nền tảng Foundation 8 phút 8 min

Hosting là gì? What is hosting?

Hosting là nơi chạy code và file website (VPS, shared hosting, cloud, serverless). Domain + DNS trỏ tới hosting; hosting trả nội dung cho visitor. Hosting is where website code and files run (VPS, shared hosting, cloud, serverless). Domain + DNS point to hosting; hosting serves content to visitors.

Vì sao cần biết? Why it matters

Cloudflare không thay hosting mặc định — nó đứng trước origin hoặc host static trên Pages/Workers. Cloudflare does not replace hosting by default — it sits in front of the origin or hosts static assets on Pages/Workers.

Lỗi newbie hay gặp Common newbie mistakes

  • Nghĩ add Cloudflare = không cần server/origin nữa (trừ khi dùng Pages/Workers full). Thinking adding Cloudflare means you no longer need a server/origin (except when using Pages/Workers end-to-end).
2 Nền tảng Foundation 8 phút 8 min

Origin server là gì? What is an origin server?

Origin là server/backend thật chứa app và dữ liệu gốc. CDN/edge lấy bản sao hoặc chuyển tiếp request về origin khi cần. The origin is the real server/backend holding the app and source data. The CDN/edge copies content or forwards requests to the origin when needed.

Vì sao cần biết? Why it matters

Mental model Cloudflare: user → edge → (cache hit hoặc) origin. Bảo vệ origin là mục tiêu cache và DDoS mitigation. Cloudflare mental model: user → edge → (cache hit or) origin. Protecting the origin is the goal of cache and DDoS mitigation.

Tiên quyết: Prerequisites: Hosting là gì? What is hosting?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • CDN
  • Cache
2 Nền tảng Foundation 8 phút 8 min

CDN là gì? What is a CDN?

CDN (Content Delivery Network) phân phối nội dung từ nhiều điểm edge gần user, giảm latency và tải origin. Cloudflare vận hành CDN toàn cầu tích hợp bảo mật. A CDN (Content Delivery Network) distributes content from many edge locations near users, reducing latency and origin load. Cloudflare runs a global CDN integrated with security.

Vì sao cần biết? Why it matters

Đây là value prop cốt lõi Application Services — giải thích CDN đơn giản là kỹ năng sales/SE cơ bản. This is the core value prop of Application Services — explaining CDN simply is a basic sales/SE skill.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • CDN

Bài tập gợi ý: Suggested exercise: So sánh thời gian tải một asset lớn qua CDN vs trực tiếp origin (nếu có). Compare load time of a large asset via CDN vs directly from origin (if available).

2 Nền tảng Foundation 8 phút 8 min

Edge network là gì? What is an edge network?

Edge là máy chủ Cloudflare ở nhiều thành phố — xử lý request gần user: cache, TLS, WAF, Workers. “Chạy ở edge” = không về origin mỗi request. The edge is Cloudflare servers in many cities — handling requests near users: cache, TLS, WAF, Workers. "Running at the edge" means not hitting origin on every request.

Vì sao cần biết? Why it matters

Developer Platform cũng deploy logic lên edge — hiểu edge khác region cloud truyền thống. Developer Platform also deploys logic to the edge — understand how edge differs from traditional cloud regions.

Tiên quyết: Prerequisites: CDN là gì? What is a CDN?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • CDN
  • Workers
2 Nền tảng Foundation 8 phút 8 min

Cache là gì? What is caching?

Cache lưu bản sao response để trả lại nhanh hơn. CDN cache ở edge; browser cache ở client. Cần rule rõ TTL và khi nào invalidate. Cache stores copies of responses to serve them faster. CDN cache lives at the edge; browser cache lives on the client. You need clear TTL rules and invalidation strategy.

Vì sao cần biết? Why it matters

Cache Rules và Purge là thao tác hàng ngày — hiểu cache tránh “sửa code mà user vẫn thấy bản cũ”. Cache Rules and Purge are daily operations — understanding cache avoids "I deployed but users still see the old version".

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Cache
  • CDN

Lỗi newbie hay gặp Common newbie mistakes

  • Cache mọi thứ kể cả trang đăng nhập cá nhân hóa. Caching everything including personalized login pages.
2 Cơ bản Beginner 8 phút 8 min

Browser cache vs CDN cache Browser cache vs CDN cache

Browser cache do trình duyệt giữ theo header Cache-Control; CDN cache do Cloudflare giữ theo rule. Hai lớp độc lập — purge CDN không xóa browser cache. Browser cache is held by the browser per Cache-Control headers; CDN cache is held by Cloudflare per rules. The two layers are independent — purging CDN does not clear browser cache.

Vì sao cần biết? Why it matters

Debug “vẫn thấy cũ” cần biết purge layer nào và header nào đang set. Debugging "still seeing old content" requires knowing which layer to purge and which headers are set.

Tiên quyết: Prerequisites: Cache là gì? What is caching?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Cache

Lỗi newbie hay gặp Common newbie mistakes

  • Purge Everything mọi lần thay vì purge theo URL/tag cần thiết. Using Purge Everything every time instead of purging only the URL/tag you need.
2 Nền tảng Foundation 8 phút 8 min

Static vs dynamic content Static vs dynamic content

Static: file giống nhau mọi user (CSS, image, HTML tĩnh). Dynamic: thay đổi theo user/session (cart, dashboard). CDN cache tốt nhất static; dynamic cần strategy khác. Static: files identical for every user (CSS, images, static HTML). Dynamic: changes per user/session (cart, dashboard). CDN cache works best for static; dynamic needs a different strategy.

Vì sao cần biết? Why it matters

Chọn cache rule và tier plan phụ thuộc tỷ lệ static/dynamic — sai phân loại gây lộ data hoặc miss performance. Choosing cache rules and plan tier depends on static/dynamic ratio — wrong classification causes data leaks or missed performance gains.

Tiên quyết: Prerequisites: Cache là gì? What is caching?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Cache
  • CDN
2 Cơ bản Beginner 8 phút 8 min

Cache hit/miss Cache hit and miss

Hit: edge trả từ cache, không hỏi origin. Miss: edge phải fetch origin rồi có thể lưu cache. Tỷ lệ hit cao = origin nhẹ và site nhanh hơn. Hit: edge serves from cache without asking origin. Miss: edge fetches from origin and may store the response. Higher hit ratio means lighter origin and faster site.

Vì sao cần biết? Why it matters

Header CF-Cache-Status và analytics giúp tune cache — kỹ năng SE và IT admin cần đọc được. The CF-Cache-Status header and analytics help tune cache — SEs and IT admins need to read them.

Tiên quyết: Prerequisites: Static vs dynamic content Static vs dynamic content

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Cache

Bài tập gợi ý: Suggested exercise: Reload cùng URL hai lần và xem CF-Cache-Status trong response header. Reload the same URL twice and check CF-Cache-Status in the response headers.

2 Cơ bản Beginner 8 phút 8 min

Purge cache Purge cache

Purge xóa bản cache trên edge để lần request sau lấy bản mới từ origin. Có purge theo URL, tag, prefix hoặc everything (cẩn thận production). Purge removes cached copies on the edge so the next request fetches fresh content from origin. Options include URL, tag, prefix, or everything (use carefully in production).

Vì sao cần biết? Why it matters

Deploy release thường kèm purge — biết cách purge an toàn tránh spike origin. Releases often include a purge — knowing safe purge methods avoids origin traffic spikes.

Tiên quyết: Prerequisites: Cache hit/miss Cache hit and miss

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Cache

Lỗi newbie hay gặp Common newbie mistakes

  • Purge Everything trong giờ cao điểm — origin có thể bị quá tải. Purging Everything during peak hours — origin can become overloaded.
2 Nền tảng Foundation 8 phút 8 min

Image optimization Image optimization

Ảnh thường chiếm dung lượng lớn trang web. Resize, format hiện đại (WebP/AVIF) và lazy load giảm LCP. Cloudflare Images/Polish giúp tối ưu ở edge. Images often dominate page weight. Resize, modern formats (WebP/AVIF), and lazy loading reduce LCP. Cloudflare Images/Polish optimize at the edge.

Vì sao cần biết? Why it matters

Use case ecommerce và media — liên kết performance với sản phẩm Cloudflare cụ thể. Ecommerce and media use cases — connect performance to specific Cloudflare products.

Tiên quyết: Prerequisites: CDN là gì? What is a CDN?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Images
  • CDN
2 Cơ bản Beginner 8 phút 8 min

Load balancing cơ bản Load balancing basics

Load balancer phân phối traffic sang nhiều origin/server, health check và failover khi một node down. Giúp HA và scale ngang. A load balancer distributes traffic across multiple origins/servers, health-checks them, and fails over when a node is down. It enables HA and horizontal scaling.

Vì sao cần biết? Why it matters

Cloudflare Load Balancing kết hợp DNS + health check toàn cầu — khác LB chỉ trong một data center. Cloudflare Load Balancing combines DNS with global health checks — unlike an LB confined to one data center.

Tiên quyết: Prerequisites: Origin server là gì? What is an origin server?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Load Balancing

Lỗi newbie hay gặp Common newbie mistakes

  • Không cấu hình health check — LB vẫn gửi traffic tới origin chết. Not configuring health checks — the LB still sends traffic to dead origins.

Giai đoạn 3 Stage 3

Bảo mật cơ bản Security Basics

TLS, DDoS, bot, WAF và các tấn công web phổ biến — nền tảng bảo mật trước khi cấu hình rule trên Cloudflare. TLS, DDoS, bots, WAF, and common web attacks — security foundations before configuring Cloudflare rules.

Sau giai đoạn này bạn sẽ: After this stage you will: Phân biệt được HTTPS vs HTTP, hiểu vai trò certificate, WAF, rate limit và cách Cloudflare giảm rủi ro ở edge. Distinguish HTTPS vs HTTP, understand certificates, WAF, rate limiting, and how Cloudflare reduces risk at the edge.

~88 phút · 11 chủ đề ~88 min · 11 topics

3 Nền tảng Foundation 8 phút 8 min

TLS/SSL là gì? What is TLS/SSL?

TLS (thường gọi SSL) mã hóa kết nối giữa client và server — chống nghe lén và giả mạo. HTTPS = HTTP + TLS. TLS (often called SSL) encrypts the connection between client and server — preventing eavesdropping and tampering. HTTPS = HTTP + TLS.

Vì sao cần biết? Why it matters

Cloudflare SSL/TLS mode quyết định mã hóa user→Cloudflare và Cloudflare→origin — cấu hình sai gây mixed content hoặc certificate error. Cloudflare SSL/TLS mode controls encryption user→Cloudflare and Cloudflare→origin — misconfiguration causes mixed content or certificate errors.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • SSL/TLS

Lỗi newbie hay gặp Common newbie mistakes

  • Dùng “Flexible” SSL khi origin không hỗ trợ HTTPS — rủi ro đoạn Cloudflare→origin. Using "Flexible" SSL when origin does not support HTTPS — risk on the Cloudflare→origin leg.
3 Nền tảng Foundation 8 phút 8 min Kiến thức chung General knowledge

HTTP vs HTTPS HTTP vs HTTPS

HTTP truyền plaintext — dễ bị đọc/sửa trên đường truyền. HTTPS bắt buộc cho login, form, SEO và trình duyệt hiện đại (mixed content warnings). HTTP sends plaintext — easy to read or modify in transit. HTTPS is required for login, forms, SEO, and modern browsers (mixed content warnings).

Vì sao cần biết? Why it matters

Cloudflare Universal SSL giúp site có HTTPS nhanh — vẫn cần redirect HTTP→HTTPS và secure cookie. Cloudflare Universal SSL gets HTTPS quickly — you still need HTTP→HTTPS redirect and secure cookies.

Tiên quyết: Prerequisites: TLS/SSL là gì? What is TLS/SSL?

Trên hub On this hub

3 Nền tảng Foundation 8 phút 8 min

Certificate là gì? What is a certificate?

Certificate (chứng chỉ) do CA ký, chứng minh domain thuộc về ai và chứa public key cho TLS. Browser kiểm tra chuỗi tin cậy trước khi kết nối. A certificate is signed by a CA, proving who owns a domain and holding the public key for TLS. The browser checks the trust chain before connecting.

Vì sao cần biết? Why it matters

Cloudflare cấp edge cert; origin có thể dùng Origin CA hoặc Let’s Encrypt — hiểu hai lớp cert tránh lỗi 525/526. Cloudflare issues edge certs; origin can use Origin CA or Let's Encrypt — understanding both layers avoids 525/526 errors.

Tiên quyết: Prerequisites: TLS/SSL là gì? What is TLS/SSL?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • SSL/TLS
  • Origin CA

Lỗi newbie hay gặp Common newbie mistakes

  • Cert hết hạn origin mà chỉ kiểm tra cert phía browser (edge). Expired origin cert while only checking the cert the browser sees (edge).
3 Nền tảng Foundation 8 phút 8 min

DDoS là gì? What is DDoS?

DDoS (Distributed Denial of Service) là flood traffic từ nhiều nguồn làm dịch vụ quá tải. Khác với một hacker đơn lẻ — quy mô và phân tán. DDoS (Distributed Denial of Service) floods a service with traffic from many sources until it overloads. Unlike a single attacker — scale and distribution matter.

Vì sao cần biết? Why it matters

Cloudflare DDoS protection tự động ở network và HTTP layer — giải thích đơn giản giúp khách hàng hiểu vì sao cần proxy. Cloudflare DDoS protection runs automatically at network and HTTP layers — a simple explanation helps customers understand why proxy is needed.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DDoS Protection

Lỗi newbie hay gặp Common newbie mistakes

  • Nghĩ firewall nhà mạng đủ chống DDoS lớn tầng application. Thinking an ISP firewall is enough against large application-layer DDoS.
3 Nền tảng Foundation 8 phút 8 min

Bot là gì? What are bots?

Bot là traffic tự động — crawler tốt (Google), scraper, credential stuffing, spam form. Cần phân biệt bot xấu vs bot cần thiết. Bots are automated traffic — good crawlers (Google), scrapers, credential stuffing, form spam. You must distinguish bad bots from necessary ones.

Vì sao cần biết? Why it matters

Bot Management và Super Bot Fight Mode là upsell và vận hành quan trọng — hiểu bot trước khi block nhầm SEO. Bot Management and Super Bot Fight Mode are important for operations and upsell — understand bots before blocking SEO by mistake.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Bot Management

Lỗi newbie hay gặp Common newbie mistakes

  • Block mọi bot — ảnh hưởng SEO và monitoring. Blocking all bots — hurts SEO and monitoring.
3 Nền tảng Foundation 8 phút 8 min

WAF là gì? What is a WAF?

WAF (Web Application Firewall) kiểm tra HTTP request, chặn pattern tấn công (SQLi, XSS…) trước khi tới app. Khác firewall mạng ở tầng ứng dụng. A WAF (Web Application Firewall) inspects HTTP requests and blocks attack patterns (SQLi, XSS, and others) before they reach the app. Unlike network firewalls, it operates at the application layer.

Vì sao cần biết? Why it matters

Managed Rules và custom rules là trọng tâm Application Services — biết WAF là gì trước khi tune false positive. Managed Rules and custom rules are the focus of Application Services — know what a WAF is before tuning false positives.

Tiên quyết: Prerequisites: HTTP vs HTTPS HTTP vs HTTPS

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • WAF
3 Nền tảng Foundation 8 phút 8 min

Rate limiting là gì? What is rate limiting?

Rate limiting giới hạn số request theo IP, path, header… trong cửa sổ thời gian — giảm brute force, scraping và bảo vệ API. Rate limiting caps requests by IP, path, header, and similar keys within a time window — reducing brute force, scraping, and protecting APIs.

Vì sao cần biết? Why it matters

Rule rate limit Cloudflare chạy ở edge — hiểu khái niệm trước khi thiết kế cho login và API public. Cloudflare rate limit rules run at the edge — understand the concept before designing rules for login and public APIs.

Tiên quyết: Prerequisites: WAF là gì? What is a WAF?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Rate Limiting
  • WAF
3 Cơ bản Beginner 8 phút 8 min

API security basics API security basics

API public cần auth, schema validation, rate limit, logging và bot control. OWASP API Security Top 10 là checklist phổ biến. Public APIs need auth, schema validation, rate limits, logging, and bot control. OWASP API Security Top 10 is a common checklist.

Vì sao cần biết? Why it matters

API Shield và use case Secure API trên hub map trực tiếp — foundation cho developer và SE. API Shield and the Secure API use case on the hub map directly — foundation for developers and SEs.

Tiên quyết: Prerequisites: Rate limiting là gì? What is rate limiting?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • API Shield
  • Rate Limiting
3 Nền tảng Foundation 8 phút 8 min

CAPTCHA vs Turnstile CAPTCHA vs Turnstile

CAPTCHA truyền thống yêu cầu puzzle — UX kém. Turnstile của Cloudflare xác minh visitor với ít friction hơn, tích hợp form và login. Traditional CAPTCHAs require puzzles — poor UX. Cloudflare Turnstile verifies visitors with less friction and integrates with forms and login.

Vì sao cần biết? Why it matters

Turnstile là điểm chạm developer và founder — biết khi nào dùng thay vì reCAPTCHA. Turnstile is a touchpoint for developers and founders — know when to use it instead of reCAPTCHA.

Tiên quyết: Prerequisites: Bot là gì? What are bots?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Turnstile

Bài tập gợi ý: Suggested exercise: Thêm widget Turnstile vào form demo và test submit hợp lệ vs bot. Add a Turnstile widget to a demo form and test valid submit vs bot behavior.

Nguồn tham khảo Sources

3 Cơ bản Beginner 8 phút 8 min

Common web attacks: SQLi, XSS, credential stuffing, scraping Common web attacks

SQLi chèn query DB; XSS chèn script vào trang; credential stuffing thử password rò rỉ; scraping thu thập data hàng loạt. WAF và bot tools giảm rủi ro nhưng không thay secure coding. SQLi injects database queries; XSS injects scripts into pages; credential stuffing tries leaked passwords; scraping collects data at scale. WAF and bot tools reduce risk but do not replace secure coding.

Vì sao cần biết? Why it matters

Map attack type → Cloudflare control giúp discovery call và incident response rõ ràng. Mapping attack type → Cloudflare control makes discovery calls and incident response clearer.

Tiên quyết: Prerequisites: WAF là gì? What is a WAF? , Bot là gì? What are bots?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • WAF
  • Bot Management

Lỗi newbie hay gặp Common newbie mistakes

  • Tin WAF 100% — vẫn cần patch app và validate input phía origin. Trusting WAF 100% — you still need app patches and input validation at origin.
3 Cơ bản Beginner 8 phút 8 min

Security headers cơ bản Basic security headers

Header như HSTS, CSP, X-Frame-Options, X-Content-Type-Options hướng dẫn browser hành vi an toàn hơn. Có thể set ở origin hoặc Transform Rules trên Cloudflare. Headers like HSTS, CSP, X-Frame-Options, and X-Content-Type-Options guide browsers toward safer behavior. Set them at origin or via Transform Rules on Cloudflare.

Vì sao cần biết? Why it matters

Bổ sung WAF — header đúng giảm clickjacking và mixed downgrade. Complements WAF — correct headers reduce clickjacking and downgrade attacks.

Tiên quyết: Prerequisites: HTTP vs HTTPS HTTP vs HTTPS

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Transform Rules
  • WAF

Bài tập gợi ý: Suggested exercise: Scan site bằng securityheaders.com và ghi 2 header nên thêm. Scan a site with securityheaders.com and note 2 headers you should add.

Giai đoạn 4 Stage 4

Mô hình tư duy Cloudflare Cloudflare Mental Model

Cloudflare nằm ở đâu trong luồng traffic, orange vs gray cloud, ba họ sản phẩm và cách chọn đúng nhóm giải pháp. Where Cloudflare sits in traffic flow, orange vs gray cloud, three product families, and choosing the right solution group.

Sau giai đoạn này bạn sẽ: After this stage you will: Vẽ được sơ đồ User → Cloudflare → origin, giải thích zone/account và chọn Application Services vs Developer Platform vs Cloudflare One. Draw User → Cloudflare → origin, explain zone/account, and choose Application Services vs Developer Platform vs Cloudflare One.

~62 phút · 7 chủ đề ~62 min · 7 topics

4 Cơ bản Beginner 8 phút 8 min

Cloudflare đứng ở đâu trong traffic flow? Where does Cloudflare sit in traffic flow?

Với website/API proxied: visitor gửi request tới Cloudflare edge trước; Cloudflare kiểm tra, cache hoặc chuyển tiếp origin. Không proxied: chỉ DNS, traffic đi thẳng origin. For proxied websites/APIs: visitors send requests to Cloudflare edge first; Cloudflare inspects, caches, or forwards to origin. Not proxied: DNS only, traffic goes straight to origin.

Vì sao cần biết? Why it matters

Câu trả lời đầu tiên mọi discovery call — nếu không vẽ được flow thì khó thiết kế kiến trúc. The first answer in every discovery call — if you cannot draw the flow, architecture design is hard.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Proxy
  • DNS

Bài tập gợi ý: Suggested exercise: Vẽ 3 hộp: User, Cloudflare edge, Origin và mũi tên request/response. Draw 3 boxes: User, Cloudflare edge, Origin with request/response arrows.

4 Cơ bản Beginner 8 phút 8 min

Reverse proxy model Reverse proxy model

Cloudflare là reverse proxy toàn cầu: terminate TLS, áp policy, cache, rồi forward tới origin. Origin IP có thể ẩn khỏi public. Cloudflare is a global reverse proxy: terminate TLS, apply policy, cache, then forward to origin. Origin IP can be hidden from the public.

Vì sao cần biết? Why it matters

Mọi tính năng App Services (WAF, cache, LB) bám model này — không phải plugin cài trên origin. All App Services features (WAF, cache, LB) follow this model — not a plugin installed on origin.

Tiên quyết: Prerequisites: Cloudflare đứng ở đâu trong traffic flow? Where does Cloudflare sit in traffic flow?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Proxy
4 Cơ bản Beginner 8 phút 8 min

Orange cloud vs gray cloud Orange cloud vs gray cloud

Orange (proxied): traffic qua Cloudflare — bảo mật + performance. Gray (DNS only): chỉ DNS resolution. Chọn theo từng record, không phải cả zone một lần. Orange (proxied): traffic through Cloudflare — security + performance. Gray (DNS only): DNS resolution only. Choose per record, not the whole zone at once.

Vì sao cần biết? Why it matters

Lỗi proxy phổ biến nhất của newbie — liên kết trực tiếp checklist onboarding. The most common newbie proxy mistake — links directly to onboarding checklists.

Tiên quyết: Prerequisites: Reverse proxy model Reverse proxy model

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS
  • Proxy

Lỗi newbie hay gặp Common newbie mistakes

  • Proxy record mail hoặc service không hỗ trợ HTTP proxy. Proxying mail records or services that do not support HTTP proxy.
4 Nền tảng Foundation 8 phút 8 min

Zone, account, dashboard Zone, account, and dashboard

Account chứa nhiều zone (domain). Zone là không gian cấu hình DNS, SSL, rules cho một domain. Dashboard là UI quản trị — phân quyền theo account/zone role. An account holds many zones (domains). A zone is the configuration space for DNS, SSL, and rules for one domain. The dashboard is the admin UI — permissions follow account/zone roles.

Vì sao cần biết? Why it matters

IT admin và founder cần map org structure → account để tránh mọi người dùng chung một login. IT admins and founders need to map org structure → accounts so everyone is not sharing one login.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS
4 Cơ bản Beginner 12 phút 12 min

Request flow through Cloudflare Request flow through Cloudflare

Luồng điển hình: DNS resolve → TCP/TLS tới edge → WAF/bot check → cache lookup → (miss) origin fetch → response về client. Workers có thể chèn logic giữa các bước. Typical flow: DNS resolve → TCP/TLS to edge → WAF/bot check → cache lookup → (miss) origin fetch → response to client. Workers can inject logic between steps.

Vì sao cần biết? Why it matters

Debug latency và 5xx cần biết request dừng ở bước nào — trace và Logpush bám flow này. Debugging latency and 5xx requires knowing which step stopped the request — trace and Logpush follow this flow.

Tiên quyết: Prerequisites: Cloudflare đứng ở đâu trong traffic flow? Where does Cloudflare sit in traffic flow?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • WAF
  • Cache
  • Workers
4 Cơ bản Beginner 8 phút 8 min

Cloudflare product families Cloudflare product families

Ba họ chính: Application Services (bảo vệ/tăng tốc site & API đã có), Developer Platform (build/deploy trên Cloudflare), Cloudflare One (Zero Trust, Access, Gateway, WARP cho user và mạng). Three main families: Application Services (protect/accelerate existing sites & APIs), Developer Platform (build/deploy on Cloudflare), Cloudflare One (Zero Trust, Access, Gateway, WARP for users and networks).

Vì sao cần biết? Why it matters

Sales và learner chọn path — tránh cố nhét mọi sản phẩm vào một use case. Sales and learners choose a path — avoid forcing every product into one use case.

Bài tập gợi ý: Suggested exercise: Ghi 1 pain point và map thử vào họ sản phẩm nào. Write down one pain point and map it to which product family fits.

4 Cơ bản Beginner 10 phút 10 min

Khi nào dùng sản phẩm nào? When to use which product?

Có website public → App Services trước. Build app mới serverless → Developer Platform. Bảo vệ nhân viên remote/SaaS → Cloudflare One. Nhiều org dùng kết hợp — không loại trừ nhau. Public website → App Services first. New serverless app → Developer Platform. Remote employee/SaaS security → Cloudflare One. Many orgs combine them — they are not mutually exclusive.

Vì sao cần biết? Why it matters

Outcome stage 4: chọn track và use case tiếp theo trên hub thay vì mua nhầm gói. Stage 4 outcome: pick the next track and use case on the hub instead of buying the wrong bundle.

Tiên quyết: Prerequisites: Cloudflare product families Cloudflare product families

Bài tập gợi ý: Suggested exercise: Làm quiz beginner readiness và xem track được gợi ý. Take the beginner readiness quiz and review the suggested track.

Lỗi newbie hay gặp Common newbie mistakes

  • Dùng Tunnel thay CDN cho website public static. Using Tunnel instead of CDN for a public static website.
  • Chỉ Workers mà không có WAF cho API production. Workers only with no WAF for a production API.

Giai đoạn 5 Stage 5

Lộ trình Application Services Application Services Path

Lộ trình sản phẩm bảo vệ và tăng tốc website, API — từ DNS/CDN đến WAF, bot và SSL/TLS mode. Protect and accelerate websites and APIs — from DNS/CDN to WAF, bots, and SSL/TLS modes.

Sau giai đoạn này bạn sẽ: After this stage you will: Cấu hình được zone cơ bản, cache/WAF rule đầu tiên, hiểu SSL mode và bảo vệ origin cho app đã có sẵn. Configure a basic zone, first cache/WAF rules, SSL modes, and origin protection for an existing app.

~92 phút · 11 chủ đề ~92 min · 11 topics

5 Cơ bản Beginner 8 phút 8 min

DNS trên Cloudflare DNS on Cloudflare

Quản lý zone authoritative, import record, CNAME flattening, DNSSEC tùy chọn. DNS là entry point mọi dịch vụ App Services khác. Manage authoritative zone, import records, CNAME flattening, optional DNSSEC. DNS is the entry point for every other App Services feature.

Vì sao cần biết? Why it matters

Module đầu track Application Services — sai DNS thì mọi rule phía sau vô nghĩa. First module in the Application Services track — wrong DNS makes every downstream rule meaningless.

Tiên quyết: Prerequisites: DNS-only vs proxied record trong Cloudflare DNS-only vs proxied records in Cloudflare

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS

Tutorial gợi ý Suggested tutorials

Nguồn tham khảo Sources

5 Cơ bản Beginner 8 phút 8 min

CDN trên Cloudflare CDN on Cloudflare

CDN Cloudflare tích hợp proxy toàn cầu — không cần subdomain CNAME riêng như CDN truyền thống khi record proxied. Tối ưu static asset và TTFB. Cloudflare CDN integrates with global proxy — no separate CNAME subdomain like traditional CDNs when records are proxied. Optimize static assets and TTFB.

Vì sao cần biết? Why it matters

Liên kết trực tiếp use case accelerate content và product page CDN. Links directly to the accelerate content use case and CDN product page.

Tiên quyết: Prerequisites: CDN là gì? What is a CDN?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • CDN
5 Cơ bản Beginner 8 phút 8 min

Cache Rules Cache Rules

Cache Rules (thay Page Rules cache cũ) điều khiển TTL, bypass, cache key theo hostname/path/header. Expression-based, dễ audit hơn legacy. Cache Rules (replacing legacy Page Rules cache) control TTL, bypass, and cache key by hostname/path/header. Expression-based and easier to audit than legacy rules.

Vì sao cần biết? Why it matters

Kỹ năng tune performance sau onboarding — hit ratio phụ thuộc rule đúng. Performance tuning skill after onboarding — hit ratio depends on correct rules.

Tiên quyết: Prerequisites: Cache hit/miss Cache hit and miss

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Cache

Lỗi newbie hay gặp Common newbie mistakes

  • Bypass cache toàn site thay vì chỉ path dynamic. Bypassing cache for the entire site instead of only dynamic paths.
5 Trung cấp Intermediate 12 phút 12 min

WAF trên Cloudflare WAF on Cloudflare

Managed Rulesets, OWASP core, custom rules theo expression. Chạy ở edge trước origin — log và event trong Security Analytics. Managed Rulesets, OWASP core, custom expression-based rules. Runs at edge before origin — logs and events in Security Analytics.

Vì sao cần biết? Why it matters

Trọng tâm bảo vệ website/API — cần quy trình tune false positive. Core website/API protection — you need a process to tune false positives.

Tiên quyết: Prerequisites: WAF là gì? What is a WAF?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • WAF

Nguồn tham khảo Sources

5 Cơ bản Beginner 8 phút 8 min

DDoS protection DDoS protection

Bảo vệ L3/L4/L7 tự động khi proxied. Network-layer mitigation + HTTP DDoS rules. Không cần bật thủ công cho hầu hết khách. Automatic L3/L4/L7 protection when proxied. Network-layer mitigation plus HTTP DDoS rules. No manual enable for most customers.

Vì sao cần biết? Why it matters

Giải thích trong incident và plan comparison — unlimited mitigation trên nhiều plan. Explain during incidents and plan comparisons — unlimited mitigation on many plans.

Tiên quyết: Prerequisites: DDoS là gì? What is DDoS?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DDoS Protection
5 Cơ bản Beginner 8 phút 8 min

Bot protection Bot protection

Super Bot Fight Mode, Bot Management, JS detection và challenge. Cân bằng chặn abuse vs allow crawler hợp lệ. Super Bot Fight Mode, Bot Management, JS detection, and challenges. Balance blocking abuse vs allowing legitimate crawlers.

Vì sao cần biết? Why it matters

Ecommerce và login form — liên kết bot + Turnstile. Ecommerce and login forms — connect bot protection with Turnstile.

Tiên quyết: Prerequisites: Bot là gì? What are bots?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Bot Management

Nguồn tham khảo Sources

5 Cơ bản Beginner 8 phút 8 min

Rate Limiting Rate Limiting

Rate limiting rules trong WAF — count theo IP, cookie, path, header. Mitigation: block, challenge, log. Rate limiting rules in WAF — count by IP, cookie, path, header. Mitigation: block, challenge, or log.

Vì sao cần biết? Why it matters

Bảo vệ login và API — bổ sung API Shield cho schema. Protect login and APIs — complement with API Shield for schema validation.

Tiên quyết: Prerequisites: Rate limiting là gì? What is rate limiting?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Rate Limiting
5 Trung cấp Intermediate 8 phút 8 min

Load Balancing Load Balancing

Global LB với pool origin, geo steering, health monitor. Kết hợp DNS proxied và failover tự động. Global LB with origin pools, geo steering, and health monitors. Combines proxied DNS with automatic failover.

Vì sao cần biết? Why it matters

HA multi-region — architecture diagram trên hub minh họa pattern. Multi-region HA — architecture diagrams on the hub illustrate this pattern.

Tiên quyết: Prerequisites: Load balancing cơ bản Load balancing basics

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Load Balancing
5 Cơ bản Beginner 8 phút 8 min

Page Rules vs modern Rules Page Rules vs modern Rules

Page Rules legacy (giới hạn số lượng) — ưu tiên Configuration Rules, Cache Rules, Redirect Rules, Transform Rules. Page Rules chỉ khi cần tương thích cũ. Legacy Page Rules (limited count) — prefer Configuration Rules, Cache Rules, Redirect Rules, Transform Rules. Use Page Rules only for legacy compatibility.

Vì sao cần biết? Why it matters

Tránh tutorial lỗi thời — modern rules expression-based scale tốt hơn. Avoid outdated tutorials — modern expression-based rules scale better.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Rules

Lỗi newbie hay gặp Common newbie mistakes

  • Tạo Page Rule mới thay vì Cache/Configuration Rule tương đương. Creating a new Page Rule instead of an equivalent Cache/Configuration Rule.
5 Cơ bản Beginner 8 phút 8 min

SSL/TLS modes SSL/TLS modes

Off/Flexible/Full/Full (strict) — quyết định mã hóa Cloudflare↔origin. Production nên Full (strict) với cert origin hợp lệ. Off/Flexible/Full/Full (strict) — controls Cloudflare↔origin encryption. Production should use Full (strict) with a valid origin certificate.

Vì sao cần biết? Why it matters

Lỗi 525/526 thường từ mode sai — mục bắt buộc checklist onboarding. 525/526 errors often come from wrong mode — mandatory onboarding checklist item.

Tiên quyết: Prerequisites: Certificate là gì? What is a certificate?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • SSL/TLS

Lỗi newbie hay gặp Common newbie mistakes

  • Flexible SSL với form login — traffic origin leg không mã hóa. Flexible SSL with login forms — origin leg traffic is not encrypted.
5 Trung cấp Intermediate 8 phút 8 min

Origin protection Origin protection

Ẩn origin IP (proxy), allowlist chỉ Cloudflare IP, Authenticated Origin Pulls, Tunnel cho private origin. Giảm bypass WAF trực tiếp tới IP. Hide origin IP (proxy), allowlist only Cloudflare IPs, Authenticated Origin Pulls, Tunnel for private origin. Reduces bypassing WAF by hitting IP directly.

Vì sao cần biết? Why it matters

Advanced hardening sau WAF — SE roadmap week 3 performance/security. Advanced hardening after WAF — SE roadmap week 3 performance/security.

Tiên quyết: Prerequisites: SSL/TLS modes SSL/TLS modes , Orange cloud vs gray cloud Orange cloud vs gray cloud

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • SSL/TLS
  • Tunnel

Lỗi newbie hay gặp Common newbie mistakes

  • Origin IP lộ trong email header hoặc DNS history cũ. Origin IP exposed in email headers or old DNS history.

Giai đoạn 6 Stage 6

Lộ trình Developer Platform Developer Platform Path

Build và deploy trên Cloudflare — Pages, Workers, storage (KV, D1, R2), messaging và AI tại edge. Build and deploy on Cloudflare — Pages, Workers, storage (KV, D1, R2), messaging, and edge AI.

Sau giai đoạn này bạn sẽ: After this stage you will: Chọn đúng storage/compute, deploy app full-stack đơn giản và hiểu binding giữa Workers và dịch vụ Cloudflare. Pick the right storage/compute, deploy a simple full-stack app, and understand Workers bindings to Cloudflare services.

~95 phút · 11 chủ đề ~95 min · 11 topics

6 Cơ bản Beginner 8 phút 8 min

Pages Pages

Cloudflare Pages host static site + Functions (Workers) cho full-stack nhẹ. Git integration, preview deployment, custom domain qua zone Cloudflare. Cloudflare Pages hosts static sites plus Functions (Workers) for lightweight full-stack. Git integration, preview deployments, custom domain via Cloudflare zone.

Vì sao cần biết? Why it matters

Entry cho deploy static và MVP — use case deploy-static-site trên hub. Entry point for static deploy and MVP — deploy-static-site use case on the hub.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Pages

Bài tập gợi ý: Suggested exercise: Deploy site Astro/HTML demo lên Pages và gắn subdomain. Deploy a demo Astro/HTML site to Pages and attach a subdomain.

Nguồn tham khảo Sources

6 Cơ bản Beginner 8 phút 8 min

Workers Workers

Workers chạy JavaScript/TypeScript/Wasm tại edge — request handler, API, middleware. Không server OS truyền thống; scale tự động. Workers run JavaScript/TypeScript/Wasm at the edge — request handlers, APIs, middleware. No traditional OS server; scales automatically.

Vì sao cần biết? Why it matters

Nền tảng Developer Platform — mọi binding (KV, D1…) gắn vào Worker script. Foundation of Developer Platform — every binding (KV, D1, etc.) attaches to a Worker script.

Tiên quyết: Prerequisites: Edge network là gì? What is an edge network?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Workers

Nguồn tham khảo Sources

6 Cơ bản Beginner 8 phút 8 min

Workers routes Workers routes

Route map hostname/path tới Worker — qua dashboard, wrangler hoặc Workers for Platforms. Thứ tự route và specificity quyết định script nào chạy. Routes map hostname/path to a Worker — via dashboard, wrangler, or Workers for Platforms. Route order and specificity determine which script runs.

Vì sao cần biết? Why it matters

Gắn logic edge vào domain production — khác Pages Functions scope. Attach edge logic to production domains — different scope from Pages Functions.

Tiên quyết: Prerequisites: Workers Workers

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Workers

Lỗi newbie hay gặp Common newbie mistakes

  • Route quá rộng `*/*` che mất traffic không mong muốn. Overly broad route `*/*` catching unintended traffic.
6 Cơ bản Beginner 8 phút 8 min

KV KV

Workers KV là key-value store eventually consistent, read-heavy — config, session cache, feature flag. Không thay SQL cho query phức tạp. Workers KV is an eventually consistent key-value store, read-heavy — config, session cache, feature flags. Not a replacement for SQL on complex queries.

Vì sao cần biết? Why it matters

Storage decision tree: KV vs D1 vs R2 — topic nền cho architect mini app. Storage decision tree: KV vs D1 vs R2 — foundation for architecting a mini app.

Tiên quyết: Prerequisites: Workers Workers

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Workers KV

Nguồn tham khảo Sources

6 Cơ bản Beginner 8 phút 8 min

D1 D1

D1 là SQLite serverless tại edge — SQL relational, phù hợp CRUD app nhỏ/vừa. Binding D1 vào Worker; migration qua wrangler. D1 is serverless SQLite at the edge — relational SQL, suited to small/medium CRUD apps. Bind D1 to a Worker; migrate via wrangler.

Vì sao cần biết? Why it matters

Thay external DB cho MVP — liên kết build-serverless-app và SaaS patterns. Replace external DB for MVP — links to build-serverless-app and SaaS patterns.

Tiên quyết: Prerequisites: Workers Workers

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • D1

Tutorial gợi ý Suggested tutorials

Lỗi newbie hay gặp Common newbie mistakes

  • Dùng D1 như analytics warehouse write-heavy lớn. Using D1 as a large write-heavy analytics warehouse.

Nguồn tham khảo Sources

6 Cơ bản Beginner 8 phút 8 min

R2 R2

R2 object storage S3-compatible, không egress fee qua Workers. Lưu upload user, asset, backup — kết hợp Workers presigned URL. R2 is S3-compatible object storage with no egress fees via Workers. Store user uploads, assets, backups — combine with Workers presigned URLs.

Vì sao cần biết? Why it matters

Use case media và SaaS file upload — architecture R2 trên hub. Media and SaaS file upload use cases — R2 architecture on the hub.

Tiên quyết: Prerequisites: Workers Workers

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • R2

Nguồn tham khảo Sources

6 Trung cấp Intermediate 8 phút 8 min

Queues Queues

Queues decouple producer/consumer — Worker gửi message, Worker khác xử lý async. Retry và dead letter cho job nền. Queues decouple producer and consumer — one Worker sends messages, another processes async. Retry and dead letter for background jobs.

Vì sao cần biết? Why it matters

Pattern email, webhook, batch — thay cron + poll thô khi scale. Email, webhook, batch patterns — replaces crude cron + poll at scale.

Tiên quyết: Prerequisites: Workers Workers

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Queues

Nguồn tham khảo Sources

6 Trung cấp Intermediate 8 phút 8 min

Durable Objects Durable Objects

Durable Objects = stateful single-threaded instance theo ID — chat room, counter, coordination realtime. Khác KV ở strong consistency và WebSocket. Durable Objects are stateful single-threaded instances by ID — chat rooms, counters, realtime coordination. Unlike KV: strong consistency and WebSockets.

Vì sao cần biết? Why it matters

Realtime và multiplayer — không dùng DO cho mọi state đơn giản. Realtime and multiplayer — do not use DO for every simple state need.

Tiên quyết: Prerequisites: Workers Workers

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Durable Objects

Lỗi newbie hay gặp Common newbie mistakes

  • Dùng DO thay KV cho config tĩnh — overkill và tốn hơn. Using DO instead of KV for static config — overkill and more expensive.
6 Trung cấp Intermediate 8 phút 8 min

Workflows Workflows

Workflows orchestrate multi-step durable jobs — sleep, retry, human-in-the-loop. Phù hợp pipeline dài hơn một Worker invocation. Workflows orchestrate multi-step durable jobs — sleep, retry, human-in-the-loop. Suited to pipelines longer than one Worker invocation.

Vì sao cần biết? Why it matters

Bổ sung Queues cho process có state machine rõ ràng. Complements Queues for processes with a clear state machine.

Tiên quyết: Prerequisites: Workers Workers , Queues Queues

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Workflows

Nguồn tham khảo Sources

6 Cơ bản Beginner 8 phút 8 min

Workers AI & Vectorize Workers AI & Vectorize

Workers AI chạy model inference tại edge; Vectorize lưu embedding cho tìm kiếm semantic và RAG. Hai binding thường dùng chung trong pipeline AI. Workers AI runs model inference at the edge; Vectorize stores embeddings for semantic search and RAG. The two bindings are often used together in AI pipelines.

Vì sao cần biết? Why it matters

Use case build-ai-applications và architecture ai-rag trên hub. Build-ai-applications use case and ai-rag architecture on the hub.

Tiên quyết: Prerequisites: Workers Workers

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Workers AI
  • Vectorize
6 Trung cấp Intermediate 15 phút 15 min

Full-stack app on Cloudflare Full-stack app on Cloudflare

Pattern phổ biến: Pages frontend + Functions/Workers API + D1/KV/R2 + Access/Turnstile/WAF cho production. Wrangler deploy và env staging/prod. Common pattern: Pages frontend + Functions/Workers API + D1/KV/R2 + Access/Turnstile/WAF for production. Wrangler deploy with staging/prod envs.

Vì sao cần biết? Why it matters

Capstone Developer track — nối mọi topic stage 6 thành một kiến trúc MVP. Developer track capstone — connects all stage 6 topics into one MVP architecture.

Tiên quyết: Prerequisites: Pages Pages , Workers Workers , D1 D1

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Pages
  • Workers
  • D1
  • R2

Bài tập gợi ý: Suggested exercise: Sketch kiến trúc todo app: Pages UI + Worker API + D1 + Turnstile. Sketch a todo app architecture: Pages UI + Worker API + D1 + Turnstile.

Lỗi newbie hay gặp Common newbie mistakes

  • Deploy production không có WAF/rate limit cho API public. Shipping production without WAF/rate limits on a public API.

Giai đoạn 7 Stage 7

Lộ trình Cloudflare One Cloudflare One Path

Zero Trust, Access, Gateway, WARP và Tunnel — bảo vệ user, thiết bị và truy cập app nội bộ/SaaS thay mô hình VPN perimeter. Zero Trust, Access, Gateway, WARP, and Tunnel — secure users, devices, and internal/SaaS access instead of perimeter VPN.

Sau giai đoạn này bạn sẽ: After this stage you will: Giải thích ZTNA vs VPN, thiết kế policy Access/Gateway cơ bản và onboard remote user với WARP/Tunnel. Explain ZTNA vs VPN, design basic Access/Gateway policies, and onboard remote users with WARP/Tunnel.

~82 phút · 10 chủ đề ~82 min · 10 topics

7 Cơ bản Beginner 8 phút 8 min

Zero Trust là gì? What is Zero Trust?

Zero Trust: không tin mặc định mạng nội bộ — mỗi request phải xác minh identity, device và policy. “Verify explicitly, least privilege, assume breach”. Zero Trust: do not trust the internal network by default — every request must verify identity, device, and policy. "Verify explicitly, least privilege, assume breach".

Vì sao cần biết? Why it matters

Cloudflare One xoay quanh Zero Trust — khác stack chỉ WAF cho website public. Cloudflare One revolves around Zero Trust — different from a stack that only WAFs public websites.

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Zero Trust
7 Cơ bản Beginner 8 phút 8 min

VPN vs ZTNA VPN vs ZTNA

VPN đưa user vào toàn mạng nội bộ — blast radius lớn. ZTNA (Zero Trust Network Access) cấp quyền theo từng app/resource với policy chi tiết. VPN puts users on the entire internal network — large blast radius. ZTNA (Zero Trust Network Access) grants access per app/resource with fine-grained policy.

Vì sao cần biết? Why it matters

Use case replace-vpn — pitch Cloudflare Access cho IT và founder. Replace-vpn use case — pitch Cloudflare Access to IT and founders.

Tiên quyết: Prerequisites: Zero Trust là gì? What is Zero Trust?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Access
  • ZTNA

Lỗi newbie hay gặp Common newbie mistakes

  • Coi WARP = VPN truyền thống full tunnel mọi traffic mà không cần policy. Treating WARP as a traditional full-tunnel VPN for all traffic without policy design.
7 Cơ bản Beginner 8 phút 8 min

Access Access

Cloudflare Access bảo vệ app nội bộ/SaaS — user login qua IdP, policy quyết định allow/deny. Không cần mở port inbound origin. Cloudflare Access protects internal/SaaS apps — users log in via IdP, policy decides allow/deny. No need to open inbound ports on origin.

Vì sao cần biết? Why it matters

Admin dashboard, staging, internal API — pattern protect admin trong stage 8. Admin dashboard, staging, internal API — protect-admin pattern in stage 8.

Tiên quyết: Prerequisites: Zero Trust là gì? What is Zero Trust?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Access

Bài tập gợi ý: Suggested exercise: Tạo Access application self-hosted demo với policy email domain. Create a self-hosted Access application demo with an email domain policy.

7 Cơ bản Beginner 8 phút 8 min

Gateway Gateway

Secure Web Gateway — lọc DNS/HTTP/ network traffic từ user (WARP) theo policy: block malware, category, DLP. SWG thay browsing không kiểm soát. Secure Web Gateway — filters DNS/HTTP/network traffic from users (via WARP) by policy: block malware, categories, DLP. SWG replaces uncontrolled browsing.

Vì sao cần biết? Why it matters

Company-wide security và secure SaaS access — liên kết products/swg. Company-wide security and secure SaaS access — links to products/swg.

Tiên quyết: Prerequisites: Zero Trust là gì? What is Zero Trust?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Gateway
  • SWG
7 Cơ bản Beginner 8 phút 8 min

WARP WARP

WARP client kết nối thiết bị tới Cloudflare edge — áp Gateway policy, private routing. Device enrollment qua Zero Trust dashboard. The WARP client connects devices to Cloudflare edge — applies Gateway policy and private routing. Device enrollment via Zero Trust dashboard.

Vì sao cần biết? Why it matters

Remote workforce — pair với use case secure-remote-users. Remote workforce — pair with secure-remote-users use case.

Tiên quyết: Prerequisites: Gateway Gateway

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • WARP

Lỗi newbie hay gặp Common newbie mistakes

  • Triển khai WARP hàng loạt không pilot group và exception policy. Rolling out WARP broadly without a pilot group and exception policies.
7 Cơ bản Beginner 8 phút 8 min

Tunnel Cloudflare Tunnel

cloudflared tạo outbound tunnel từ origin/private network tới Cloudflare — không mở firewall inbound. Public hostname trỏ qua tunnel tới service nội bộ. cloudflared creates an outbound tunnel from origin/private network to Cloudflare — no inbound firewall holes. Public hostnames route through the tunnel to internal services.

Vì sao cần biết? Why it matters

Self-host homelab hoặc private API — architecture tunnel trong SE week 5. Self-hosted homelab or private API — tunnel architecture in SE week 5.

Tiên quyết: Prerequisites: Access Access

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Tunnel

Tutorial gợi ý Suggested tutorials

7 Trung cấp Intermediate 8 phút 8 min

Device posture Device posture

Device posture kiểm tra thiết bị (OS patch, disk encrypt, client version) trước khi allow Access/Gateway. Policy có thể require managed device. Device posture checks the device (OS patch, disk encryption, client version) before allowing Access/Gateway. Policy can require a managed device.

Vì sao cần biết? Why it matters

Enterprise compliance — khác consumer “chỉ cần password”. Enterprise compliance — different from consumer "password only" access.

Tiên quyết: Prerequisites: WARP WARP

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Device posture
7 Cơ bản Beginner 8 phút 8 min

Identity provider integration Identity provider integration

Kết nối Okta, Azure AD, Google Workspace… làm IdP cho Access. SSO, group sync, SCIM provisioning user/group. Connect Okta, Azure AD, Google Workspace, and others as IdP for Access. SSO, group sync, SCIM provisioning for users/groups.

Vì sao cần biết? Why it matters

Bắt buộc doanh nghiệp — không dùng one-time PIN lâu dài production. Required for enterprise — do not rely on one-time PIN long term in production.

Tiên quyết: Prerequisites: Access Access

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Access

Lỗi newbie hay gặp Common newbie mistakes

  • Share admin Cloudflare thay vì map group IdP vào policy. Sharing Cloudflare admin access instead of mapping IdP groups into policy.
7 Cơ bản Beginner 8 phút 8 min

SaaS security basics SaaS security basics

Kiểm soát truy cập SaaS (M365, Salesforce…) qua Access identity proxy + CASB phát hiện shadow IT. Policy theo user/group và device. Control SaaS access (M365, Salesforce, etc.) via Access identity proxy plus CASB for shadow IT detection. Policy by user/group and device.

Vì sao cần biết? Why it matters

Use case secure-saas-access — liên kết products/casb. Secure-saas-access use case — links to products/casb.

Tiên quyết: Prerequisites: Access Access , Identity provider integration Identity provider integration

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Access
  • CASB
7 Trung cấp Intermediate 10 phút 10 min

SASE overview SASE overview

SASE (Secure Access Service Edge) gộp network + security cloud-delivered: ZTNA, SWG, CASB, FWaaS. Cloudflare One positioning trong SASE/SSE. SASE (Secure Access Service Edge) combines cloud-delivered network and security: ZTNA, SWG, CASB, FWaaS. Cloudflare One positioning within SASE/SSE.

Vì sao cần biết? Why it matters

Executive và sales conversation — architecture sase trên hub. Executive and sales conversations — SASE architecture on the hub.

Tiên quyết: Prerequisites: Zero Trust là gì? What is Zero Trust? , Gateway Gateway

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Cloudflare One
  • SASE

Bài tập gợi ý: Suggested exercise: Đọc diagram SASE và ghi 3 capability map vào Access/Gateway/WARP. Read a SASE diagram and map 3 capabilities to Access/Gateway/WARP.

Giai đoạn 8 Stage 8

Use case thực tế Practical Use Cases

Áp dụng kiến thức vào tình huống thực tế — map pain point sang kiến trúc Cloudflare và trang use case trên hub. Apply knowledge to real scenarios — map pain points to Cloudflare architecture and hub use case pages.

Sau giai đoạn này bạn sẽ: After this stage you will: Chọn được use case phù hợp, mô tả architecture một dòng và biết bước triển khai tiếp theo trên hub. Pick the right use case, describe architecture in one line, and know the next deployment step on the hub.

~76 phút · 9 chủ đề ~76 min · 9 topics

8 Cơ bản Beginner 8 phút 8 min

Protect a website Protect a website

Onboard domain, proxy record, SSL Full (strict), WAF managed rules, bot fight mode cơ bản. Kiến trúc: Visitor → DNS + Proxy + Security + Cache → Origin. Onboard domain, proxy records, SSL Full (strict), WAF managed rules, basic bot fight mode. Architecture: Visitor → DNS + Proxy + Security + Cache → Origin.

Vì sao cần biết? Why it matters

Use case phổ biến nhất cho SMB — trang /use-cases/protect-website có checklist chi tiết. Most common SMB use case — /use-cases/protect-website has a detailed checklist.

Tiên quyết: Prerequisites: WAF trên Cloudflare WAF on Cloudflare , Orange cloud vs gray cloud Orange cloud vs gray cloud

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • DNS
  • WAF
  • CDN
  • SSL/TLS

Tutorial gợi ý Suggested tutorials

8 Cơ bản Beginner 8 phút 8 min

Speed up a website Speed up a website

Bật CDN/cache, Cache Rules cho static asset, polish/image, HTTP/2/3, early hints. Đo trước/sau bằng Web Analytics hoặc Lighthouse. Enable CDN/cache, Cache Rules for static assets, Polish/Images, HTTP/2/3, early hints. Measure before/after with Web Analytics or Lighthouse.

Vì sao cần biết? Why it matters

Song song protect — nhiều khách mua Cloudflare vì performance trước. Runs parallel to protect — many customers buy Cloudflare for performance first.

Tiên quyết: Prerequisites: Cache Rules Cache Rules

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • CDN
  • Cache

Bài tập gợi ý: Suggested exercise: So sánh TTFB/LCP trước và sau bật cache rule cho /assets/*. Compare TTFB/LCP before and after enabling a cache rule for /assets/*.

8 Cơ bản Beginner 8 phút 8 min

Secure an API Secure an API

API proxied qua Cloudflare: rate limit, WAF OWASP, API Shield schema validation (nếu có), mTLS/token cho partner. Log và alert anomaly. API proxied through Cloudflare: rate limits, WAF OWASP, API Shield schema validation (if available), mTLS/token for partners. Log and alert on anomalies.

Vì sao cần biết? Why it matters

Developer và SE — use case secure-api + product api-security. Developers and SEs — secure-api use case plus api-security product.

Tiên quyết: Prerequisites: API security basics API security basics

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • API Shield
  • WAF
  • Rate Limiting
8 Cơ bản Beginner 8 phút 8 min

Stop bots Stop bots

Kết hợp Bot Management, rate limit login, Turnstile form, geo/rule tùy abuse pattern. Giữ allowlist crawler SEO. Combine Bot Management, login rate limits, Turnstile on forms, geo/rules for abuse patterns. Keep SEO crawler allowlists.

Vì sao cần biết? Why it matters

Ecommerce và lead form — liên kết bot protection stage 5. Ecommerce and lead forms — links to bot protection in stage 5.

Tiên quyết: Prerequisites: Bot protection Bot protection

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Bot Management
  • Turnstile
8 Cơ bản Beginner 8 phút 8 min

Replace VPN Replace VPN

Migration VPN → ZTNA: inventory app, Access policy per app, WARP deployment, Tunnel cho private resource. Pilot phòng ban trước rollout. VPN → ZTNA migration: inventory apps, Access policy per app, WARP deployment, Tunnel for private resources. Pilot with one department before rollout.

Vì sao cần biết? Why it matters

Cloudflare One flagship — use case replace-vpn và ref vpn-migration. Cloudflare One flagship — replace-vpn use case and vpn-migration reference.

Tiên quyết: Prerequisites: VPN vs ZTNA VPN vs ZTNA

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Access
  • WARP
  • Tunnel
8 Trung cấp Intermediate 8 phút 8 min

Build a serverless app Build a serverless app

Stack: Pages/Workers + D1/R2/KV, wrangler CI, custom domain, Turnstile + WAF cho API public. Preview env cho PR. Stack: Pages/Workers + D1/R2/KV, wrangler CI, custom domain, Turnstile + WAF for public API. Preview env for PRs.

Vì sao cần biết? Why it matters

Developer capstone — use case build-serverless-app. Developer capstone — build-serverless-app use case.

Tiên quyết: Prerequisites: Full-stack app on Cloudflare Full-stack app on Cloudflare

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Workers
  • Pages
  • D1

Bài tập gợi ý: Suggested exercise: Deploy mini API + static UI và ghi binding/env dùng trong wrangler.toml. Deploy a mini API + static UI and document bindings/env used in wrangler.toml.

8 Cơ bản Beginner 8 phút 8 min

Protect admin dashboard Protect admin dashboard

Không public /admin: Access policy (group admin IdP), optional IP allowlist, WAF rule path, Tunnel nếu origin private. Audit log Access events. Do not leave /admin public: Access policy (admin IdP group), optional IP allowlist, WAF path rule, Tunnel if origin is private. Audit Access event logs.

Vì sao cần biết? Why it matters

Pattern startup và internal tool — kết hợp App Services + Cloudflare One. Startup and internal tool pattern — combines App Services + Cloudflare One.

Tiên quyết: Prerequisites: Access Access , WAF trên Cloudflare WAF on Cloudflare

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Access
  • WAF

Lỗi newbie hay gặp Common newbie mistakes

  • Chỉ obscure URL /admin-secret mà không có Access hoặc auth mạnh. Security through obscurity on /admin-secret URL without Access or strong auth.
8 Cơ bản Beginner 8 phút 8 min

Secure remote users Secure remote users

Deploy WARP client, Gateway DNS/HTTP filtering, device enrollment, split tunnel vs full tunnel policy. Support playbook khi user offline. Deploy WARP client, Gateway DNS/HTTP filtering, device enrollment, split tunnel vs full tunnel policy. Support playbook when users go offline.

Vì sao cần biết? Why it matters

HR remote và BYOD — use case secure-remote-users. Remote HR and BYOD — secure-remote-users use case.

Tiên quyết: Prerequisites: WARP WARP

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • WARP
  • Gateway
8 Trung cấp Intermediate 12 phút 12 min

Build a startup MVP on Cloudflare Build a startup MVP on Cloudflare

MVP típ: Pages marketing + Workers API + D1 + R2 upload + Turnstile + free/pro plan awareness. Ít ops, scale dần thêm WAF/Access. Typical MVP: Pages marketing + Workers API + D1 + R2 uploads + Turnstile + free/pro plan awareness. Minimal ops; add WAF/Access as you scale.

Vì sao cần biết? Why it matters

Founder roadmap week 4 — nối cost awareness và architecture pattern. Founder roadmap week 4 — connects cost awareness and architecture patterns.

Tiên quyết: Prerequisites: Full-stack app on Cloudflare Full-stack app on Cloudflare , Khi nào dùng sản phẩm nào? When to use which product?

Sản phẩm Cloudflare liên quan Related Cloudflare products

  • Pages
  • Workers
  • D1
  • R2
  • Turnstile

Bài tập gợi ý: Suggested exercise: Viết one-pager kiến trúc MVP: user flow, sản phẩm Cloudflare, ước lượng cost free tier. Write a one-pager MVP architecture: user flow, Cloudflare products, estimated free-tier cost.

Lỗi newbie hay gặp Common newbie mistakes

  • Over-engineer Durable Objects/Queues trước khi có user thật. Over-engineering Durable Objects/Queues before you have real users.

Lộ trình theo vai trò Role-based roadmaps

Đã nắm nền tảng? Chọn roadmap phù hợp với vai trò của bạn. Got the foundations? Pick a roadmap for your role.

Tiếp theo trên hub Next on the hub

Cloudflare 101, lộ trình chi tiết, quiz và checklist. Cloudflare 101, detailed tracks, quiz, and checklist.