Compute decision tree
Hỏi lần lượt: cần custom OS/agent không? workload là web/API, container job hay nhiều service? cần orchestration/rollout/service discovery không? state nằm ở đâu? team muốn vận hành node đến mức nào?
| Workload | Option thường phù hợp | Cần kiểm tra |
|---|---|---|
| Legacy cần full OS | VM | patching, disk, access, HA |
| Nhiều VM đồng nhất | VM Scale Sets | image, health, autoscale, state |
| Web/API managed | App Service | runtime, deployment, scale, network integration |
| Container đơn giản/on-demand | Container Instances | startup, persistence, networking, cost |
Không có option nào tự giải quyết data durability, identity hoặc observability.
Bài tập
Thiết kế compute cho ba workload ở trên. Ghi primary option, rejected alternative, scaling signal, health evidence, persistence boundary và cleanup. Nếu dùng VMSS, giải thích vì sao application state không được giữ trong local disk của instance.