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

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

C84357a21083c81c5ccd5550422abc8d?s=128

Ryo Takaishi

August 02, 2018
Tweet

Transcript

  1. 4.
  2. 5.
  3. 9.
  4. 11.
  5. 15.
  6. 24.
  7. 25.
  8. 27.

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

    ೔ճɺ࣌ؒ୯ҐͰ
 ͦͷ೔ͷΞΫηεස౓Λ༧ଌ ࣌ؒʹճɺ࣍ͷ࣌ؒඞཁͳ αʔόʔ୆਺Λܭࢉɺ૿ݮ ࣍ͷ࣌ؒͷ ΞΫηεස౓༧ଌΛऔಘ αʔόʔ୆਺Λ૿ݮ ظ෼ͷ ΞΫηε༧ଌΛอଘ
  9. 34.

    !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
  10. 35.

    !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
  11. 36.

    !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
  12. 37.

    !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
  13. 41.

    !41 σϓϩΠͷϥΠϑαΠΫϧ͕ҧ͏ͱԿ͕ى͖Δ͔ www image v1 deleted www server v1 minne

    v1 www server v1 minne v1 deploy minne-app v2 www server v1 minne v2
  14. 42.

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

    www server v1 minne v1 deploy minne-app v2 www server v1 minne v2 ΞϓϦͷόʔδϣϯ͕ҧ͏ʂ
  15. 43.

    !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 αʔϏεΠϯલʹΞϓϦΛ࠷৽൛ʹ
  16. 44.

    !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 αʔϏεΠϯલʹΞϓϦΛ࠷৽൛ʹ λΠϜϥά
  17. 55.

    !55 NJOOFϦϦʔε࣌఺Ͱ࢖͑ͨϓϥοτϑΥʔϜ͸ʁ 2006 2009 2013 minne
 release 2012/01 2015 PaaS

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