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

AWS AppRunnerでJSが動くから味見してみたけど、以外なところに落とし穴があった

AWS AppRunnerでJSが動くから味見してみたけど、以外なところに落とし穴があった

E63c0cf4a77b1799e02f97689db83d91?s=128

kaidouji85

July 17, 2021
Tweet

Transcript

  1. "84"QQ3VOOFSͰ+4͕ಈ͔͘Β ຯݟͯ͠Έ͚ͨͲɺ Ҏ֎ͳͱ͜Ζʹམͱ͕݀͋ͬͨ͠  ౔  Նͷ+BWBTDSJQUࡇΓ0OMJOF ஛಺༎հ

  2. ࣗݾ঺հ ஛಺ɹ༎հ ϓϩάϥϚʔ +4େ޷͖ झຯͰUISFFKTͷήʔϜ 
 ࡞ͬͯ·͢

  3. "84"QQ3VOOFSͱ͸ ࠷ۙ"NB[PO͕αʔϏε։࢝ͨ͠1BBT 1)1ɺ+BWB4DSJQU͸HJUIVC࿈ܞͰଈ࠲ʹ؀ڥ্ཱ͕ͪ͛Ͱ͖Δ ಛఆϒϥϯνʹQVTIͨ͠Βࣗಈతʹ࠷৽൛؀ڥΛ࡞ͬͯ͘ΕΔ ίϯςφΛ༻ҙ͢Ε͹޷͖ͳݴޠɺ؀ڥ͕࢖͑Δ IFSPLVɺCFBOTUBMLͷίϯςφ൛ΛΠϝʔδ͢Δͱ͍͍͔΋

  4. ίϯςφ &$3 όοΫΤϯυ αʔό ίʔυ HJU QVTI QVTI ؀ڥࣗಈߏங ؀ڥࣗಈߏங

    +BWB4DSJQUɺ1)1 ͚ͩͰ͖Δ
  5. ૣ଎΍ͬͯΈͨ

  6. "QQ3VOOFS؀ڥ࡞੒ +BWB4DSJQUͳΒHJUIVC͑͋͞Ε͹ଈ؀ڥ࡞੒Ͱ͖Δ 8FCը໘͔Ͱ͸ҎԼͷ߲໨Λೖྗ Ϧιʔε໊ ϏϧυίϚϯυɺαʔόىಈίϚϯυ ֤छઃఆ ॴཁ࣌ؒ͸෼͘Β͍ͩͬͨ

  7. None
  8. None
  9. ଴ͭ͜ͱ෼

  10. None
  11. ΤϥʔͷݪҼ Ϗϧυઃఆͷߟྀ࿙Ε ͍ΘΏΔϩʔΧϧ؀ڥͰ͔͠ಈ͔ͳ͍ঢ়ଶͩͬͨ

  12. मਖ਼Λ1VTI͚ͨ͠Ͳ मਖ਼ͨ͠ίʔυΛ1VTI͢Ε͹ɺ৽͍͠؀ڥ্ཱ͕͕ͪΔ͸ͣ ͚Ͳɺ෼ͨͬͯ΋Կ΋͓͖ͳ͍ ͓͔͍͠ͱࢥͬͯݪҼΛௐ΂Δͱ

  13. ؀ڥ࡞੒ʹࣦഊͨ͠Β ࠷ॳ͔Β΍Γ௚͠

  14. "84υΩϡϝϯτΛಡΉ αʔϏε࡞੒ʹࣦഊͨ͠৔߹ɺ࠶࡞੒Λ͢Δඞཁ͕͋Δ ࣦഊͨ͠αʔϏε͸ϩάղੳͷͨΊʹࣗಈͰ࡟আ͞Εͳ͍͕ɺ 
 ࠶ར༻͢Δ͜ͱ͸Ͱ͖ͳ͍ IUUQTEPDTBXTBNB[PODPNBQQSVOOFSMBUFTUEHNBOBHF DSFBUFIUNMNBOBHFDSFBUFGBJMVSF

  15. ͦͷޙ ؀ڥ࡞੒͔Β΍Γ௚͚ͨ͠Ͳɺ·ͨผͷ໰୊Ͱ؀ڥ࡞੒ࣦഊ Ҏ߱Oճ܁Γฦ͠ Τϥʔ͕ग़Δͨͼʹɺʙ෼͘Β͍͔͚ͯ؀ڥ࡞੒Λ͢Δ ਖ਼௚΍ͬͯ΍Εͳ͍ͷͰɺผͷํ๏Λߟ͑·͕ͨ͠

  16. ίʔυमਖ਼ ؀ڥ࠶࡞੒ Τϥʔ ʙ෼͔͔Δ

  17. Ͱ͸ɺͲ͏͢Δͷ͔ʁ

  18. ίϯςφΛ࢖͏

  19. ίϯςφ &$3 όοΫΤϯυ αʔό ίʔυ HJU QVTI QVTI ؀ڥࣗಈߏங ؀ڥࣗಈߏங

  20. ίϯςφΛ࢖͏ཧ༝ "QQ3VOOFS͸ίϯςφʹ΋ରԠ͍ͯ͠Δ ίϯςφͳΒτϥΠΤϥʔͷ࣌ؒ΋୹͘ͳΔ ϩʔΧϧ؀ڥͷίϯςφͰಈ͍ͨ΋ͷ͕ɺ 
 "84Ͱಈ͔ͳ͍Մೳੑ͸௿͍

  21. "QQ3VOOFSͰίϯςφΛ࢖͏ "84&$3ʹEPDLFSQVTI͢Ε͹0, EPDLFSίϚϯυͰ઀ଓઌมߋΛ͢Δඞཁ͕͋Δ͚Ͳɺ 
 "848FCը໘ͩͱίϚϯυ͕ίϐϖͰ͖Δ ཁ͸ϩʔΧϧͰEPDLFS͕࢖͑Ε͹ɺ؆୯ʹ&$3ʹ͸ొ࿥Ͱ͖Δ

  22. None
  23. None
  24. ݁ՌͲ͏ͳ͔ͬͨ ෼ఔϩʔΧϧEPDLFSͰτϥΠΤϥʔΛͯ͠ɺ໰୊Λमਖ਼ "84&$3ʹEPDLFSQVTI "QQ3VOOFS؀ڥ࡞੒Λ͕ͨ͠ɺ໰୊ͳ͘αʔϏεىಈͰ͖ͨ

  25. αϯϓϧίʔυ IUUQTHJUIVCDPNLBJEPVKJHCSBWFSCVSTUOFUXPSL ্هίʔυΛ"QQ3VOOFSʹσϓϩΠ͠·ͨ͠ ʮCVJMETQFDZNMʯʹDPEFCVJMEͰࣗಈతʹ"84&$3ʹ 
 QVTI͢Δઃఆ͕ॻ͔Ε͍ͯ·͢

  26. ্هίʔυ͸ࣗ࡞ήʔϜͷωοτରઓαʔόͰ͢ IUUQTHCSBWFSCVSTUDPN

  27. ·ͱΊ

  28. ࠓ೔ͷ·ͱΊ "84"QQ3VOOFS͸HJUIVCɺίϯςφͱ࿈ܞͯ͠ 
 ؆୯ʹ؀ڥ࡞੒Ͱ͖Δ1BBT ؀ڥ࡞੒ʹࣦഊͨ͠Β࠷ॳ͔Β΍Γ௚͠ͳͷͰɺ 
 HJUIVC࿈ܞͰτϥΠΤϥʔΛ͢Δͷ͸ਏ͍ ˢ͕ਏ͍ͳΒίϯςφ࿈ܞΛ࢖͓͏

  29. ͝੩ௌ͋Γ͕ͱ͏͍͟͝·͢