Part 13 · CI/CD, Git & Cloud

Sai lầm và checklist delivery/cloud

Pipeline xanh không có nghĩa supply chain an toàn; managed cloud không có nghĩa architecture tự HA, secure hoặc rẻ.

Red flags

Rebase shared history/reset destructive không backup/reflog plan.
Rebuild per environment, deploy mutable tag và không provenance.
Untrusted PR chạy với secrets/write token/self-hosted runner.
Long-lived AWS key/Azure client secret trong CI thay OIDC.
Rollback binary không xét schema/data; canary chỉ nhìn readiness.
Public/private, HA/DR và AWS/Azure services được giải thích bằng tên thay semantics.
Expose SSH/RDP công khai hoặc coi bastion là đủ an toàn dù dùng shared key, standing admin và thiếu audit.
Terraform state local/commit Git, apply không review, dùng workspace như security boundary hoặc sửa state thủ công.

Checklist

Definition of Done