2012. 2. 7. 13:59 1300K
부제 Bring Behavior-Driven Development to Infrastructure As Code

O'Reilly , Stephen Nelson-Smith, 2011

Chef 와 Cucumber를 조합하여 Infrastructure를 행위기반으로 테스트 해보기.

Chef 설치절차, Cucumber- Chef 설치절차 소개,  예제.

cf) 시스템,네트웍,어플리케이션 모니터링 용으로 개발된 Cucumber-Nagios 가 있음..
Infrastructure Development Life Cycle http://www.slideshare.net/botchagalupe/infrastrucutre-as-sdlc 

고려사항.
1. ruby와 Chef 를 배워야 한다. 
2. unix 계열에서 작업 (윈도우에서 연습은 할 수 없을까?)
3. Amazon EC2 를 써야한다. 
 
인프라 자동화에 대한 고민중.. 
 
posted by smplnote
2012. 1. 18. 15:17 IT

최근 chef에 대해 이야기를 들었다. 
그게 뭐지? puppet은 들어봤지만.

puppet, chef 는 인프라 구성 자동화 도구라고 하면 되겠다.   (cfengine, slack 이란것도 있다.  )

system 설정 자동화 listup : Bcfg2, cfengine, Chef, Puppet, SmartFrog
app 서비스 설정 자동화 : Capistrano, Fabric, Func, ControlTier, Glue 


puppet : http://puppetlabs.com/
Enterprise버전은 상용이나 10개 노드 이하는 Free 
고유 DSL 제공 
사례 :  징가, 트위터 
단점 : 새로 익혀야 하는 DSL

chef : APL
http://wiki.opscode.com/display/chef/Home
ruby 코드 
참고 :  https://www.ibm.com/developerworks/mydeveloperworks/blogs/9e635b49-09e9-4c23-8999-a4d461aeace2/entry/215
사례 :  RightScal

glue :  deployment and monitoring automation platform APL2.0
https://github.com/linkedin/glu 
소개글 :  http://linkedin.github.com/glu/slides/glu-tech-talk-201107.pdf 
-> 여기서 glue와 puppet을 비교하면서 puppet은 machine infra에 대한 configuration, glue는 dynamic application 에 대한 provisioning 에 좋다고 평한다. (물론 glue를 만든 사람이 하는 말이다.)
재미있는건 ZooKeeper를 이용하여 정보를 저장하고 이벤트 통지 등을 관리 한다는것.. 
 groovy 코드 
 
slack : 구글에서 쓴다고 하네요 

cf) 분산시스템 모니터링은  nagios, opsview, etc 
posted by smplnote