お手軽にリージョン間DRができるAurora Global Databaseの実力を見てみた

Ae763d151aeee101b40ae10cc13ebe63?s=47 maroon1st
December 05, 2018

お手軽にリージョン間DRができるAurora Global Databaseの実力を見てみた

本資料はre:Growth 2018の発表資料です。
https://dev.classmethod.jp/news/181205-re-growth/

Ae763d151aeee101b40ae10cc13ebe63?s=128

maroon1st

December 05, 2018
Tweet

Transcript

  1. ͓खܰʹϦʔδϣϯؒ%3͕Ͱ͖Δ "VSPSB(MPCBM%BUBCBTFͷ࣮ྗΛݟͯΈͨ "84%FFQ3BDFS-FBHVF%SJWFS )BKJNF0HVSJ #cmregrowth

  2. 8IPBN*   *BN"84%FFQ3BDFS-FBHVF%SJWFS #cmregrowth

  3.   DeepRacer͸FedexͰ೔ຊ΁ૹͬͨͷͰ͕͢ શ͘࿈བྷ͕ͳ͍ͷͰ௒ෆ҆Ͱ͢ #cmregrowth

  4. 8IPBN*   େ܀फʢ!NBSPPOTUʣ ϝʔΧʔܥ4*FSʹ೥΄Ͳࡏ੶ͯ͠
 ೥લʹΫϥεϝιουʹδϣΠϯ "84ಋೖίϯαϧςΟϯάΛϝΠϯʹ
 Πϯϑϥߏங΋ߦ͍ͬͯ·͢ ޷͖ͳαʔϏεɿ"NB[PO"VSPSB #cmregrowth

  5.   ࠓճ༷ʑͳൃද͕͋Γ·͕ͨ͠ %#ܥͷൃද΋ଟ਺͋Γ·ͨ͠ #cmregrowth

  6.   DBܥ৽αʔϏε #cmregrowth

  7. %#ܥΞοϓσʔτ   w "84-BLF'PSNBUJPO
 ηΩϡΞͳ%BUB-BLFΛ؆୯ʹߏஙͰ͖Δ w "NB[PO2VBOUVN-FEHFS%BUBCBTF 2-%# 


    ෆมͰݕূՄೳͳݩாσʔλϕʔε w "NB[PO5JNFTUSFBN
 ೔౰Γ਺ஹΠϕϯτΛॲཧͰ͖Δ࣌ܥྻσʔλϕʔε #cmregrowth
  8.   DBܥΞοϓσʔτ #cmregrowth

  9. %#ܥΞοϓσʔτ   w "NB[PO%ZOBNP%#5SBOTBDUJPOT w "NB[PO3FETIJGU$PODVSSFODZ4DBMJOH w "NB[PO"VSPSB(MPCBM%BUBCBTF w

    "NB[PO%ZOBNP%#3FBE8SJUF$BQBDJUZ0O%FNBOE w "NB[PO3%4PO7.XBSFͷύϒϦοΫϓϨϏϡʔ w "NB[PO"VSPSB1PTUHSF42-4FSWFSMFTT #cmregrowth
  10. "HFOEB   w "VSPSBͷجૅͷৼΓฦΓ w "VSPSB(MPCBM%BUBCBTFͱ͸ʁ w ࣮ࡍʹಈ͔࣮ͯ͠ྗΛ֬ೝ͢Δ w

    ·ͱΊ #cmregrowth
  11.   "VSPSBͷجૅͷৼΓฦΓ #cmregrowth

  12. "VSPSB$MVTUFSͷશମ৅   Availability Zone A "VSPSB4UPSBHF&OHJOF ࿦ཧతͳڞ༗෼ࢄετϨʔδ Availability Zone

    B Availability Zone C $BDIF $BDIF $BDIF $BDIF $BDIF 4UPSBHF /PEF 4UPSBHF /PEF 4UPSBHF /PEF 4UPSBHF /PEF 4UPSBHF /PEF 4UPSBHF /PEF #cmregrowth
  13. -PH4USVDUVSFE4UPSBHF   w σʔλΛϩάͷΑ͏ʹઌ಄͔Β௥ه͢Δ w ֤ʑͷϩάϨίʔυ͸-PH4FRVFODF/VNCFS ʢ-4/ʣΛ࣋ͪෆ଍ɾॏෳΛ൑ผͰ͖Δ w طଘͷσʔλ͕͋ΔϒϩοΫΛ্ॻ͖͠ͳ͍

    ۭ͖εϖʔε EBUB EBUB EBUB EBUB EBUB ࣌ܥྻ #cmregrowth
  14. -PH4USVDUVSFE4UPSBHFʢ8SJUFʣ   Zone-A 4FHNFOU" 4FHNFOU" 4$- 4$- Zone-B 4FHNFOU#

    4FHNFOU# 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- 7$-7PMVNF$PNQMFUF-4/ʢϘϦϡʔϜ׬ྃ-4/ʣ 7%-7PMVNF%VSBCMF-4/ʢϘϦϡʔϜ଱ٱ-4/ʣ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 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- Cache 7%- $1- $1- #cmregrowth
  20. -PH4USVDUVSFE4UPSBHFʢ3FBEʣ   "VSPSBͷϖʔδΩϟγϡ Ωϟογϡ͕ϖʔδ-4/Λอ࣋ Zone-A 4FHNFOU" 4FHNFOU" 4$- 4$-

    Zone-B 4FHNFOU# 4FHNFOU# 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- ページLSN Cache 7%- $1- $1- #cmregrowth
  21. -PH4USVDUVSFE4UPSBHFʢ3FBEʣ   "VSPSBͷϖʔδΩϟγϡ Ωϟογϡ͕ϖʔδ-4/Λอ࣋ Zone-A 4FHNFOU" 4FHNFOU" 4$- 4$-

    Zone-B 4FHNFOU# 4FHNFOU# 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- 7%- $1- $1- ϖʔδ-4/㱢7%-Ͱ ϖʔδΞ΢τ ページLSN Cache #cmregrowth
  22. -PH4USVDUVSFE4UPSBHFʢ3FBEʣ   "VSPSBͷϖʔδΩϟγϡ Ωϟογϡϛεͷ৔߹͸ 7%-Λཁٻ Zone-A 4FHNFOU" 4FHNFOU" 4$-

    4$- Zone-B 4FHNFOU# 4FHNFOU# 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- $1- 7%-Λཁٻ 7%- $1- ページLSN Cache #cmregrowth
  23. -PH4USVDUVSFE4UPSBHFʢ3FDPWFSZʣ   Zone-A 4FHNFOU" 4FHNFOU" 4$- 4$- Zone-B 4FHNFOU#

    4FHNFOU# 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- $1- 7%- $1- ॻ͖ࠐΈ ॻ͖ࠐΈ #cmregrowth
  24. -PH4USVDUVSFE4UPSBHFʢ3FDPWFSZʣ   Zone-A 4FHNFOU" 4FHNFOU" 4$- 4$- Zone-B 4FHNFOU#

    4FHNFOU# 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- $1- 7%- $1- ॻ͖ࠐΈ ॻ͖ࠐΈ ॻ͖ࠐΈதʹ Ϋϥογϡ #cmregrowth
  25. -PH4USVDUVSFE4UPSBHFʢ3FDPWFSZʣ   Zone-A 4FHNFOU" 4FHNFOU" 4$- 4$- Zone-B 4FHNFOU#

    4FHNFOU# 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- $1- 7%- $1- ॻ͖ࠐΈ ॻ͖ࠐΈ #cmregrowth
  26. -PH4USVDUVSFE4UPSBHFʢ3FDPWFSZʣ   Zone-A 4FHNFOU" 4FHNFOU" 4$- 4$- Zone-B 4FHNFOU#

    4FHNFOU# 4$- 4$- Zone-C 4FHNFOU$ 4FHNFOU$ 4$- 4$- $1- 7%- $1- ॻ͖ࠐΈ ॻ͖ࠐΈ ॻ͖ࠐΈ 4FHNFOU" 4FHNFOU" 4FHNFOU# 4FHNFOU# 4FHNFOU$ 4FHNFOU$ LAL:LSN Allocation Limit(LSN割当上限) #cmregrowth
  27.   (ετϨʔδͷࡉ͔͍ಈ࡞͸Ͳ͏Ͱ΋ྑͯ͘) ͭ·ΓAuroraͷετϨʔδ͸ ௥هܕͷϩάߏ଄ʹͳ͍ͬͯΔ #cmregrowth

  28.   "VSPSB(MPCBM%BUBCBTFͱ͸ #cmregrowth

  29. "NB[PO"VSPSB(MPCBM%BUBCBTFͱ͸   Amazon AuroraͷผϦʔδϣϯ΁ͷ ϨϓϦέʔγϣϯػೳͰ͢ #cmregrowth

  30.   ͦΕͬͯલ͔Βແ͔͚ͬͨͬʁ #cmregrowth

  31. "VSPSBϦʔδϣϯؒϨϓϦέʔγϣϯ   ࣮͸೥൒લʹಉ༷ͷػೳ͕ϦϦʔεࡁΈͰ͢ https://aws.amazon.com/jp/blogs/news/new-cross-region-read-replicas-for-amazon-aurora/ #cmregrowth

  32.   ͡Ό͋Կ͕ҧ͏ͷʁʁʁ #cmregrowth

  33.   େ͖ͳҧ͍͸ϨϓϦέʔγϣϯํࣜ w طଘͷ$SPTT3FHJPO3FBE3FQMJDB͸.Z42-ϕʔεͷ
 ϨϓϦέʔγϣϯ w "VSPSB(MPCBM%BUBCBTF͸"VSPSBετϨʔδϕʔεͷ
 ϨϓϦέʔγϣϯ #cmregrowth

  34. ϨϓϦέʔγϣϯํࣜ   طଘͷ$SPTT3FHJPO3FBE3FQMJDB #cmregrowth

  35. ϨϓϦέʔγϣϯํࣜ   "VSPSB(MPCBM%BUBCBTF https://www.slideshare.net/AmazonWebServices/amazon-aurora-storage-demystified-how-it-all-works-dat363-aws-reinvent-2018/41 #cmregrowth

  36. ػೳؒͷҧ͍   $SPTT3FHJPO 3FBE3FQMJDB "VSPSB(MPCBM %BUBCBTF ϨϓϦέʔγϣϯํࣜ .Z42-ͷCJOMPHϕʔε "VSPSBετϨʔδϕʔε

    సૹσʔλͷ಺༰ ࿦ཧతʹมߋͨ͠ σʔλશମ ෺ཧతʹมߋͨࠩ͠෼ ϥά ਺ඵ͔Β਺ेඵ ֓ͶඵҎ಺ʢ࠷େඵʣ CJOMPH ඞཁ ෆཁ ੑೳӨڹ ͋Δఔ౓௿Լ ͔ᷮͳ௿Լ #cmregrowth
  37.   Aurora Global Database͸ AuroraಠࣗͷϨϓϦέʔγϣϯํࣜͰ ߴ଎ͰੑೳӨڹ͕গͳ͍ RPO(໨ඪ෮چ஍఺)ɿ5ඵ RTO(໨ඪ෮چ࣌ؒ)ɿ1෼ #cmregrowth

  38.   ࣮ࡍʹಈ͔࣮ͯ͠ྗΛ֬ೝ͢Δ #cmregrowth

  39. σʔλ౤ೖͷ࣮ߦ࣌ؒ   3%#ͷ൚༻ෛՙςετπʔϧͷ+ECD3VOOFSͰ51$$ ༻σʔλͷϩʔυΛ࣮ߦͯ͠ɺ࣌ؒΛܭଌɻ  ΤʔδΣϯτ ฒྻ౓ ɿɺ4DBMF'BDUPSɿ 

    ΤʔδΣϯτ ฒྻ౓ ɿɺ4DBMF'BDUPSɿ ถࠃ౦෦ όʔδχΞ๺෦ ˠถࠃ౦෦ ΦϋΠΦ  #cmregrowth
  40. σʔλϩʔυͷ࣮ߦ݁Ռ   ϨϓϦέʔγϣϯ
 ແ͠ $SPTT3FHJPO 3FBE3FQMJDB "VSPSB(MPCBM %BUBCBTF ύλʔϯ̍

       ύλʔϯ̎    #cmregrowth
  41.   ࠓճͷಈ࡞৚݅Ͱ͸ ༗ҙͳ͕ࠩग़ͳ͔ͬͨɻɻɻ #cmregrowth

  42.   Ͱ΋Aurora Global Databaseʹ͸ େ͖ͳར఺͕͋Δ #cmregrowth

  43. ϨϓϦέʔγϣϯํࣜ   "VSPSB(MPCBM%BUBCBTF https://www.slideshare.net/AmazonWebServices/amazon-aurora-storage-demystified-how-it-all-works-dat363-aws-reinvent-2018/41 #cmregrowth

  44. ϨϓϦέʔγϣϯํࣜ   "VSPSB(MPCBM%BUBCBTF https://www.slideshare.net/AmazonWebServices/amazon-aurora-storage-demystified-how-it-all-works-dat363-aws-reinvent-2018/41 ✕ ✕ ✕ %3αΠτʹ%#Πϯελϯεͳͯ͘΋ ϨϓϦέʔγϣϯͰ͖ΔΜ͡Όͳ͍ʁ

    #cmregrowth
  45. ஫ҙ   ϚωʔδϝϯτίϯιʔϧͰ͸Ϋϥελ ετϨʔδ ͱ %#Πϯελϯε͕ηοτͰىಈ͠·͕͢ɺ
 "84$-*͔Β࡞੒͢Δͱݸผʹ࡞੒Ͱ͖·͢ɻ #cmregrowth

  46.   ηΧϯμϦϦʔδϣϯͰ%#Πϯελϯεແ͠Ͱ
 ϨϓϦέʔγϣϯՄೳͰͨ͠ʂ https://www.slideshare.net/AmazonWebServices/amazon-aurora-storage-demystified-how-it-all-works-dat363-aws-reinvent-2018/41 ✕ ✕ ✕ #cmregrowth

  47.   ͭ·ΓDRαΠτͷ଴ػίετΛ ۃݶ·Ͱ௿Ձ֨ʹ཈͑ΒΕ·͢ʂ #cmregrowth

  48.   ·ͱΊ #cmregrowth

  49. ·ͱΊ   w "VSPSBͷετϨʔδ͕௥هܕͷϩάߏ଄ετϨʔδ Ͱ͋Δ͜ͱͰ(MPCBM%BUBCBTF͕࣮ݱ͞Ε͍ͯΔ w "VSPSB(MPCBM%BUBCBTF͸ετϨʔδϕʔεͷಠ ࣗϨϓϦέʔγϣϯͰߴ଎ͰੑೳӨڹ͕গͳ͍ w

    ηΧϯμϦϦʔδϣϯʹ%#Πϯελϯε͕ͳͯ͘΋ ྑ͍ͷͰ%3ͷͨΊͷίετΛେ෯ʹԼ͛ΒΕΔ #cmregrowth
  50. None