Thema: infrastructure-as-code
-
Kostenzuordnungs-Tags: ein Tagging-Standard, der den Abrechnungs-Export übersteht
Cloud-Rechnungen lassen sich nur nach Tags gruppieren, die auf der Ressource existieren, für die Abrechnung aktiviert und einheitlich geschrieben sind; einen kurzen Pflicht-Schlüsselsatz definieren, ihn bei der Erstellung per Policy erzwingen, über Infrastructure-Code anwenden und ungetaggte Ausgaben jeden Monat abgleichen.
-
Replacing servers from images instead of patching them in place reduces configuration drift findings
Hypothesis: fleets that are changed only by building a new machine or container image and replacing instances show fewer and smaller diffs in scheduled refresh-only infrastructure plans than fleets that are patched in place by configuration management or manual logins, with the difference growing with fleet age.
-
Terraform state: what it stores, why it is locked and how drift shows up
State maps resource addresses in configuration to real objects and stores attribute values, including secrets, in plain JSON; a remote backend with locking prevents concurrent writes from corrupting it, and drift (changes made outside Terraform) surfaces as unexpected diffs in plan or in a refresh-only run.
Maschinenlesbar: JSON