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

大規模ウェブサービスの成長に伴うデプロイ手法の変化から見る技術と文化 / openst...

大規模ウェブサービスの成長に伴うデプロイ手法の変化から見る技術と文化 / openstackdays2018

Ryo Takaishi

August 02, 2018
Tweet

More Decks by Ryo Takaishi

Other Decks in Technology

Transcript

  1. !27 ܭըతεέʔϦϯάͷߏ੒ ΞΫηεස౓༧ଌ ίϯϙʔωϯτ αʔόʔ୆਺ܭࢉɾ૿ݮ ίϯϙʔωϯτ ༧ଌ݁Ռอ࣋ ετϨʔδ IaaS Endpoint

    ೔ճɺ࣌ؒ୯ҐͰ
 ͦͷ೔ͷΞΫηεස౓Λ༧ଌ ࣌ؒʹճɺ࣍ͷ࣌ؒඞཁͳ αʔόʔ୆਺Λܭࢉɺ૿ݮ ࣍ͷ࣌ؒͷ ΞΫηεස౓༧ଌΛऔಘ αʔόʔ୆਺Λ૿ݮ ظ෼ͷ ΞΫηε༧ଌΛอଘ
  2. !34 αʔόʔͷσϓϩΠαΠΫϧ www image v1 www image v2 www image

    v3 deleted www server v1 minne v1 www server v2 minne v1 www server v3 minne v1 deleted Golden Imageํࣜ w1VQQFUߋ৽࣌ʹΠϝʔδϏϧυ wϛυϧ΢ΣΞ(nginx, td-agent) wΞϓϦέʔγϣϯ(rails) wଈΞϓϦ͕ىಈ͢Δ deleted
  3. !35 αʔόʔͷσϓϩΠαΠΫϧ www image v1 deleted www image v2 www

    image v3 deleted www server v1 minne v1 www server v2 minne v1 www server v3 minne v1
  4. !36 αʔόʔͷσϓϩΠαΠΫϧ www image v1 deleted www image v2 www

    image v3 deleted www server v1 minne v1 www server v2 minne v1 www server v3 minne v1 Immutable Infrastructure
  5. !37 ΞϓϦέʔγϣϯͷσϓϩΠαΠΫϧ deploy minne-app v2 www image deleted www server

    minne v1 www server minne v2 www server minne v3 deploy minne-app v3 terminate server launch server
 & deploy latest minne
  6. !41 σϓϩΠͷϥΠϑαΠΫϧ͕ҧ͏ͱԿ͕ى͖Δ͔ www image v1 deleted www server v1 minne

    v1 www server v1 minne v1 deploy minne-app v2 www server v1 minne v2
  7. !42 σϓϩΠͷϥΠϑαΠΫϧ͕ҧ͏ͱԿ͕ى͖Δ͔ www image v1 www server v1 minne v1

    www server v1 minne v1 deploy minne-app v2 www server v1 minne v2 ΞϓϦͷόʔδϣϯ͕ҧ͏ʂ
  8. !43 σϓϩΠͷϥΠϑαΠΫϧ͕ҧ͏ͱԿ͕ى͖Δ͔ www image v1 deleted www server v1 minne

    v1 www server v1 minne v1 deploy minne-app v2 www server v1 minne v2 www server v1 minne v2 αʔϏεΠϯલʹΞϓϦΛ࠷৽൛ʹ
  9. !44 σϓϩΠͷϥΠϑαΠΫϧ͕ҧ͏ͱԿ͕ى͖Δ͔ www image v1 deleted www server v1 minne

    v1 www server v1 minne v1 deploy minne-app v2 www server v1 minne v2 www server v1 minne v2 αʔϏεΠϯલʹΞϓϦΛ࠷৽൛ʹ λΠϜϥά
  10. !55 NJOOFϦϦʔε࣌఺Ͱ࢖͑ͨϓϥοτϑΥʔϜ͸ʁ 2006 2009 2013 minne
 release 2012/01 2015 PaaS

    heroku Container docker "84&$Ͱ։࢝ Ұ෦Λ/ZBI΁Ҡઃ IaaS AWS Private
 IaaS Nyah