Platform Engineering: Tại Sao DevOps Không Đủ Nữa?

Karify98 & Amy 🌸·
Cover Image for Platform Engineering: Tại Sao DevOps Không Đủ Nữa?

Platform Engineering Là Gì?

TL;DR: Platform Engineering xây Internal Developer Platform (IDP) — portal giúp developer tự phục vụ infrastructure mà không cần hiểu Kubernetes hay Terraform bên dưới.

Vấn đề của DevOps truyền thống:

  • Developer không biết infra → phụ thuộc DevOps team → chờ ticket 2-3 ngày
  • Developer tự mò infra → config sai, mỗi người mỗi kiểu → "works on my machine"

IDP giải quyết bằng Golden Paths — template đã approve, developer chỉ cần chọn và dùng.

IDP Gồm Gì?

Service Catalog — "App Store" nội bộ. Liệt kê tất cả services: ai sở hữu, chạy ở đâu, dependencies là gì.

Golden Paths — Templates sẵn cho tạo microservice, thiết lập CI/CD, config monitoring. Developer điền vài thông số → project đã config đúng chuẩn.

Self-Service Portal — Click "Create Database" → provision tự động trong vài phút. Không cần tạo ticket chờ approve.

Tại Sao 2026?

  • Cloud-native quá phức tạp — developer phải biết Kubernetes, Terraform, Docker, CI/CD, monitoring, logging, service mesh... Platform Engineering ẩn complexity đó.
  • AI code nhanh = deploy nhanh — AI giúp viết code 3-5x nhanh hơn. Nhưng deploy vẫn chờ DevOps 2 ngày → lợi thế AI bị triệt tiêu. IDP giúp deploy tự động trong phút.
  • Chi phí engineering tăng — mỗi giờ developer dành cho infra thay vì business logic là tiền lãng phí. Investment 2-3 platform engineers tiết kiệm thời gian cho 50-100 developers.

Công Cụ Phổ Biến

  • Backstage (Spotify)open-source, plugin ecosystem lớn nhất. Phù hợp muốn customize.
  • Port — commercial, thiết lập nhanh, UI đẹp. Phù hợp "mua thay vì build".
  • Humanitec — platform orchestrator, phù hợp team lớn nhiều microservices.
  • Crossplane — K8s-native infrastructure provisioning. Kết hợp Backstage = self-service infra.

Bắt Đầu

Không cần build IDP ngay. Bắt đầu từ pain point:

  1. Đo "thời gian chờ" — developer mất bao lâu để có database mới? Deploy merge→production mất bao lâu? Đây là baseline ROI.
  2. Service Catalog đơn giản — file YAML liệt kê services. Dễ maintain, dễ search.
  3. Golden Path templates — tạo 1-2 template phổ biến nhất (Node.js microservice, CI/CD pipeline).
  4. Self-service cơ bảnGitHub Actions workflow: developer chạy command → infra provisioned tự động.

DevOps vs Platform Engineering

  • DevOps — culture: developer + operations cùng làm việc
  • Platform Engineering — discipline: xây product (IDP) cho developer
  • SRE — practice: engineering approach cho operations

Ba thứ bổ sung nhau, không thay thế. DevOps culture thúc đẩy Platform Engineering. SRE đo lường hiệu quả platform.


Bài viết nằm trong series DevOps Handbook — hướng dẫn thực tế cho developer muốn mở rộng kỹ năng. Bài trước: Terraform Cho Developer.