Slide 1

Slide 1 text

Road to “Infrastructure as Code” in Rakuten Vol.01 Oct/24/2014 Takaaki Furukawa System Provisioning Group, Japan Platform Section Global Operations Department Rakuten Inc.

Slide 2

Slide 2 text

2 •  αʔόʔΤϯδχΞ •  ೔ʑͷ࢓ࣄ •  αʔόͷϓϩϏδϣχϯά •  $IFG 0QFO4UBDL •  ࠷ۙͷؔ৺ࣄ •  50&*$ •  (P ݹ઒و࿕ !ULBL

Slide 3

Slide 3 text

3 ָఱͷΠϯϑϥͷݱঢ়

Slide 4

Slide 4 text

4 Physical  

Slide 5

Slide 5 text

5 •  ϓϥΠϕʔτΫϥ΢υ͕ओྲྀɻ •  αʔϏεͷछྨ͕ଟ͍ʜɻ •  αʔόͷن໛΋༷ʑʜɻ •  ؅ཧ͢Δ෦ॺ΋ଟ͍ʜɻ •  αʔόͷϓϩϏδϣχϯά਺໊ ָఱͷΠϯϑϥ

Slide 6

Slide 6 text

6 •  ൿ఻ͷखॱॻ •  ͍ʹ͑͠ͷ1FSM#BTI •  ฒྻ࡞ۀͷͨΊʹλʔϛφϧΛԿ ݸ΋্ཱͪ͛Δɻ •  ώϡʔϚϯΤϥʔΛ๷ࢭ͢ΔͨΊ ͷϨϏϡʔ΍ঝೝɺ࡞ۀόσΟɻ •  ϧʔϧΛकΔͨΊͷϧʔϧɻ ָఱͷΠϯϑϥ

Slide 7

Slide 7 text

7 ָఱͷΠϯϑϥ ׂͱటष͘࢓ࣄͯ͠·͢ɻ ˞ݸਓͷݟղͰ͢ɻ

Slide 8

Slide 8 text

8 ͦ͜Ͱ l*OGSBTUSVDUVSFBT$PEFz

Slide 9

Slide 9 text

9 "1*Ͱந৅Խ͞ΕͨΠϯϑϥΛ $PEF ؆ܿͳ%4- Ͱهड़͢Δ͜ͱɻ *OGSBTUSVDUVSFBT$PEF •  ࡞ۀͷࣗಈԽ •  αʔόઃఆͷݟ͑ΔԽ •  ϫʔΫϑϩʔͷվળ

Slide 10

Slide 10 text

7JSUVBM.BDIJOF $SFBUJPO 04.JEEMFXBSF$POpHVSBUJPO 1IZTJDBM4FSWFS 04JOTUBMMBUJPO "QQMJDBUJPO%FQMPZNFOU 4ZTUFN1SPWJTJPOJOH'MPX $PNQVUF4-#%/4.POJUPSJOH"$-FUD SLB DNS … Orchestration Bootstrap Configuration Deployment

Slide 11

Slide 11 text

7JSUVBM.BDIJOF $SFBUJPO 04.JEEMFXBSF$POpHVSBUJPO 1IZTJDBM4FSWFS 04JOTUBMMBUJPO "QQMJDBUJPO%FQMPZNFOU 4ZTUFN1SPWJTJPOJOH'MPX $PNQVUF4-#%/4.POJUPSJOH"$-FUD SLB DNS … Orchestration Bootstrap Configuration Deployment Chef

Slide 12

Slide 12 text

12 $IFG •  $POpHVSBUJPO.BOBHFNFOU5PPM •  αʔόͷઃఆΛ%4-Ͱఆٛ

Slide 13

Slide 13 text

13 2012 •  サーバの初期設定にChefを導入。 •  chef-soloを採用(Chef v0.10.10)。 2013 •  ツールが整う。(Vagrant, Serverspec, Stash (Git)) •  Test-Driven Infrastructure、コードレビュー導入。 2014 •  他のグループへの展開。社内勉強会。 •  大規模組織におけるCookbook管理。

Slide 14

Slide 14 text

14 •  ޻਺࡟ݮ •  ࣌ؒͷ࡞ۀ͕෼ʹɻ •  αʔόઃఆͷݟ͑ΔԽ •  ίʔυϨϏϡʔ •  ώϡʔϚϯΤϥʔͷܰݮ •  5FTU%SJWFO*OGSBTUSVDUVSF ಋೖͯ͠Έͯ

Slide 15

Slide 15 text

15 •  ֶशίετߴ͍ •  #FTU1SBDUJDFͷ͋͘ͳ͖୳ٻɻ •  υΩϡϝϯτ͕ෆ଍ ࠓ͸ॆ࣮ •  ࣾ಺ʹ޿ΊΔ •  ຯํΛ࡞Δɻ೤ҙɻ •  ্࢘ͷཧղɻ ಋೖͯ͠Έͯ

Slide 16

Slide 16 text

16 •  αʔόઃఆͷڞ௨Խ •  04ڞ௨ͷαʔόઃఆͳͲ •  αʔόઃఆͷύοέʔδԽ •  ݅਺ͷଟ͍αʔόઃఆΛબఆ •  ྫɿ1)18FCαʔό •  04#"4&$PPLCPPLT •  1)1$PPLCPPL •  "QBDIF$PPLCPPL ଟ༷ͳαʔόઃఆʹର͢ΔऔΓ૊Έ "QQMJDBUJPO .JEEMFXBSF 04#"4&

Slide 17

Slide 17 text

7JSUVBM.BDIJOF $SFBUJPO 04.JEEMFXBSF$POpHVSBUJPO 1IZTJDBM4FSWFS 04JOTUBMMBUJPO "QQMJDBUJPO%FQMPZNFOU ࠓޙͷ՝୊ $PNQVUF4-#%/4.POJUPSJOH"$-FUD SLB DNS … Orchestration Bootstrap Configuration Deployment 0SDIFTUSBUJPO૚ͷίʔυԽɻ 5FSSBGPSN αʔόͷઃఆΛ ͢΂ͯ$IFGͰʂ

Slide 18

Slide 18 text

18 େن໛ͳΠϯϑϥʹڵຯͷ͋Δ ༏लͳΤϯδχΞΛ ઈࢍืूதʂ http://corp.rakuten.co.jp/careers/

Slide 19

Slide 19 text

19 ͓ΘΓ