GCP の新機能 「Serverless Network Endpoint Groups」 を試してみる

GCP の新機能 「Serverless Network Endpoint Groups」 を試してみる

2020/07/29 に開催された Serverless Meetup Japan Virtual #3 にて発表した内容です
https://serverless.connpass.com/event/183311/

E24ebbedcae292dc8e4b56186e082220?s=128

iganari

July 29, 2020
Tweet

Transcript

  1. ($1ͷ৽ػೳ ʮ4FSWFSMFTT/FUXPSL&OEQPJOU(SPVQTʯ Λࢼͯ͠ΈΔ 4FSWFSMFTT.FFUVQ+BQBO7JSUVBM IUUQTTFSWFSMFTTDPOOQBTTDPNFWFOU

  2. 4FSWFSMFTT/FUXPSL&OEQPJOU(SPVQT Λ࢖ͬͯΈ͍ͨͱࢥͬͯ΋Β͏ #serverlessjp 2 (PBM

  3. "HFOEB • /FUXPSL&OEQPJOU(SPVQT ͱ͸ • 4FSWFSMFTT/&( ͱ͸ • 4FSWFSMFTT/&(Λ࣮ࡍʹಈ͔ͯ͠ΈΔ 3

    #serverlessjp
  4. .F QFSTPO OBNF5PSV*HBSBTIJ UXJUUFS!JHBOBSJ@ HJUIVC!JHBOBSJ QPTJUJPO DPNQBOZ$MPVE"DF*OD TLJMMT<5FSSBGPSN "OTJCMF ,VCFSOFUFT>

    CMPPEEPOBUJPO DPVOU EFTDSJQUJPO*DBOEPOBUFCMPPEBMJUUMF 4 #serverlessjp
  5. /FUXPSL&OEQPJOU(SPVQT ωοτϫʔΫ ΤϯυϙΠϯτ άϧʔϓ ͬͯԿ

  6. /FUXPSL&OEQPJOU(SPVQTͱ͸ • ($1ͷϦιʔεͰ͋ΓɺʮΤϯυϙΠϯτʯ·ͨ͸ʮαʔϏ εͷάϧʔϓʯΛࢦఆ͢Δߏ੒ΦϒδΣΫτ • $PNQVUF&OHJOFϦιʔε • ֤ΠϯελϯεͰ࣮ߦ͞Ε͍ͯΔΞϓϦέʔγϣϯʹɺτϥ ϑΟοΫΛ͖Ίࡉ͔͘෼ࢄ͢Δ͜ͱ΋Ͱ͖Δ •

    ($1ͷҰ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QFOTFSWJDFNFTI 'JHVSF $POTJTUFOUUSBGGJDNBOBHFNFOUGPS7.BOEDPOUBJOFSTFSWJDFT

  12. #serverlessjp 14 3FGIUUQTDMPVEHPPHMFDPNMPBECBMBODJOHEPDTOFHTTFSWFSMFTTOFHDPODFQUT IMFOMPBE@CBMBODJOH@DPNQPOFOUT 'JHVSF-PBECBMBODJOHDPNQPOFOUT

  13. #serverlessjp 15 3FGIUUQTDMPVEHPPHMFDPNMPBECBMBODJOHEPDTOFHTTFSWFSMFTTOFHDPODFQUT IMFOMPBE@CBMBODJOH@DPNQPOFOUT 'JHVSF-PBECBMBODJOHDPNQPOFOUT

  14. #serverlessjp 16 /&(͸ $PNQVUF&OHJOFϦιʔε

  15. <࠶ܝ>/FUXPSL&OEQPJOU(SPVQTͱ͸ • ($1ͷϦιʔεͰ͋ΓɺʮΤϯυϙΠϯτʯ·ͨ͸ʮαʔϏ εͷάϧʔϓʯΛࢦఆ͢Δߏ੒ΦϒδΣΫτ • $PNQVUF&OHJOFϦιʔε • ֤ΠϯελϯεͰ࣮ߦ͞Ε͍ͯΔΞϓϦέʔγϣϯʹɺτϥ ϑΟοΫΛ͖Ίࡉ͔͘෼ࢄ͢Δ͜ͱ΋Ͱ͖Δ •

    ($1ͷҰ෦ͷϩʔυόϥϯα -# ͷόοΫΤϯυͱͯ͠࢖༻ ͢Δ • ௕͍ͷͰ /&(ͱུ͞ΕΔ 17 SFGIUUQTDMPVEHPPHMFDPNMPBECBMBODJOHEPDTOFHT IMFO #serverlessjp
  16. /&(ͷछྨ • ;POBM/FUXPSL&OEQPJOU(SPVQT (" • 7. Πϯελϯε΍ (,&্ͷ 1PEΛࢦఆ͢Δ͜ͱ͕ग़དྷΔ •

    *OUFSOFU/FUXPSL&OEQPJOU(SPVQT (" • (PPHMF$MPVEͷ֎෦ʹ͋ΔαʔϏεΛࢦఆ͢Δ͜ͱ͕ग़དྷΔ • 4FSWFSMFTT/FUXPSL&OEQPJOU(SPVQT #FUB • $MPVE3VOɺ"QQ&OHJOFɺ·ͨ͸ $MPVE'VODUJPOTΛࢦఆ͢Δ͜ͱ ͕ग़དྷΔ 18 #serverlessjp
  17. 4FSWFSMFTT/&( αʔόϨε /&(ͰԿ͕ग़དྷΔͷ

  18. 4FSWFSMFTT/&(ͱ͸ • /&(ͷ৽͍͠ػೳ • ʹ #FUB൛͕ϦϦʔε • ($1ͷαʔόϨεαʔϏεΛ -#ͷ #BDLFOE4FSWJDFʹࢦఆͰ͖Δ

    • $MPVE3VOɺ"QQ&OHJOFɺ·ͨ͸ $MPVE'VODUJPOT • -#ʹઃఆ͍ͯ͠ΔυϝΠϯͰɺෳ਺ͷαʔόϨεαʔϏεΛӡ༻Ͱ͖Δ • ྫ͑͹ɺ$MPVE3VOɺ"QQ&OHJOFΛಉ͡υϝΠϯͰ࢖͑Δ • -# ʹ෇͚ΒΕΔػೳͷԸܙΛड͚Δ͜ͱ͕Ͱ͖Δ • $MPVE "SNPS • $MPVE$%/ • ্هͷػೳΛ ($1ͷϚωʔδυͰར༻͢Δ͜ͱ͕ग़དྷΔ 20 #serverlessjp
  19. 4FSWFSMFTT/&(ͱ͸ 21 #serverlessjp 'JHVSF63-.BTLT 3FGIUUQTDMPVEHPPHMFDPNMPBECBMBODJOHEPDTOFHTTFSWFSMFTTOFHDPODFQUT IMFOVSM@NBTLT

  20. %FNP ࣮ࡍʹ 8FCϒϥ΢βͰ֬ೝͯ͠Έ·͠ΐ͏̇

  21. αϯϓϧίʔυ • (JU)VC • IUUQTHJUIVCDPNJHBOBSJQBDLBHF HDQUSFFNBTUFSDPNQVUFOFUXPSLFOEQPJOUHSPVQTTFSWFSMFTT • ϒϩά • IUUQTJHBOBSJHJUIVCJPCMPH@USZTFSWFSMFTTOFH

    #serverlessjp 23
  22. ·ͱΊ • 4FSWFSMFTT/&(ͱ͍͏৽ػೳ͕ग़·ͨ͠ • ݱࡏ͸ #FUBͳͷͰɺ1P$ తʹ࢖͍·͠ΐ͏ • ($1ͰαʔόϨεͳγεςϜΛΑΓ࡞Γ΍͘͢ͳͬͨͷͰɺ ͲΜͲΜ࢖͍͖ͬͯ·͠ΐ͏

    24 #serverlessjp
  23. &OKPZ4FSWFSMFTT/&(

  24. ࢀߟจݙ ެࣜυΩϡϝϯτ • /FUXPSLFOEQPJOUHSPVQTPWFSWJFX • ;POBMOFUXPSLFOEQPJOUHSPVQTPWFSWJFX • *OUFSOFUOFUXPSLFOEQPJOUHSPVQTPWFSWJFX • 4FSWFSMFTTOFUXPSLFOEQPJOUHSPVQTPWFSWJFX

    ϒϩά • /&(ͱ͸Կ͔ !GVSVZBNBZVLJ • 4FSWFSMFTT/&(ͰγεςϜ։ൃΛΑΓॊೈʹ 4FJKJ"SJHB 26 #serverlessjp