Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learning Configuration Management Tool / Itamae Meetup 2015

Learning Configuration Management Tool / Itamae Meetup 2015

47e8318347fb8cd6a2c39bc6cf6e333e?s=128

Okumura Takahiro

December 09, 2015
Tweet

More Decks by Okumura Takahiro

Other Decks in Technology

Transcript

  1. Itamae Meetup

  2. Learning CMT

  3. OKUMURA Takahiro ( @hfm)
 nickname: okkun http://blog.hifumi.info Infra-group at GMO

    Pepabo (2013.4 - now)
  4. None
  5. None
  6. None
  7. None
  8. agenda 1. Web operation training 2. Why Itamae? 3. After

    all
  9. Web operation training GMO Pepabo, Inc.

  10. http://tech.pepabo.com/2015/11/20/rubyworld-conference-2015/

  11. https://github.com/yaocloud/yao Yet Another OpenStack API wrapper

  12. None
  13. αΠΫϧOJT جૅݚम 8FC։ൃ 8FCΦϖϨʔγϣϯ ϞόΠϧΞϓϦ ٕज़෦ 1&1"#08J."9 Χϥʔϛʔγϣοϓ 46;63* άʔϖ

    ϒΫϩά 6݄ 7݄ 8݄ 9݄ 10݄ 11݄ 12݄ 1݄ ͓࢈΢ΟʔΫ
  14. αΠΫϧOJT جૅݚम 8FC։ൃ 8FCΦϖϨʔγϣϯ ϞόΠϧΞϓϦ ٕज़෦ 1&1"#08J."9 Χϥʔϛʔγϣοϓ 46;63* άʔϖ

    ϒΫϩά 6݄ 7݄ 8݄ 9݄ 10݄ 11݄ 12݄ 1݄ ͓࢈΢ΟʔΫ Today’s topic!
  15. CMPHT 1. http://blog.hifumi.info/2015/06/14/pepabo-engineer-training-2015/ 2. http://blog.hifumi.info/2015/07/20/pepabo-web-operation-training-2015/ 3. http://blog.hifumi.info/2015/08/18/pepabo-mobile-app-training-2015/ 4. http://blog.hifumi.info/2015/11/16/pepabo-cycle-ojt-2015/ 5.

    http://blog.hifumi.info/2015/12/09/shitei-toudan-2015/
  16. 8FCΦϖϨʔγϣϯݚमͷΰʔϧɿ ΞϓϦ͕ʮಈ͘ʯΠϯϑϥΛɺεςοϓɾόΠɾεςοϓͰ੒௕ͤ͞Δ

  17. manual install  ɹɹΛ7BHSBOUͰಈ͔͢

  18. manual install test  ɹɹΛ7BHSBOUͰಈ͔͢  4FSWFSTQFDͰςετ͢Δ

  19. manual install infra as code test  ɹɹΛ7BHSBOUͰಈ͔͢  4FSWFSTQFDͰςετ͢Δ

     *UBNBFͰίʔυԽ͢Δ
  20. manual install infra as code transfer test  ɹɹΛ7BHSBOUͰಈ͔͢ 

    4FSWFSTQFDͰςετ͢Δ  *UBNBFͰίʔυԽ͢Δ  /ZBI ϖύϘͷ0QFO4UBDL Ͱߏங͢Δ
  21. manual install infra as code transfer high availability test 

    ɹɹΛ7BHSBOUͰಈ͔͢  4FSWFSTQFDͰςετ͢Δ  *UBNBFͰίʔυԽ͢Δ  /ZBI ϖύϘͷ0QFO4UBDL Ͱߏங͢Δ  ϩʔϧ͝ͱʹΠϯελϯεΛ෼ׂ͢Δ
  22. manual install infra as code transfer high availability test 

    ɹɹΛ7BHSBOUͰಈ͔͢  4FSWFSTQFDͰςετ͢Δ  *UBNBFͰίʔυԽ͢Δ  /ZBI ϖύϘͷ0QFO4UBDL Ͱߏங͢Δ  ϩʔϧ͝ͱʹΠϯελϯεΛ෼ׂ͢Δ
  23. Why Itamae

  24. Provisioning Toolchain Provisioning Toolchain by Lee Thompson (Velocity 2010), αʔόϓϩϏδϣχϯάͷ͜Ε·Ͱͱ͜Ε͔Β

    (σϒαϛ2014) ΑΓ࡞੒ Application Service Orchestration System Configuration OS install Cloud or VM Image Launch Capistrano Fabric Consul Puppet Chef Itamae Kickstart Cobbler EC2 OpenStack Orchestration Configuration Bootstrapping Ansible Cloud-init
  25. Provisioning Toolchain Provisioning Toolchain by Lee Thompson (Velocity 2010), αʔόϓϩϏδϣχϯάͷ͜Ε·Ͱͱ͜Ε͔Β

    (σϒαϛ2014) ΑΓ࡞੒ Application Service Orchestration System Configuration OS install Cloud or VM Image Launch Capistrano Fabric Consul Puppet Chef Itamae Kickstart Cobbler EC2 OpenStack Orchestration Configuration Bootstrapping Ansible Cloud-init
  26. Configuration management tools

  27. Configuration management tools ▪ Simple ▪ Lightweight ▪ Ruby DSL

  28. Basic CMT Service Configuration Installation

  29. Basic CMT Service Configuration Installation ▪ module ▪ cookbooks

  30. Learning Basic CMT

  31. After all

  32. None
  33. if Date.today.friday? and Time.now.hour >= 18 puts "༵ۚ೔ʹσϓϩΠ͢ΔͷͰ͔͢ʁʁʁʁ" print "yes/no:

    " answer = STDIN.gets.strip abort unless answer =~ /\A(y|yes)\z/i end
  34. if Date.today.friday? puts "༵ۚ೔ʹσϓϩΠ͢ΔͷͰ͔͢ʁʁʁʁ" print "yes/no: " answer = STDIN.gets.strip

    abort unless answer =~ /\A(y|yes)\z/i end
  35. ॴײ • Rakefile / Cap / Itamae ͳͲͷ࢖͍෼͚͸ΩνϯͱֶΜͰ͍ͨ • 1ϲ݄ͱ͍͏୹͞Ͱܗʹ͍ͯͨ͠

    • Puppet΍ChefΛબΜͰ͍ͨΒɺ͓ͦΒ͘πʔϧͦͷ΋ͷͷֶशʹ ଟ͘ͷ࣌ؒΛׂ͔Εͯ͠·͍ͬͯͨͩΖ͏
  36. Summary Itamae

  37. ͓·͚ දࢴϘπҊ

  38. None
  39. Itamae Meetup

  40. Itamae Meetup

  41. Itamae Meetup