12. Infrastructure as Codeの原則
簡単に再現できるシステム
使い捨てにできるシステム
Pets Model vs Cattle Model:『サーバーはペットではなく家畜として扱え』
上司に対しての下拵え
Ansibleで今の運⽤をそのまま⾃動化?
Bill Baker
Servers are like pets
You name them and when they get sick, you nurse Servers are like pets them back to
health.
Servers are like cattle
You number them and when they get Servers are like cattle sick, you shoot them.
Randy Bias(2012) Architectures for open and scalable clouds 12
13. 現⾏の運⽤がPets Modelに該当するのであれば
IaC toolであるAnsibleの利⽤はCattle Modelでの使⽤を念頭に
導⼊に際しては適切に運⽤の⾒直しを⾏うべき。
機械処理する以上、機械が処理しやすい形への運⽤変更は必須。
共有しておきたい認識
⾃動化に際して現⾏運⽤の⾒直しや改定は殆どの場合で必要になる
上司に対しての下拵え
Ansibleで今の運⽤をそのまま⾃動化?
Photo by Oriol Pascual on Unsplash 13