Slide 1

Slide 1 text

Itamae Meetup

Slide 2

Slide 2 text

Learning CMT

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

agenda 1. Web operation training 2. Why Itamae? 3. After all

Slide 9

Slide 9 text

Web operation training GMO Pepabo, Inc.

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

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

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

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/

Slide 16

Slide 16 text

8FCΦϖϨʔγϣϯݚमͷΰʔϧɿ ΞϓϦ͕ʮಈ͘ʯΠϯϑϥΛɺεςοϓɾόΠɾεςοϓͰ੒௕ͤ͞Δ

Slide 17

Slide 17 text

manual install ɹɹΛ7BHSBOUͰಈ͔͢

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

manual install infra as code test ɹɹΛ7BHSBOUͰಈ͔͢ 4FSWFSTQFDͰςετ͢Δ *UBNBFͰίʔυԽ͢Δ

Slide 20

Slide 20 text

manual install infra as code transfer test ɹɹΛ7BHSBOUͰಈ͔͢ 4FSWFSTQFDͰςετ͢Δ *UBNBFͰίʔυԽ͢Δ /ZBI ϖύϘͷ0QFO4UBDL Ͱߏங͢Δ

Slide 21

Slide 21 text

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

Slide 22

Slide 22 text

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

Slide 23

Slide 23 text

Why Itamae

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

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

Slide 26

Slide 26 text

Configuration management tools

Slide 27

Slide 27 text

Configuration management tools ■ Simple ■ Lightweight ■ Ruby DSL

Slide 28

Slide 28 text

Basic CMT Service Configuration Installation

Slide 29

Slide 29 text

Basic CMT Service Configuration Installation ■ module ■ cookbooks

Slide 30

Slide 30 text

Learning Basic CMT

Slide 31

Slide 31 text

After all

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

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

Slide 34

Slide 34 text

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

Slide 35

Slide 35 text

ॴײ • Rakefile / Cap / Itamae ͳͲͷ࢖͍෼͚͸ΩνϯͱֶΜͰ͍ͨ • 1ϲ݄ͱ͍͏୹͞Ͱܗʹ͍ͯͨ͠ • Puppet΍ChefΛબΜͰ͍ͨΒɺ͓ͦΒ͘πʔϧͦͷ΋ͷͷֶशʹ ଟ͘ͷ࣌ؒΛׂ͔Εͯ͠·͍ͬͯͨͩΖ͏

Slide 36

Slide 36 text

Summary Itamae

Slide 37

Slide 37 text

͓·͚ දࢴϘπҊ

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

Itamae Meetup

Slide 40

Slide 40 text

Itamae Meetup

Slide 41

Slide 41 text

Itamae Meetup