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

Beyond the Twelve-Factor App

Beyond the Twelve-Factor App

クラウドネイティブアプリケーションの設計パターン「Beyond the Twelve-Factor App」の紹介

Kazuya Takahashi

August 30, 2016
Tweet

More Decks by Kazuya Takahashi

Other Decks in Technology

Transcript

  1. About me The Twelve Factor App 12 Beyond גࣜձࣾϦΞϧϫʔϧυ(. גࣜձࣾ3&"-'*/5&$)$50

    ∁ڮ࿨໵ ΞδϟΠϧͰϑϧελοΫͳҙࣝߴ͍ΤϯδχΞ ݸਓͰ͸-*7&"(&ͱ͍͏Իָʷ8&#ͳूஂͷҰһͰ͢ IUUQTMJWFBHFUPEBZ
  2. 04. Design, Build, Release, Run ઃܭɿΞϓϦέʔγϣϯ͸ࣄલʹશ෦ઃܭ͢ΔͷͰ͸ͳ͘ɺઃܭͱίʔσΟϯά Λখ͍͞୯ҐͰ܁Γฦ͠ߦ͍ͬͯ͘ɻ ϏϧυɿϦϙδτϦͰࢦఆ͞Εͨίʔυϕʔεͷґଘؔ܎Λղܾ͠ίϯύΠϧɻ ϩʔΧϧ؀ڥͰ΋ಉ༷ͷखॱΛߦ͑͹ϩʔΧϧͰಈ͍͕ͨຊ൪Ͱಈ͔ͳ͍ͱ͍͏ ໰୊͸ൃੜ͠ͳ͍ɻ

    ϦϦʔεɿϏϧυ͞Εͨ΋ͷΛ؀ڥຖͷσϓϩΠઃఆͱ݁߹ͯ͠ϦϦʔεɻϦϦʔ ε͸ඞͣҰҙͳ*%Λ࣋ͪɺϩʔϧόοΫͰ͖ΔΑ͏ʹ͢Δɻ$BQJTUSBOPͩͱλ ΠϜελϯϓΛ΋ͬͨσΟϨΫτϦɺ%PDLFSͩͱλάɻ The Twelve Factor App 12 Beyond
  3. 04. Design, Build, Release, Run The Twelve Factor App 12

    Beyond ࣮ߦɿϦϦʔε͞ΕͨίϯςφͳͲͷϓϩηεΛىಈ࣮ͯ͠ߦɻϩʔΧϧͰϏϧ υ࣮ͯ͠ߦͨ͠΋ͷ͕ɺ$*$%ύΠϓϥΠϯΛ௨ͯ͡ɺͦͷ··ෳ਺ͷΫϥ΢υ ؀ڥͰ΋࣮ߦ͞ΕΔɻ
  4. 08. Backing services αʔυύʔςΟͷαʔϏεΛ࢖͏৔߹ɺαʔϏε͕μ΢ϯ͢ΔͱίωΫγϣϯͷ λΠϜΞ΢τ଴͕ͪൃੜͯ͠ɺଞͷॲཧ΋μ΢ϯͯ͠͠·͏Մೳੑ͕͋ΔͨΊɺ $JSDVJU#SFBLFSύλʔϯΛ࠾༻͢ΔͱΑ͍ɻ The Twelve Factor App

    12 Beyond $JSDVJU#SFBLFSύλʔϯͱ͸ɺϦϞʔτΞΫηεͷ੒ޭʗࣦഊΛΧ΢ϯτ͠ɺΤϥʔ཰͕ᮢ஋Λ ௒͑ͨͱ͖ʹࣗಈతʹΞΫηεΛःஅ͢Δ࢓૊Έɻ WJB෼ࢄαʔϏε؀ڥ΁ͷ$JSDVJU#SFBLFSͷద༻-*/&&OHJOFFST#MPH
  5. 15. Authentication and Authorization ΦϦδφϧͷ'BDUPS"QQʹ͸ແ͍߲໨ɻΫϥ΢υωΠςΟϒΞϓϦέʔγϣ ϯͷηΩϡϦςΟରࡦ͸3#"$ 3PMF#BTF"DDFTT$POUSPMM ͕ద͍ͯ͠ΔɻΞ ϓϦέʔγϣϯ͸ͲͷϢʔβʔ͕ϦΫΤετ͍ͯ͠Δͷ͔Λೝূ͠ɺͦͷϢʔβʔ ͕ଐ͍ͯ͠Δϩʔϧ͔Β࣮ߦͰ͖ΔॲཧΛೝՄ͢Δɻ

    ैདྷͷόοΫΤϯυαʔϏεͱͷ઀ଓͰ͸*1Ͱͷ੍ݶ͕ଟ͍͕ɺΠϯελϯε͕ ૿ݮͨ͠ΓҰ࣌తͳ΋ͷͰ͋Δ৔߹͸*1؅ཧ͕೉͍ͨ͠ΊɺϢʔβʔͱಉ༷ʹ 3#"$͕༗ޮͰ͋Δɻ The Twelve Factor App 12 Beyond