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

ちいさな会社でのAnsible活用事例

Kaz Watanabe
February 28, 2017

 ちいさな会社でのAnsible活用事例

Kaz Watanabe

February 28, 2017
Tweet

More Decks by Kaz Watanabe

Other Decks in Technology

Transcript

  1. DEVELOPMENT • Vagrant + Ansible • ansible_local provisioner • synced_foler(rsync-auto

    + rsync-back) • nodejs͸ϗετଆͰ࡞ۀ͍ͯ͠Δ(࠷ۙ) • ndenvͰόʔδϣϯ؅ཧ
  2. STAGING / PRODUCTION • ͱͰ͖Δ͚ͩຊ൪ͱಉ͡؀ڥͰ… • εςʔδϯά؀ڥ͸ɺ༧ࢉతʹ৑௕ԽͳͲ͠ͳ͍ͳͲɺશ͘ҰॹͰ ͸ͳ͍͜ͱ͕ଟ͍ • ༻్

    • Provision/Deployͷಈ࡞ݕূ • ΫϥΠΞϯτ͞Μͷಈ࡞ݕূ • ʢεςʔδϯά༻ͷΞϓϦΛ࡞੒ͯ͠഑෍ʣ
  3. STAGING / PRODUCTION • Dynamic inventory͸΄ͱΜͲ࢖ͬͯͳ͍ • ୆਺͕গͳ͍ͷͰ… • Feature

    flag • Քಇঢ়ଶΛSlackʹ௨஌ • Ansible/CapistranoͳͲͷ࣮ߦঢ়گ • ؂ࢹͷΤϥʔ