Pro Yearly is on sale from $80 to $50! »

プロビジョニングツールはMakeで決まりだろ

 プロビジョニングツールはMakeで決まりだろ

Recruit Technologies Open Lab #03: Infrastructure as Code, 2016-07-07
#rtechlab

F2f9d54e8fafad3fce62bbf072cdab1e?s=128

Kazunori Otani

July 07, 2016
Tweet

Transcript

  1. ϓϩϏδϣχϯάπʔϧ͸ .BLFͰܾ·ΓͩΖ 3FDSVJU5FDIOPMPHJFT0QFO-BC*OGSBTUSVDUVSFBT$PEF  !LBU[DIBOH 70:"(&(3061 *OD

  2. എܠ w େ୩࿨ل!LBU[DIBOH w 70:"(&(3061 ;VDLT w "E/FUXPSL։ൃ w ΞδϟΠϧઓུࣨ

    w ϘϧμϦϯάڃڃ
  3. ͜Ε·Ͱͷ͋Β͢͡ w .BLF͸ϕλʔTIFMMTDSJQUͰ͋Δ   w *NNVUBCMF*OGSBTUSVDUVSF࣮ࡍʹ΍ͬͯΈͨ 

  4. ͜Ε͔Βͷ͋Β͢͡ w ࣮ફNBLFNBDLFSFMBHFOUJOTUBMM w ൺֱએݴܕͱ͍͏ύϥμΠϜ w ఏݴखଓ͖ܕ΁ͷճؼ

  5. ͜Ε͔Βͷ͋Β͢͡ w ࣮ફNBLFNBDLFSFMBHFOUJOTUBMM w ൺֱએݴܕͱ͍͏ύϥμΠϜ w ఏݴखଓ͖ܕ΁ͷճؼ

  6. NBLFNBDLFSFMBHFOUJOTUBMM IUUQTNBDLFSFMJPKBEPDTFOUSZIPXUPJOTUBMMBHFOUBNB[POMJOVY

  7. NBLFNBDLFSFMBHFOUJOTUBMM curl -fsSL https://mackerel.io/file/script/amznlinux/setup-yum.sh | sh sudo yum install -y

    mackerel-agent sudo mackerel-agent init -apikey="<YOUR_API_KEY>" sudo /sbin/service mackerel-agent start
  8. NBLFNBDLFSFMBHFOUJOTUBMM IUUQTHJTUHJUIVCDPNLBU[DIBOHFBFCEEEBEDEEFEC⒎FDBBFBE

  9. NBLFNBDLFSFMBHFOUJOTUBMM $ sudo make -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Τϯδϯͱ࿈ܞ $SFEFOUJBMTͳͲͷศརػೳ

  18. 1SPWJTJPOJOH5PPMT એݴతهड़ͱࠩ෼ద༻ ެ։ϞδϡʔϧΫοΫϒοΫʜ ςϯϓϨʔτΤϯδϯͱ࿈ܞ $SFEFOUJBMTͳͲͷศརػೳ

  19. ႈ౳ੑͳΜͯͳ͔ͬͨ  QBDLBHFlIPHFzFOTVSFlJOTUBMMFEz  ࣌͸ա͗Δ  هड़Λফ͢ ͔Βద༻ͨ͠αʔόʹ͸IPHF͕࢒Δ ͔Βద༻ͨ͠αʔόʹ͸IPHF͸ͳ͍

  20. 1SPWJTJPOJOH5PPMT એݴతهड़ͱࠩ෼ద༻ ɹɹ❌αʔό͸ঢ়ଶΛ͕࣋ͭΏ͑ʹɺ༧ଌࠔ೉

  21. ͜Ε͔Βͷ͋Β͢͡ w ࣮ફNBLFNBDLFSFMBHFOUJOTUBMM w ൺֱએݴܕͱ͍͏ύϥμΠϜ w ఏݴखଓ͖ܕ΁ͷճؼ

  22. ఏݴखଓ͖ܕ΁ͷճؼ w ڞ༻αʔό͔Β୯ػೳαʔό΁ ෳࡶͳαʔόΛͲ͏؅ཧ͢Δ͔͔Βɺ ୯७ͳαʔόΛͲ͏૊Έ߹ΘͤΔ͔΁ w Ϋϥ΢υίϯςφͱɺഁغՄೳͳΠϯϑϥ αʔό͸ঢ়ଶΛ࣋ͭ΋ͷঢ়ଶ؅ཧ͔Βಀ͛Δ w ৽ͨͳԿ͔΁ͷରԠαʔόϨε

    ڞ௨ݴޠͱͯ͠ͷDMJ TIFMMTDSJQUͱͷ਌࿨ੑ
  23. ϓϩϏδϣχϯάπʔϧ͸ .BLFͰܾ·ΓͩΖ 3FDSVJU5FDIOPMPHJFT0QFO-BC*OGSBTUSVDUVSFBT$PEF  !LBU[DIBOH 70:"(&(3061 *OD