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

Cell-based Architectureって何だろう 〜AWSのホワイトペーパーを読み解く〜

mazyu36
February 15, 2024
79

Cell-based Architectureって何だろう 〜AWSのホワイトペーパーを読み解く〜

mazyu36

February 15, 2024
Tweet

Transcript

  1. $FMM#BTFE"SDIJUFDUVSFͱ͸ Cell Router Client Cell Client w ෳ਺ͷಠཱͨ͠ಉछͷγεςϜΛอ࣋͢ΔσβΠϯύλʔϯɻ w ಛʹେن໛γεςϜʹ͓͍ͯϝϦοτ͕͋Δʢ4DBMBCJMJUZ

    "WBJMBCJMJUZ .BJOUBJOBCJMJUZʣ Ұൠతͳ"SDIJUFDUVSF $FMM#BTFE"SDIJUFDUVSF  Cell Cell Cell ಠཱͨ͠ಉछͷγεςϜ $MJFOUຖʹ$FMMʹৼΓ෼͚ γεςϜࣗମΛγϟʔσΟϯά͢ΔΠϝʔδ
  2. ϝϦοτ4DBMBCJMJUZ Cell Cell Router Client Cell Cell Client ʮγϯϓϧʯͳߏ੒Λอͬͨ··ɺ੍໿Λճආͯ͠େن໛ͳεέʔϦϯά͕Մೳ Ұൠతͳ"SDIJUFDUVSF

    $FMM#BTFE"SDIJUFDUVSF ɾɾɾ ɾɾɾ ɾɾɾ $FMMࣗମΛεέʔϧΞ΢τ ɾΞʔΩςΫνϟͷ੍໿ճආʢFY$FMMຖʹ%#ͷϥΠλʔ͕ଘࡏʣɻ ɾΫΥʔλͷճආʢFY$FMMຖʹ"84ΞΧ΢ϯτΛ෼ׂʣɻ  AWS Cloud AWS Cloud AWS Cloud ୯ҰγεςϜͰʮαʔόʔʯΛεέʔϧΞ΢τ ɾΞʔΩςΫνϟͷ੍໿ʢFY%#ͷϥΠλʔʣ ɾΫΥʔλʹΑΔ੍໿
  3. ϝϦοτ"WBJMBCJMJUZ Cell Cell Router Client Cell Cell Client $FMMʹΑΓ8PSLMPBEΛ෼཭ɺ#MBTU3BEJVTΛۃখԽ Ұൠతͳ"SDIJUFDUVSF

    $FMM#BTFE"SDIJUFDUVSF ɾɾɾ Өڹ͕γεςϜશମʹ఻೻ ʢ1PJTPO1JMM ӡ༻ϛε ϊΠδʔωΠόʔʜ  $FMMʹΑΓ8PSLMPBEΛ׬શʹ෼཭ w ӨڹൣғΛ$FMM಺ʹݶఆɺଞ$FMM΁ͷ఻೻Λ๷ࢭɻ w σʔλ΋෼཭Մೳɻ 
  4. ϝϦοτ.BJOUBJOBCJMJUZ Cell Cell Router Client Cell Cell Client ୯ҰγεςϜʢ$FMMʣΛখ͘͞อͭ͜ͱͰɺϝϯςφϯεੑ͕޲্ Ұൠతͳ"SDIJUFDUVSF

    $FMM#BTFE"SDIJUFDUVSF ɾɾɾ ɾɾɾ ɾɾɾ ୯Ұͷେن໛γεςϜͩͱߏ੒͕ෳࡶԽ ɾ։ൃมߋద༻ͷ୯Ґ͕େ͖͍ ɾো֐ൃੜ࣌ͷରॲൣғ͕޿͍ʢ.553େʣ $FMMΛখ͘͞อͭ͜ͱͰϝϯςφϯεੑ͕޲্ ɾ$FMM୯ҐͰͷ։ൃมߋద༻ ɾো֐ൃੜ࣌΋୯Ұ$FMMͷରॲΛߦ͑͹ྑ͍ʢ.553খʣ 
  5. ߏ੒ཁૉɿ$FMM3PVUFS Client Control Plane Cell Router Cell Data Plane 

    Cell Cell Cell ,FZ *% $FMM  $FMMᶃ  $FMMᶄ w ,74౳Ͱ$MJFOUͱ$FMMͷϚοϐϯάΛอ࣋ɻ w ϦΫΤετ͔Β,FZΛऔಘɺ$FMMʹৼΓ෼͚ɻ w 410'ͳͷͰۃྗγϯϓϧʹ͢Δɻ ϦΫΤετΛ$FMMʹϧʔςΟϯά͢Δ
  6. ߏ੒ཁૉɿ$FMM Client Control Plane Cell Router Cell Data Plane 

    Cell Cell Cell w $FMMؒͰ4UBUFΛڞ༗͠ͳ͍ɻ4UBUFMFTTʹ͢Δɻ w ϝϦοτΛڗडͰ͖ΔΑ͏$FMMΛ෼ׂɻ ʢFY$FMMຖʹ"84ΞΧ΢ϯτ෼ׂʣ w αΠζʹ্ݶΛઃ͚ΔɻඞཁʹԠͯ͡$POUSPM 1MBOFͰ$FMMࣗମΛεέʔϧΞ΢τɻ ಠཱͨ͠ಉछͷγεςϜʢ$FMMʣΛෳ਺ఏڙ
  7. ߏ੒ཁૉɿ$POUSPM1MBOF Client Control Plane Cell Router Cell Data Plane 

    Cell Cell Cell (new) w $FMMΛ؂ࢹɺϦιʔεͷঢ়گʹԠͯ͡$FMMΛ௥Ճ࡟আɻ w ੩త҆ఆੑΛҡ࣋͢Δ͜ͱ͕ॏཁɻ $POUSPM1MBOFো֐࣌΋%BUB1MBOFͷΈͰಈ࡞͢Δ͜ͱɻ Cell $FMMΛ؂ࢹ͠ɺඞཁʹԠͯ͡εέʔϧΞ΢τεέʔϧΠϯΛ࣮ࢪɻ
  8. ͔ͭͯIPHFͩͬͨ΋ͷ .JDSPTFSWJDF IPHFTFSWJDF $FMMCBTFE .JDSPTFSWJDF"SDIJUFDUVSFͱͷҧ͍ʢࢲͷཧղʣ IPHFTFSWJDF %# "1 %# "1

    %# "1 %# "1 Ө෼਎తͳ GVHBTFSWJDF %# "1 QJZPTFSWJDF $FMMCBTFE %# "1 ͦ΋ͦ΋ͷΞϓϩʔν͕ҟͳΔɻ૊Έ߹ΘͤΔ͜ͱ΋Մೳɻ ਫฏ෼ׂ ˞ػೳ͸ׂΒͳ͍ ਨ௚෼ׂ ˞ػೳΛׂΔ %# "1 %# "1 
  9. Զ͕ߟ͑ͨ؆қతͳ$FMMCBTFE"SDIJUFDUVSFΛ࡞ͬͯΈͨ Cell Cell Router Client Control Plane CloudFront Functions App

    Runner Aurora Key-Value Store Cell App Runner Aurora Cell App Runner Aurora Cell App Runner Aurora CloudFront Synthetics Lambda CloudFormation ʜ࣌ؒͷؔ܎ͰΧοτʢผ్ϒϩά౳Ͱɻʣ  CloudFront
  10. ·ͱΊ Cell Router Client Cell Cell Cell Cell w $FMMCBTFE"SDIJUFDUVSF͸σβΠϯύλʔϯͷͭɻ

    ಉछͷγεςϜΛෳ਺ಠཱͯ͠อ࣋͢Δɻ w େن໛γεςϜʹ͓͍ͯϝϦοτ͕͋Δɻ ʢ4DBMBCJMJUZ "WBJMBCJMJUZ .BJOUBJOBCJMJUZʣ w ڵຯ͕͋Ε͹ɺϗϫΠτϖʔύʔΛ͝Ұಡ͍ͩ͘͞ɻ ઃܭ্ͷߟྀ఺ɺΞʔΩςΫνϟྫͳͲهࡌ͋Γɻ IUUQCJUMZ:I" 
  11. ߏ੒ཁૉɿ$FMM3PVUFS Client Cellᶃ Cell Router Cellᶄ Cellᶅ Cellᶆ ߟྀ఺ᶄɿύʔςΟγϣϯઓུ ϗοτύʔςΟγϣϯʢภΓʣ͕ൃੜ͠ͳ͍Α͏ʹ

    ߟྀ͕ඞཁʢϨϯδɺίϯγεςϯτϋογϡʜʣ Ϣʔβʔ୯Ґɺ૊৫୯ҐͳͲઓུ͸༷ʑɻ "NB[PO.VTJD͸ΫϥΠΞϯτͷ04ʢJ04౳ʣ Ͱ෼཭͍ͯ͠Δ ,FZ *% $FMM  $FMMᶃ  $FMMᶄ $MJFOUͱ$FMMͷϚοϐϯάΛӬଓԽ͠ɺ֘౰ͷ$FMMʹϧʔςΟϯά͢Δ ߟྀ఺ᶃɿγϯϓϧͳߏ੒ɾϩδοΫ $FMMؒͰڞ༗͞ΕΔίϯϙʔωϯτɻ 410'ͷͨΊۃྗγϯϓϧʹอͭɻ 
  12. ߏ੒ཁૉɿ$FMM ಉछͷಠཱͨ͠/ݸͷ4FSWJDFΛఏڙ͢Δɻ ߟྀ఺ᶃɿ$FMMͷڥք w $FMM಺͸γϯάϧ";PSϚϧν";ɻ w $FMMຖʹ"84ΞΧ΢ϯτΛ෼͚Δ͔ɻ Client Cell Router

    Cell Shared Service ߟྀ఺ᶅɿ$FMMؒͰσʔλΛڞ༗͠ͳ͍ w ڞ༗ͨ͘͠ͳͬͨ࣌͸ผͷ4FSWJDFʹ੾Γग़͢ɺ $FMMͷ੾ΓํΛม͑Δ౳͕ඞཁɻ  Cell Cell Cell ߟྀ఺ᶄɿ୯Ұͷ$FMMͷαΠζ w େ͖͗ͯ͢΋খ͗ͯ͢͞΋ܽ఺͋Γɻ w ্ݶΛઃ͚ΔɻϦιʔεෆ଍ͷ৔߹͸ $FMMࣗମͷεέʔϧΞ΢τΛߦ͏ ʢ$POUSPM1MBOFͷ໾ׂʣɻ
  13. Client Control Plane Cell Cell Router Cell Cell Cell Data

    Plane  User User Migrate ߟྀ఺ᶃɿ੩త҆ఆੑ w $POUSPM1MBOF͸ෳࡶͰނো͠΍͍͢ w ނো࣌΋%BUB1MBOF͸ಈ࡞͢Δ͜ͱ͕ॏཁɻ ࢀߟ ΞϕΠϥϏϦςΟʔκʔϯΛ࢖༻ͨ͠੩త҆ఆੑ ߟྀ఺ᶄɿ$FMMؒͷ.JHSBUJPO w Ϧιʔεͷঢ়گʹΑͬͯ͸ɺϢʔβΛ$FMMؒͰҠಈ͠ ௐ੔͢Δ͜ͱ͕৔߹΋͋Δɻ w ೉қ౓͸ߴ͍ͨΊɺ৻ॏʹߦ͏ඞཁ͋Γɻ ߟྀ఺ᶅɿ$FMMͷ1SPWJTJPOJOH %FQSPWJTJPOJOH w $FMMͷঢ়ଶΛ؂ࢹɺϦιʔεͷঢ়گʹԠ͡ ͯ$FMMͷ௥Ճ࡟আΛ࣮ࢪɻ ߏ੒ཁૉɿ$POUSPM1MBOF $FMMͷ࡞੒࡟আɺΫϥΠΞϯτͱηϧͷϚοϐϯάͷௐ੔Λߦ͏ɻ ߟྀ఺ᶆɿϚοϐϯάͷߋ৽ w $FMMͷ௥Ճ࡟আ.JHSBUJPO࣌͸߹Θͤͯ ΫϥΠΞϯτͱ$FMMͷϚοϐϯάΛߋ৽ɻ