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

[HIGOBASHI.AWS] #6 CloudFront を使ってみよう!/ Let's use CloudFront

Eefeb193691fd905cf9edafc98f7198d?s=47 maru1981
August 29, 2018

[HIGOBASHI.AWS] #6 CloudFront を使ってみよう!/ Let's use CloudFront

HIGOBASHI.AWS #6 の登壇資料です

Eefeb193691fd905cf9edafc98f7198d?s=128

maru1981

August 29, 2018
Tweet

Transcript

  1. Amazon CloudFront Λ࢖ͬͯΈΑ͏ʂ

  2. εϥΠυ͸ޙͰೖख͢Δ͜ͱ͕ग़དྷ·͢ͷͰ ൃදதͷ಺༰ΛϝϞ͢Δඞཁ͸͋Γ·ͤΜɻ ࣸਅࡱӨΛ͢Δ৔߹͸ ϑϥογϡɾγϟολʔԻ͕ग़ͳ͍Α͏ʹ͝഑ྀ͍ͩ͘͞ Attention

  3. !3 ࣗݾ঺հ ؙໟ ಞ࢙ʢϚϧϞΞπγʣ AWS ࣄۀຊ෦ ίϯαϧςΟϯά෦ॴଐ • ιϦϡʔγϣϯΞʔΩςΫτ •

    2018೥1݄ʹ Join - 18೥ؒɺਆށͷ SIer ͰΠϯϑϥΤϯδχΞ • ޷͖ͳ AWS αʔϏε - CloudFront / Lambda@Edge
  4. ࠓ೔ɺ࿩͢͜ͱ࿩͞ͳ͍͜ͱ   • ࿩͢͜ͱ • CloudFront Λ࢖͏ࡍͷઃఆ߲໨ͳͲ • ࿩͞ͳ͍͜ͱ

    • CloudFront ͷࡉ͔ͳػೳɺੑೳͳͲ
 ʢAWS Black Belt Λ؍͍ͯͩ͘͞ʣ
 ɹhttps://aws.amazon.com/jp/aws-jp-introduction/
  5. $POUFOUT%FMJWFSZ/FUXPLͱ͸ʁ   https://d1.awsstatic.com/webinars/jp/pdf/services/20170927_AWS-BlackBelt-CloudFront-LambdaEdge.pdf

  6. $%/͕ඞཁͱ͞ΕΕΔഎܠ   https://www.thinkwithgoogle.com/marketing-resources/data-measurement/mobile-page-speed-new-industry-benchmarks/ දࣔ଎౓͸௚ؼ཰΁ͱͭ ͳ͕Δॏཁ՝୊

  7.   ͬͦ͘͞࡞ͬͯΈΔ

  8. σΟετϦϏϡʔγϣϯͷ࡞੒   Ұൠతͳ Web αʔό༻్ ϝσΟΞϑΝΠϧͷετϦʔϛϯά ʢΦϦδϯ͸S3ͷΈʣ ࠓ೔͸8FCαʔόΛྫʹ
 ѻ͍·͢

  9. ΦϦδϯઃఆʢ4ΦϦδϯʣ   4όέοτ໊Λࢦఆ
 ʹ4ΦϦδϯ ΦϦδϯͷλΠϓʹΑͬ ͯ੨࿮෦෼ͷදࣔ͸ม ΘΔ

  10. 4ΦϦδϯ   Cloudfront S3 http(s) http(s) 4ΦϦδϯͷ৔߹ɺ4੩త8FCϗεςΟϯάΛ༗ޮʹ͠ͳͯ͘΋ 8FCίϯςϯπΛެ։͢Δ͜ͱ͕ग़དྷ·͢

  11. ΦϦδϯઃఆʢ4ΦϦδϯʣ   4Λެ։ͤͣɺ$MPVE'SPOUܦ༝ ͰͷΈΞΫηεΛڐՄ͢Δ
 ʢΦϦδϯΞΫηεΞΠσϯςΟςΟʣ ΦϦδϯΞΫηεΞΠσϯςΟςΟ ͷઃఆʢ৽نɺطଘʣ <(SBOU3FBEʙ>Λ:FTʹ͢Δͱ4 όέοτϙϦγʔʹࣗಈతʹ௥Ճ

    ͯ͘͠ΕΔ
  12. 4όέοτϙϦγʔʢΦϦδϯΞΫηεΞΠσϯςΟςΟʔʣ   { "Version": "2008-10-17", "Id": "PolicyForCloudFrontPrivateContent", "Statement": [

    { "Sid": "1", "Effect": “Allow", "Principal": { "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E2QTWXXXHMIAHQ" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::<όέοτ໊>/*" } ] }
  13. ΦϦδϯઃఆʢΧελϜΦϦδϯʣ   4όέοτҎ֎Λࢦఆ
 ʹΧελϜΦϦδϯ ΦϦδϯͰ)5514઀ଓ͢Δͱ͖ ͷ44-ϓϩτίϧࢦఆ
 㱠$MPVE'SPOUͰड͚Δ44-
 ϓϩτίϧͷࢦఆͰ͸ͳ͍

  14. ΧελϜΦϦδϯ   Cloudfront EC2 http(s) http(s) &$Λ௚઀ࢦఆ͢Δύλʔϯ

  15. ΧελϜΦϦδϯ   Cloudfront EC2 http(s) http(s) &-#ΛڬΉ৔߹͸ɺ&-#ΛΦϦδϯʹࢦఆ http(s) EC2

    ELB
  16. ΧελϜΦϦδϯ   Cloudfront αʔόʔ http(s) http(s) "84؀ڥ֎΋ΦϦδϯʹࢦఆͰ͖·͢

  17. ΦϦδϯઃఆʢΧελϜΦϦδϯʣ   4੩త8FCϗεςΟϯά ʹΧελϜΦϦδϯ

  18. ΦϦδϯઃఆʢΧελϜΦϦδϯʣ   { "Version": "2008-10-17", "Id": "PolicyForCloudFrontPrivateContent", "Statement": [

    { "Sid": "1", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::<όέοτ໊>/*" } ] } 48FCϗεςΟϯά͕ΦϦδϯͷ৔߹ɺό έοτϙϦγʔͰ$MPVE'SPOU͕ (FU0CKFDUग़དྷΔΑ͏ʹઃఆ͕ඞཁɻ ࠨهͷྫ͸ɺʮύϒϦοΫެ։ʯʹͳΓ·͢ɻ
  19. ΧελϜΦϦδϯ   Cloudfront S3 http(s) http 4੩త8FCϗεςΟϯά͸IUUQͷΈʹͳΓ·͢ Web ϗεςΟϯά༗ޮ

  20. ΦϦδϯઃఆʢΧελϜΦϦδϯʣ   ɾ)5510OMZ
 ɹˠ$MPVE'SPOUͰऴ୺
 ɾ)55140OMZ
 ɹˠऴ୺ͤͣʹΦϦδϯʹྲྀ͢
 ɹʢΦϦδϯଆʹ΋ূ໌ॻ͕ඞཁʣ
 ɾ.BUDI7JFXFS
 ɹˠΞΫηεݩͷࢦఆʹैͬͯ


    ɹɹ্هͷ͍ͣΕ͔ ɾ0SJHJO3FTQPOTF5JNFPVU
 ɹˠΦϦδϯ͔ΒͷԠ౴଴ͪ࣌ؒ
 ɾ0SJHJO,FFQBMJWF5JNFPVU
 ɹˠΦϦδϯؒͷ5$1઀ଓͷ࣋ଓ࣌ؒ
 ɾ)5511PSU)55141PSU
 ɹˠΦϦδϯͷ-*45&/ϙʔτ൪߸
  21. $MPVE'SPOUͱΦϦδϯؒΛ)5514ʹ͢Δ৔߹   Cloudfront EC2 http(s) https ҎԼͷ͍ͣΕ͔ɺ·ͨ͸྆ํʹҰக͢Δূ໌ॻ͕ඞཁ
 ɹɾΦϦδϯͷl0SJHJO%PNBJO/BNFzͷ஋
 ɹɾ)PTUϔομʔΛసૹ͢Δ৔߹ɺ)PTUϔομʔͷ஋

    http(s) EC2 ELB
  22. $MPVE'SPOUͱΦϦδϯؒΛ)5514ʹ͢Δ৔߹   Cloudfront EC2 http(s) https $MPVE'SPOUͱΦϦδϯؒͷ)5514ʹ
 ࣗݾॺ໊ʢΦϨΦϨʣূ໌ॻ͸࢖͑·ͤΜ http(s)

    EC2 ELB
  23. ࢀߟϒϩάͷ঺հ   https://dev.classmethod.jp/cloud/aws/2way-to-use-https-from-cloudfront-to-custom-origin/

  24. ΦϦδϯઃఆ   ΦϦδϯʹసૹ͢Δͱ͖ʹৗʹ
 ΧελϜϔομʔΛؚΊΔ
 ʢར༻ྫʣ
 ɾΦϦδϯଆͰΞΫηεݩͷ
 ɹσΟετϦϏϡʔγϣϯͷಛఆ
 ɾΦϦδϯଆͰ$MPVE'SPOUͷ
 ɹόΠύεΛ൑ఆ

  25. Ωϟογϡಈ࡞ʢ#FIBWJPSʣઃఆ   ࡞੒ޙɺݸผͷ1BUI1BUUFSO͸࡞੒Ͱ͖·͢ $MPVE'SPOUͷϓϩτίϧϙϦγʔ
 ڐՄ͢Δ)551ϝιου
 Ωϟογϡ͢Δ)551ϝιου
 ɾ(&5ɺ)&"%ɺʢ015*0/4ʣͷΈ
 ɾͦͷଞ͸Ωϟογϡ͠·ͤΜ
 ϑΟʔϧυϨϕϧ҉߸Խɿ


    ػີσʔλʢΫϨδοτ൪߸ͳͲʣѻ͏৔߹ɺ)5514಺ Ͱߋʹ҉߸Խɻ1$*%44ͷίϯϓϥΠΞϯεཁ݅ͳͲɻ
 ʢύϒϦοΫΩʔϓϥΠϕʔτΩʔ࡞੒ඞཁʣ
 ɾઃఆޙ͸ ϦΫΤετຖʹ
  26. Ωϟογϡಈ࡞ʢ#FIBWJPSʣઃఆ   ϦΫΤετϔομʹجͮ͘Ωϟογϡઃఆ
 l/POFzɿσϑΥϧτϔομͷΈసૹ͞ΕΔɻ
 ɹɹɹɹɹམͱ͞ΕΔϔομ౳͸ϚχϡΞϧࢀর
 
 l8IJUFMJTUzɿࢦఆ͞Εͨϔομ͢΂ͯͷ஋ʹ
 ɹɹɹɹɹɹɹج͖ͮΩϟογϡ͞ΕΔɻ
 ɹɹɹɹɹɹʢࢦఆ͞Εͨϔομ͸ΦϦδϯʹ


    ɹɹɹɹɹɹɹసૹ͞ΕΔʣ
 
 l"--zɿɹ͢΂ͯͷϔομΛΦϦδϯʹసૹ
 ɹɹɹɹɹ$MPVE'SPOU͸ΦϒδΣΫτΛ
 ɹɹɹɹɹΩϟογϡ͠·ͤΜ
 ɹɹɹɹɹ ଟ͘ͷϔομΛࢦఆ͢ΔͱΩϟογϡޮ཰͕Լ͕Δ
 ˠΦϦδϯͷෛՙ͕͕͋Δ
 ·ͨɺϔομͷ஋͸େจࣈখจࣈΛ۠ผ͠·͢
 ʢϔομ໊͸۠ผ͞Εͳ͍ʣ
  27. 8IJUFMJTUͷ࢖༻ྫ   ϚϧνσόΠεରԠͷαΠτͰɺσόΠελΠϓʹ
 ΑͬͯΩϟογϡΛ෼͚͍ͨ
 ɹˠ6TFS"HFOUΛసૹ͢Ε͹ྑ͍ʁ
 6TFS"HFOUͷྫ
 .P[JMMB .BDJOUPTI*OUFM.BD049@@ "QQMF8FC,JU

    ,)5.- MJLF(FDLP $ISPNF4BGBSJ ˢ͜Εʹ߹க͠ͳ͍ͱΩϟογϡࢀর͞Εͳ͍
 ʢΩϟογϡޮ཰͕ѱ͍ʣ
  28. 8IJUFMJTUͷ࢖༻ྫ   ϚϧνσόΠεରԠͷαΠτͰɺσόΠελΠϓʹ
 ΑͬͯΩϟογϡΛ෼͚͍ͨ
 ɹˠ$MPVE'SPOUͷΧελϜϔομΛ࢖͏ w$MPVE'SPOU*T.PCJMF7JFXFS w$MPVE'SPOU*T5BCMFU7JFXFS w$MPVE'SPOU*T%FTLUPQ7JFXFS ύλʔϯΛগͳͯ͘͠Ωϟογϡޮ཰Λ্͛Δ

    ݩͷ6TFS"HFOU͔Β൑ఆ͠ɺ
 zUSVFz͔lGBMTFz͕ηοτ͞ΕΔ
  29. ࢀߟϒϩάͷ঺հ   https://dev.classmethod.jp/cloud/aws/cloudfront-mobile-device-detection/

  30. Ωϟογϡಈ࡞ʢ#FIBWJPSʣઃఆ   ΦϦδϯͷl$BDIF$POUSPMzϔομͰ੍ޚ͢Δ৔ ߹͸ɺ<6TF0SJHJO$BDIF)FBEFST>Λબ୒ z$BDIF—$POUSPMzϔομʹؔ܎ͳ͘ɺ$MPVE'SPOU ͷ55-Ͱ؅ཧ͢Δ৔߹͸ɺ
 <$VTUPNJ[F>Λબ୒ l$BDIF$POUSPMzϔομ͕ͳ͍৔߹͸ɺ
 .JOJNVN%FGBVMUͷେ͖͍஋ʹै͏ɻͦͷଞύ

    λʔϯ͸ଟذʹΘͨΔͷͰɺϚχϡΞϧͷදΛࢀরɻ ʮ55-͸Ωϟογϡ͞Εͳ͍ʯͰ͸ͳ͍ɻʢࢀߟهࣄʣ
 Ωϟογϡͤͨ͘͞ͳ͍ͷͰ͋Ε͹ɺ
 <$BDIF#BTFEPO4FMFDUFE3FRVFTU)FBEFST>Ͱl"--zΛࢦఆ
  31. Ωϟογϡಈ࡞ʢ#FIBWJPSʣઃఆ   $PPLJFʹجͮ͘Ωϟογϡɿ
 l/POFzɿ
 $PPLJFʹجͮ͘ΩϟογϡΛ͠ͳ͍ɻ
 4ΦϦδϯ͓Αͼ$PPLJFΛॲཧ͠ͳ͍ΦϦδ ϯʹ͸/POF͕ਪ঑ɻ
 ʢ$PPLJFͷ஋ͰԠ౴͕มΘΒͳ͍৔߹ɺ
 ɹΩϟογϡޮ཰͕Լ͕Δ͚ͩʣ


    
 l8IJUFMJTUzɿ
 8IJMUFMJTUʹͳ͍$PPLJF͸͢΂ͯ࡟আ͞Ε· ͢ɻࢦఆ͞Εͨ$PPLJF͓Αͼͦͷ஋ʹج͖ͮ Ωϟογϡ͢Δɻ
 
 l"--zɿ
 ͢΂ͯͷ$PPLJFΛΦϦδϯʹసૹɻ$PPLJF ͓Αͼͦͷ஋ʹج͖ͮΩϟογϡ͢Δɻ $PPLJF໊ͱ஋͸େจࣈখจࣈΛ۠ผ͠·͢
 ˠྫ͑͹+BQBOɺ+"1"/͸ผͷΩϟογϡͱͯ͠ॲཧ͞ΕΔ
 ˠΩϟογϡޮ཰Λ্͛ΔͨΊʹ͸ඪ४Խͨ͠ํ͕ྑ͍
  32. Ωϟογϡಈ࡞ʢ#FIBWJPSʣઃఆ   ΫΤϦจࣈྻʹجͮ͘Ωϟογϡɿ
 l/POFzɿ
 ΦϦδϯ͕ΫΤϦจࣈྻʹؔ܎ͳ͘ಉ͡όʔ δϣϯΛฦ͢৔߹ɻ
 
 l'PSXBSEBMM DBDIFCBTFEPOXIJUFMJTUzɿ


    ΦϦδϯ͕ͭҎ্ͷΫΤϦจࣈྻύϥϝʔ λʹج͍ͮͯΦϒδΣΫτͷόʔδϣϯ͕ҟ Δ৔߹ʹબ୒ɻ
 
 l'PSXBSEBMM DBDIFCBTFEPOBMMɿ
 ΦϦδϯαʔό͕͢΂ͯͷΫΤϦจࣈྻύϥ ϝʔλʹ͍ͭͯΦϒδΣΫτͷόʔδϣϯ͕ ҟΔ৔߹ʹબ୒ɻ ύϥϝʔλ໊ͱ஋ͷ྆ํͰେจࣈখจࣈΛ۠ผ͠·͢
 ύϥϝʔλॱং͕ҟΔͱผͷΦϒδΣΫτͱͯ͠Ωϟογϡ͠·͢ɻ ʢΩϟογϡޮ཰Λ্͛Δʹ͸ඪ४Խͤ͞Δ͜ͱʣ
 ˠUFTUIUNM DPMPSSFETJ[FMBSHFͱ
 ɹUFTUIUNM TJ[FMBSHFDPMPSSFE͸ผͷΦϒδΣΫτʹͳΔ
  33. એ఻ɿඪ४Խͤ͞Δํ๏   https://dev.classmethod.jp/cloud/aws/normalizing-query-string/

  34. Ωϟογϡಈ࡞ʢ#FIBWJPSʣઃఆ   .44NPPUI4USFBNJOHܗࣜͷϝσΟΞϑΝΠϧ഑ ৴Ͱɺ**4αʔό͕ແ͍৔߹<ZFT>
 ʢ**4Λ࢖༻ͤͣʹ.44NPPUI4USFBNJOH͢Δʣ ॺ໊෇͖63-·ͨ͸ɺॺ໊෇͖$PPLJFΛ࢖༻͢Δ ৔߹<ZFT>ʢϓϥΠϕʔτίϯςϯπͷ഑৴ͳͲʣ ΦϒδΣΫτΛࣗಈతʹѹॖɿ
 ϦΫΤετϔομʹ"DDFQU&ODPEJOHH[JQ͕

    ؚ·ΕΔ৔߹ʹࣗಈతʹѹॖͤ͞Δɻ -BNCEB!&EHFɿ
 ΤοδϩέʔγϣϯͰ-BNCEBؔ਺Λ࣮ߦ͠ɺ)551ϔομɺ
 ϦΫΤετϘσΟʹॲཧΛՃ͑ΔͳͲՄೳ
  35. σΟετϦϏϡʔγϣϯઃఆ   ྉۚΫϥεɿ
 l6TF0OMZ64 $BOBEBBOE&VSPQFz
 l6TF64 $BOBEB &VSPQF "TJBBOE"GSJDBz


    l6TF"MM&EHF-PDBUJPOTʢ#FTU1FSGPSNBODFʣz
 ೆถͳͲߴίετͷϦʔδϣϯΛ֎͢৔߹͸ɺมߋɹɹɹ "848"'΢Σϒ"$-ɿ
 $MPVE'SPOUʹ"848"'Λઃఆ͢Δ৔߹ɻ
 *1੍ݶͳͲ8"'Λར༻͢Δͱ؆୯ʹઃఆՄೳɻ
 ΑΓߴ౓ͳ੍ݶ΋ɻ΢Σϒ"$-ઃఆ͸"848"'؅ ཧը໘͔Βɻɹɹ ୅ସυϝΠϯ໊ʢ$/".&ʣɿ
 YYYDMPVEGSPOUOFUͰ͸ͳ͘ɺΧελϜυϝΠϯͰΞΫηε͍ͤͨ͞৔߹ʹ̍ͭҎ্ࢦఆ
 %/4αʔϏεͰ$/".&Ϩίʔυͷొ࿥ඞཁ
 ஫ҙɿΞΧ΢ϯτ಺֎ʹؔΘΒͣɺ͢Ͱʹ$/".&ઃఆ͞Ε͍ͯΔ୅ସυϝΠϯ໊͸ࢦఆग़དྷ·ͤΜɻ
 ʢॏෳͰ͖ͳ͍ˠ$MPVE'SPOUͱ͍͏"84ͷڊେͳαʔόʹ໊લϕʔεͷόʔνϟϧϗετߏ੒͢ΔΠϝʔδʹ͍ۙʣ
  36. σΟετϦϏϡʔγϣϯઃఆ   DMPVEGSPOUOFUͰ࢖༻͢Δ৔߹
 ηΩϡϦςΟϙϦγʔ͸ɺ
 ࣗಈతʹʮ5-4WʯʹͳΓ·͢ 44-ূ໌ॻ ΧελϜ44-ূ໌ॻɿ
 "84$FSUJpDBUF.BOBHFS "$.

    ʹొ࿥͞Εͨূ໌ॻ͔Βબ୒ɻ
 "$.ͷແྉূ໌ॻ͕ར༻Մೳ
 ˠূ໌ॻ͸ʮόʔδχΞʯϦʔδϣϯͰ࡞੒͕ඞཁ
  37. σΟετϦϏϡʔγϣϯઃఆ   4/*ରԠΫϥΠΞϯτͷΈͷ৔߹ ΧελϜ44-ΫϥΠΞϯταϙʔτɿ
 ʢΧελϜ44-ূ໌ॻར༻ͷ৔߹ͷΈʣ ηΩϡϦςΟϙϦγʔɿ
 4/*ͷ৔߹ɿ5-4W5-4W@5-4W@5-4W@͔Βબ୒
 "MM$MJFOUTͷ৔߹ɿ5-4W44-W͔Βબ୒
 ʢ֤ηΩϡϦςΟϙϦγʔͷαϙʔτϓϩτίϧ͸ϚχϡΞϧΛࢀরʣ

    4/*ඇରԠΫϥΠΞϯτ΋αϙʔτ͢ Δ৔߹ʢઐ༻*1Φϓγϣϯʣ
 ˠֹ݄ྉۚ
  38. σΟετϦϏϡʔγϣϯઃఆ   αϙʔτ͞ΕΔ)551όʔδϣϯɿ
 ɹɹɹɹ σϑΥϧτϧʔτΦϒδΣΫτɿ
 ΦϒδΣΫτࢦఆͷͳ͍ΞΫηεʹରͯ͠ಛఆͷυΩϡϝ ϯτΛฦ͢৔߹ʹઃఆ
 ྫʣ
 ɾIUUQTFYBNQMFDPN


    ˠIUUQTFYBNQMFDPNJOEFYIUNMͱͯ͠ॲཧ
 
 ஫ҙɿ
 αϒσΟϨΫτϦʹ͸ରԠ͠·ͤΜɻ
 ɾIUUQTFYBNQMFDPNTVC
 ɹɹˠJOEFYIUNM͸ฦΓ·ͤΜɻΦϦδϯଆͰཁରԠɻ
 ɹɹˠ4ΦϦδϯͷ৔߹ɺͲ͏͢Δɾɾɾ
  39. એ఻ɿඪ४Խͤ͞Δํ๏   https://dev.classmethod.jp/cloud/aws/directory-indexes-in-s3-origin-backed-cloudfront/

  40. σΟετϦϏϡʔγϣϯઃఆ   ΞΫηεϩάͷ༗ޮԽɿ
 ϦΞϧλΠϜʹ͸഑৴͞Ε·ͤΜʢϕετΤϑΥʔτʣ
 ·ͨɺكʹҰ੾഑৴͞Εͳ͍͜ͱ΋͋Δɻ อଘઌͷόέοτ͓ΑͼɺϓϨϑΟοΫεͷࢦఆɿ
 ඞཁͳΞΫηείϯτϩʔϧϦετʢ"$-ʣ͸ࣗಈతʹ෇༩ $PPLJFͷϩάͷ࡞੒ɿ *1WΛ༗ޮʹ͢Δɿ


    ॺ໊෇͖63-·ͨ͸ॺ໊෇͖$PPLJFΛ࢖༻͠ɺ*Q"EESFTTύϥ ϝʔλʹΑΔΞΫηε੍ݶΛ͍ͯ͠Δ৔߹ɺ*1W͸༗ޮʹ͠ͳ͍ σΟετϦϏϡʔγϣϯͷঢ়ଶɿ
 σϓϩΠޙʹσΟετϦϏϡʔγϣϯΛ༗ޮɺ
 ·ͨ͸ແޮʹ͢Δ͔Λબ୒ Ͱɺ࡞੒ʂ
  41. ͋ͱ͸ΦϦδϯɺ#FIBWJPSΛඞཁʹԠͯ͡௥Ճ   ෳ਺ͷΦϦδϯΛ࡞੒͠ɺ #FIBWJPS͝ͱʹ
 ҟͳΔΦϦδϯΛࢦఆͰ͖·͢

  42. Ωϟογϡ࡟আ΋Ͱ͖·͢   *OWBMJEBUJPOͰΩϟογϡΛ࡟আ͢Δ͜ͱ΋Մೳ
 ɾޡͬͨΩϟογϡͷ࡟আ
 ɾΩϟογϡΛ࡟আ͠ɺଈ࣌൓ө͍ͤͨ͞ɹ
 
 ஫ҙɿ
 *OWBMJEBUJPO͸ɺ݄ؒύεҎ্͔Β
 ϦΫΤετύεຖʹ՝ۚ͞Ε·͢ɻ


    ର৅͸ύε਺ʢΦϒδΣΫτ਺Ͱ͸ͳ͍ʣ
 JNBHF Ͱ഑Լͷ ΦϒδΣΫτΛແޮԽ ͯ͠΋Χ΢ϯτ͸ύεɻ
 JNBHFUFTUKQHͷࢦఆ΋Χ΢ϯτ͸ύε
 
 ಉ࣮࣌ߦͰ͖ΔϫΠϧυΧʔυͷ*OWBMJEBUJPO͸
 ύε·Ͱͷ੍ݶ
  43.   ·ͱΊ

  44. ·ͱΊ   • ΦϦδϯʹ͸ʮS3ΦϦδϯʯʮΧελϜΦϦδϯʯ͕͋Δ • λΠϓʹΑͬͯग़དྷΔ͜ͱɺग़དྷͳ͍͜ͱ͕͋Δ • Ωϟογϡͤ͞ͳ͍৔߹͸ɺ”Cache Based

    on Selected Request Headers” Λ “ALL” ʹ͢ΔɻʢTTL = 0 Ͱ͸ͳ͍ʣ • ϔομɺCookieɺΫΤϦจࣈྻ Ͱ͸ɺผόʔδϣϯͱ൑ఆ ͞ΕΔج४͕ҟͳΔʢେจࣈখจࣈɺॱংͳͲʣ
  45. ·ͱΊ   • Ωϟογϡޮ཰͕Լ͕Δͱɺ౰વϨεϙϯε͸஗͘ͳΓɺ
 ΦϦδϯ΁ͷෛՙ͕͕͋Δ
 ɹˠΩϟογϡޮ཰Խͷ޻෉͕େࣄ ɹɹɹɹɾෆཁͳϔομΛసૹ͠ͳ͍
 ɹɹɹɹɾඪ४ԽʢLambda@Edgeͷར༻ͳͲʣ

  46. None