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

基礎から応用までじっくり学ぶ「AWSでのネットワークの作り方」

 基礎から応用までじっくり学ぶ「AWSでのネットワークの作り方」

Hiroyuki Kaji

October 05, 2018
Tweet

More Decks by Hiroyuki Kaji

Other Decks in Technology

Transcript



  1. جૅ͔ΒԠ༻·Ͱͬ͘͡ΓֶͿ
    ʮ"84ͰͷωοτϫʔΫͷ࡞Γํʯ

    View full-size slide

  2. ࣗݾ঺հ

    )JSPZVLJ,BKJˏࡳຈΦϑΟε
    ܦྺ
    ωοτϫʔΫػثϝʔΧʔγεςϜΤϯδχΞ
    ηΩϡϦςΟؔ࿈اۀͷ঎༻γεςϜӡ༻ऀ
    ೥Ϋϥεϝιουೖࣾ
    ࢓ࣄɿ"84ಋೖ΍Πϯϑϥߏங
    ڵຯɾؔ৺ɿ/FUXPSLɺ4FDVSJUZ
    ޷͖ͳ"84αʔϏε
    "NB[PO71$
    "NB[PO*OTQFDUPS
    @cocacola917

    View full-size slide

  3. ࣭໰

    ։ൃܥͷํʁ
    Πϯϑϥܥͷํʁ

    View full-size slide

  4. "84ߏங͢Δɺͦͷલʹɾɾɾ

    ࣗࣾ·ͨ͸͓٬༷ͷ
    ωοτϫʔΫ೺Ѳ͍ͯ͠·͔͢ʁ
    ʢͲͷΑ͏ͳϓϥΠϕʔτΞυϨεΛ
    ར༻͍ͯ͠Δ͔஌ͬͯ·͔͢ʁʣ

    View full-size slide

  5. "NB[PO71$ͱ͸

    "NB[PO71$ʹ7JSUVBM1SJWBUF$MPVE
    ΦϯϓϨϛεʹྨࣅͨࣗࣾ͠ઐ༻ͷԾ૝ωοτϫʔΫΛ
    ߏங

    View full-size slide

  6. 71$ߏஙͷྲྀΕ

    w $*%3ʢΞυϨεʣઃఆ
    w αϒωοτઃఆ
    w ϧʔςΟϯάઃఆ
    w τϥϑΟοΫ੍ޚઃఆ

    View full-size slide

  7. ٙ໰

    AWSΛ͜Ε͔Β࢝Ί·͢ɻ
    VPC࡞੒͠Α͏
    CIDRʢIPΞυϨεʣͷઃܭ͸
    Ͳ͏ͨ͠Βྑ͍ͷʁ

    View full-size slide

  8. Φεεϝ

    %$΍ΦϯϓϨϛεɺΦϑΟεڌ఺ͷωοτϫʔΫΞυ
    Ϩεͱॏෳ͠ͳ͍*1ΞυϨεͰߏங
    ཧ༝
    71$ͷ$*%3ʢ*1ΞυϨεʣ͸ޙ͔ΒมߋෆՄɻ
    มߋʹ͸71$্ʹߏங͞Εͨ΋ͷΛ࡟আ͠࠶ߏங͕ඞཁ
    ઀ଓཁ͕݅ແͯ͘΋ɺ਺೥ޙͷཁ݅มߋʹඋ͑Δ

    View full-size slide

  9. Φεεϝ

    ϓϥΠϕʔτωοτϫʔΫΞυϨε͸3'$͔Β
    3'$
    QSFpY

    QSFpY

    QSFpY

    ʻҾ༻ʼϓϥΠϕʔτ໢ͷΞυϨεׂ౰3'$+1/*$
    IUUQTXXXOJDBEKQKBUSBOTMBUJPOSGDIUNM

    View full-size slide

  10. Φεεϝ

    ͭͷ71$ʹɺΛਪ঑
    ྫɿ
    w ͩͱɺୈೋΦΫςοτ·Ͱݻఆʢ·Ͱʣ
    w ͜ͷத͔Βαϒωοτʹ෼഑

    View full-size slide

  11. Φεεϝ

    Πϯελϯε΁ͷݻఆ*1ΞυϨεͷར༻͸ආ͚Δ
    $MPVE'PSNBUJPOʹ͓͍ͯ*1ΞυϨεΛݻఆ͢Δ͜ͱ
    ʹΑΓɺϝϯςφϯε্ͷ໰୊͕ൃੜ
    ݸผͷϊʔυʹΞΫηε͢Δඞཁ͕͋ΔͷͰ͋Ε͹ɺ
    3PVUFʢ%/4ʣΛ࢖໊ͬͯલղܾ͢ΔΑ͏ʹઃܭ

    View full-size slide

  12. ٙ໰

    αϒωοτͬͯԿݸඞཁͳͷ͔ʁ

    View full-size slide

  13. 8FC"QQ%#ͷߏ੒ͳΒ૚ߏ଄

    w 'SPOUFOE
    w ෛՙ෼ࢄ૷ஔɺ/"5ήʔτ΢ΣΠɺ౿Έ୆
    αʔό
    w "QQMJDBUJPO
    w 8FCαʔό΍ɺΞϓϦέʔγϣϯαʔό
    w %BUBTUPSF
    w ಺෦௨৴ͷΈڐՄ
    w %#αʔό΍3%4ɺ&MBTUJ$BDIFͳͲΛ഑ஔ

    View full-size slide

  14. ΞϕΠϥϏϦςΟκʔϯʢ";ʣ

    ";͸ͭҎ্ͷσʔληϯλʔͰߏ੒
    w Ϧʔδϣϯ಺ʹ";͕ෳ਺
    w ";͸͓ޓ͍ʹ஍ཧతɾిݯతɾωοτϫʔΫతʹ෼཭
    w Ϧʔδϣϯ಺ͷ";ؒ͸ߴ଎ͳઐ༻ઢͰ઀ଓ

    View full-size slide

  15. αϒωοτͷΞυϨε͸ʁ

    ͭҎ্ͷ";Ͱɺ֤αϒωοτ͸Ͱ
    ࡞੒ɻ
    'SPOUFOEαϒωοτ


    "QQMJDBUJPOαϒωοτ


    %BUBTUPSFαϒωοτ


    View full-size slide

  16. ཧ༝

    w ֦ுੑͱॊೈੑΛ΋ͪɺ৑௕ੑʢϚϧν";ʣΛར༻
    ՄೳͳΑ͏ʹηοτʹͯ͠ઃܭ
    w ػೳຖʹαϒωοτΛ෼͚Δ
    w ͖Ίࡉ͔͍ωοτϫʔΫηΩϡϦςΟʹτϥϑΟοΫ੍ޚ
    ΛͰ͖ΔΑ͏ʹ͓ͯ͘͠

    View full-size slide

  17. ཧ༝

    w εέʔϧΞοϓΛߟྀ͠
    w &-# &MBTUJD-PBE#BMBODJOH
    ͸ࣗಈεέʔϧΞοϓ
    w ΦʔτεέʔϦϯάઃఆͨ͠&$ʢԾ૝αʔόʣ
    w &MBTUJ$BDIF&.3ͳͲ͸ɺΫϥελͷϊʔυ਺ʹߟྀ
    *1ΞυϨεফඅ
    ʙͷ޿ΊͷωοτϫʔΫΞυϨεͰׂΓ౰ͯΔ

    View full-size slide

  18. ཧ༝

    αϒωοτ͸ϚεΫࢦఆʹ౰ͯ͸·ΔΞυϨεઃܭΛ͓ͯ͘͜͠
    ͱʢಛʹΦϯϓϨϛεͱͷ௨৴੍ޚͰ༗ޮʣ
    ෳ਺ΞυϨεͷࢦఆ͸ωοτϫʔΫΞυϨεͰࢦఆͱͳΔͨΊɻ
    ʻྫʼ
    ˠ˓
    ʙˠº͜ͷΑ͏ͳࢦఆ͸ෆՄɻͱͷؒʹ
    ͳΔͨΊෳ਺ϧʔϧ͕ඞཁ

    View full-size slide

  19. ࢲݸਓͷ޷ΈͰ͕͢ɾɾɾ

    PSJHJO CBTF
    ͕Θ͔Γ΍͍͢ɻ
    ͷҐʢ੨จࣈʣͰɺ֊૚͕Θ͔Δ
    αϒωοτෆ଍࣌͸࿈൪Ͱ௥Ճ
    'SPOUFOEαϒωοτ


    "QQMJDBUJPOαϒωοτ


    %BUBTUPSFαϒωοτ


    View full-size slide



  20. αϒωοτͷ࡞੒

    View full-size slide

  21. αϒωοτͷ࡞੒

    View full-size slide



  22. Πϯλʔωοτͱͷ઀ଓ

    View full-size slide

  23. Πϯλʔωοτ઀ଓ

    w Πϯλʔωοτήʔτ΢ΣΠʢ*(8ʣΛઃఆ
    w Πϯλʔωοτ઀ଓ͢Δͱ͖ʹ࡞੒
    w 71$ʹΞλονͯ͠ར༻

    View full-size slide



  24. Πϯλʔωοτήʔτ΢ΣΠʢ*(8ʣͷ࡞੒

    View full-size slide

  25. Πϯλʔωοτήʔτ΢ΣΠͷ࡞੒

    View full-size slide



  26. ϧʔτςʔϒϧ

    View full-size slide

  27. ϧʔτςʔϒϧ

    w 71$಺ʹ҉ࣔతͳϧʔλ͕͋Δ
    w ҉ࣔతͳϧʔλͷܦ࿏͸ϧʔτ
    ςʔϒϧͰઃఆ
    w 71$࡞੒࣌ʹϧʔτςʔϒϧͭ
    ͕ࣗಈ࡞੒

    View full-size slide

  28. ֊૚ຖʹϧʔτςʔϒϧ࡞੒

    w 'SPOUFOE35
    w 71$಺ʢMPDBMʣͱ*(8ܦ༝Πϯλʔωοτ઀ଓ
    w "QQMJDBUJPO35
    w 71$಺ʢMPDBMʣͱ/"5ήʔτ΢ΣΠܦ༝ͷΠϯλʔωοτ઀ଓ
    w "QQMJDBUJPO35
    w 71$಺ʢMPDBMʣͱ/"5ήʔτ΢ΣΠܦ༝ͷΠϯλʔωοτ઀ଓ
    w %BUBTUPSF35
    w 71$಺ʢMPDBMʣͷΈ

    View full-size slide

  29. ϧʔτςʔϒϧ

    View full-size slide

  30. σϑΥϧτͷϧʔτςʔϒϧฤू %BUBTUPSF༻


    10.1.0.0/16͸VPC಺ͷΈ

    View full-size slide

  31. 'SPOUFOE༻ϧʔτςʔϒϧ࡞੒

    View full-size slide

  32. /"5ήʔτ΢ΣΠ

    w Πϯλʔωοτ௨৴͢Δ͕Πϯλʔ
    ωοτ͔Β͸ΞΫηεͤͨ͘͞ແ
    ͍࣌ʹར༻
    w "84Ϛωʔδυͷ/"5ϧʔλ
    w ৑௕ߏ੒͸ɺ";ຖʹઃఆ͕ඞཁ
    w ଳҬ΋(CQT·Ͱόʔετ

    View full-size slide

  33. /"5ήʔτ΢ΣΠͷ࡞੒

    Elastic IPʢEIPʣ͸AWS͕༻ҙ͍ͯ͠ΔݻఆάϩʔόϧIPΞυϨε

    View full-size slide

  34. "QQMJDBUJPO༻ϧʔτςʔϒϧͰ/"5ήʔτ΢ΣΠΛઃఆ

    View full-size slide



  35. τϥϑΟοΫ੍ޚ

    View full-size slide

  36. ωοτϫʔΫ"$-ͱηΩϡϦςΟάϧʔϓ

    ωοτϫʔΫACL
    ηΩϡϦςΟάϧʔϓ

    View full-size slide

  37. τϥϑΟοΫ੍ޚ

    ໊শ ωοτϫʔΫ"$- ηΩϡϦςΟάϧʔϓ
    ར༻཰ ΄ͱΜͲ࢖Θͳ͍ جຊతʹར༻
    ద༻৔ॴ αϒωοτ
    αϒωοτʹଘࡏ͢Δ΋ͷ͢΂ͯʹద༻
    Πϯελϯεຖ
    &$ʢαʔόʣɺ&-#ɺ3%4ͳͲɾɾɾ
    ಛੑ
    ϒϥοΫϦετܕ
    ʢ%FOZ"MMPXΛ*O0VUͰࢦఆՄೳʣ
    εςʔτϨεͰߦ͖΋໭Γ΋ڐՄඞཁ
    ϗϫΠτϦετܕ
    ʢ"MMPXͷΈΛ*O0VUͰࢦఆՄೳʣ
    εςʔτϑϧͳͷͰɺ໭Γͷύέοτ͸ߟྀෆཁ
    ධՁॱ Ϧετॱʹద༻ ͢΂ͯͷϧʔϧΛద༻
    ͦͷଞ ಛఆ*1ΞυϨε͔Βͷෆਖ਼߈ܸΛःஅ͢Δͷʹ
    ศརɻ
    ૹ৴ݩͷࢦఆͰηΩϡϦςΟʔάϧʔϓ*%ΛࢦఆՄೳ
    ಉҰ71$ʹݕূ؀ڥͱຊ൪؀ڥ͕ଘࡏ͢Δͱ͖ʹศརɻ

    View full-size slide

  38. ٙ໰

    VPCΛ෼͚Δͱ͖͸
    ͲΜͳ࣌ʁ

    View full-size slide

  39. ωοτϫʔΫ෼཭͕ՄೳͳͷͰɾɾɾ

    w γεςϜຖʹ෼཭ʢ"γεςϜɺ#γεςϜʣ
    w ݕূ؀ڥɺຊ൪؀ڥͰ෼཭
    w ؂ࠪείʔϓ
    w ϦεΫϕʔε

    View full-size slide

  40. "84ΞΧ΢ϯτ෼཭͕ྑ͍৔߹΋͋Δ

    w ίετ೺Ѳ͍ͨ͠
    w ֤γεςϜɺ֤؀ڥͰίετ೺Ѳ͍ͨ͠
    w γεςϜओ؅෦ॺ͕ҟͳΔ໌ࡉΛ෼཭ʢλάͰ͋Δఔ౓Ͱ
    ͖Δ͕3*͕Ͱ͖ͳ͍ɾɾɾʣ
    w ίϯιʔϧͰ֤؀ڥ͕ࠞࡏ͍ͯ͠Δͷ͕ίϫΠ
    w ։ൃձ͕ࣾ਺ࣾ͋ΓଞγεςϜΛࢀর͞Εͨ͘ͳ͍

    View full-size slide

  41. ٙ໰

    VPCؒͰ௨৴͍ͨ͠ͱ͖͸ʁ

    View full-size slide

  42. 71$1FFSJOH

    w ͭͷ71$ؒͷτϥϑΟο
    ΫΛϧʔςΟϯάՄೳ
    w ผ"84ΞΧ΢ϯτͱ΋Մೳ
    w ผͷϦʔδϣϯͱ΋Մೳ
    w .56αΠζ͕CZUF
    ͷΈ

    View full-size slide

  43. αϙʔτ͞Ε͍ͯͳ͍71$1FFSJOHߏ੒

    w $*%3ϒϩοΫʢωοτϫʔΫΞυϨεʣͷॏෳ
    w ϗοϓ͸઀ଓͰ͖ͳ͍ʢϑϧϝογϡͰ0,ʣ

    View full-size slide

  44. αϙʔτ͞Ε͍ͯͳ͍71$1FFSJOHߏ੒

    w 71/઀ଓ·ͨ͸"84%JSFDU$POOFDU઀ଓܦ༝ͷ
    ϗοϓ
    w Πϯλʔωοτήʔτ΢ΣΠ΁ൈ͚Δϗοϓ

    View full-size slide



  45. ෛՙ෼ࢄʢ&-#ʣ

    View full-size slide

  46. &MBTUJD-PBE#BMBODFSʢ&-#ʣ

    w "QQMJDBUJPO-PBE#BMBODFS
    w ௨শɿ"-#
    w ߴػೳ-ϩʔυόϥϯαʔ
    w $MBTTJD-PBE#BMBODFS
    w ௨শɿ$-#
    w ੲ͔Β͋Δ--ϩʔυόϥϯαʔ
    w /FUXPSL-PBE#BMBODFS
    w ௨শɿ/-#
    w ΞʔϜߏ੒ͬΆ͍/"5͋Γ-ϩʔυόϥϯαʔ

    View full-size slide

  47. &-#ൺֱ

    ಛ௃ "QQMJDBUJPO-PBE#BMBODFS /FUXPSL-PBE#BMBODFS $MBTTJD-PBE#BMBODFS
    ϓϩτίϧ )551ɺ)5514 5$1 5$1ɺ44-ɺ)551ɺ)5514
    ϩάه࿥ ✔ ✔
    ˎ4ग़ྗͷΞΫηεϩά͸ແ͍ɻ71$'MPX-PH ✔
    ಉ͡ΠϯελϯεͰ
    ෳ਺ͷϙʔτ΁ͷෛՙ෼ࢄ
    ✔ ✔
    8FC4PDLFUT ✔ ✔
    *1ΞυϨεΛλʔήοτʹઃఆ ✔

    ˎλʔήοτΛ&$Πϯελϯεࢦఆͷ৔߹͸ɺૹ৴ݩ
    *1͸ΫϥΠΞϯτ*1ɻ*1ࢦఆͷ৔߹͸/-#1SJWBUF*1
    ύεϕʔεͷϧʔςΟϯά ✔
    ϗετϕʔεͷϧʔςΟϯά ✔
    ωΠςΟϒ)551 ✔
    44-ͷΦϑϩʔυ ✔ ✔
    όοΫΤϯυαʔόʔ҉߸Խ ✔ ✔
    ੩త*1 ✔
    ˎ࡞੒࣌ʹ෇༩͞Εͨ΋ͷΛҡ࣋
    &MBTUJD*1ΞυϨε

    ˎ࡞੒࣌ʹࢦఆՄೳ
    Ϣʔβೝূ ✔
    ϦμΠϨΫτ ✔
    ݻఆϨεϙϯε ✔
    ্ه͸ൈਮͰ͢ɻৄࡉ͸ʮ&MBTUJD-PBE#BMBODJOH੡඼ͷൺֱʯIUUQTBXTBNB[PODPNKQFMBTUJDMPBECBMBODJOHEFUBJMT

    View full-size slide

  48. /-#Λར༻ͨ͠1SJWBUF-JOL

    View full-size slide

  49. ٙ໰

    ΦϯϓϨϛε΍σʔληϯλʔͱ
    VPCΛ઀ଓ͍ͨ͠ͱ͖͸ʁ

    View full-size slide

  50. ΦϯϓϨϛεͱ71$ͷ઀ଓํ๏

    ҎԼͷ͔ͭΒબ୒
    w ઐ༻ઢ઀ଓʢ%JSFDU$POOFDUʣ
    w 71/઀ଓ

    View full-size slide



  51. %JSFDU$POOFDU

    View full-size slide

  52. %JSFDU$POOFDUͷ࢖͍ॴ

    w ηΩϡϦςΟ͕ݫͯ͘͠ΠϯλʔωοτΞΫηεͤͨ͘͞ͳ͍
    w ྫɿݸਓ৘ใΛ֨ೲ͢Δ%#͕ΦϯϓϨʹ͋Δɻ
    w εϧʔϓοτඞཁ
    w ྫɿΦϯϓϨ͔Β"84ͷαʔϏεʹେྔσʔλΛૹ෇͍ͨ͠ɻ஫ҙɿ
    5#ڃͷσʔλͷ৔߹͸4OPXCBMMΛݕ౼͍ͩ͘͞ɻ
    w ϨΠςϯγඞཁ
    w ྫɿΦϯϓϨͷ%#ʹ"84͔ΒΞΫηε͍ͤͨ͞ɻ

    View full-size slide

  53. ΩϟϦΞͷαʔϏεར༻͕Φεεϝ

    w "84͸ɺ"84ͱ઀ଓϙΠϯτؒͷΈΛఏڙ
    w ઀ଓϙΠϯτͷख഑ʹՃ͑ͯ઀ଓϙΠϯτ͔ΒϢʔβʔͷωοτϫʔΫ·
    Ͱͷઃඋ͕ผ్ඞཁ
    w ΩϟϦΞͷαʔϏεར༻͕Ұൠత

    View full-size slide

  54. %JSFDU$POOFDU઀ଓϓϥϯʢ઎༗ܕʣ

    w "84ͱͷ෺ཧ઀ଓΛ઎༗͢Δϓϥϯ
    w ෳ਺ͷ"84ΞΧ΢ϯτ΋઀ଓՄೳ
    w ࣍ϖʔδͷڞ༗ܕΑΓߴՁ

    View full-size slide

  55. ෳ਺"84ΞΧ΢ϯτͱ઀ଓʢ4IBSFE7JSUVBM*OUFSGBDFTʣ

    View full-size slide

  56. %JSFDU$POOFDU઀ଓϓϥϯʢڞ༗ܕʣ

    w "84ͱͷ෺ཧ઀ଓ͸ΩϟϦΞ͕ॴ༗ɾ؅ཧ
    w ΩϟϦΞ͔Β෷͍ग़͞ΕΔ࿦ཧ઀ଓΛར༻
    w ଳҬอূܕ΍ϕετΤϑΥʔτͳͲΩϟϦΞͷαʔϏεґଘ

    View full-size slide

  57. ΩϟϦΞαʔϏεͱͷ૊Έ߹Θͤ

    ύʔτφʔ͸ҎԼ63-ʹҰཡ͕͋Γ·͢ɻ
    IUUQTBXTBNB[PODPNKQEJSFDUDPOOFDUQBSUOFST
    ༗໊ΩϟϦΞ༷ͷαʔϏεྫ
    /551$ίϛϡχέʔγϣϯζʢIUUQXXXNBTUFSTPOFKQBXTʣ
    ,%%*ʢIUUQXXXLEEJDPNCVTJOFTTOFUXPSLJOUSBOFULEEJXWTʣ
    4PGU#BOLʢIUUQTXXXTPGUCBOLKQCJ[DMPVEDMPVE@BDDFTTEJSFDU@BDDFTT@GPS@BXTʣ

    View full-size slide

  58. 71/͸छྨ

    "84Ϛωʔδυ71/ʢϋʔυ΢ΣΞ71/ʣ
    "84ଆ͸"84؅ཧͷ71/
    ιϑτ΢ΣΞ71/
    "84ଆ͸ηϧϑ؅ཧͷ71/

    View full-size slide



  59. "84Ϛωʔδυ71/ʢϋʔυ΢ΣΞ71/ʣ

    View full-size slide

  60. "84Ϛωʔδυ71/

    "84ଆͷ71/ϧʔλ͸"84؅ཧˍϧʔλ৑௕Խ
    71/τϯωϧ͸ຊͰ઀ଓ
    ڌ఺·Ͱ

    View full-size slide

  61. ग़ͯ͘Δ༻ޠ

    Ծ૝ϓϥΠϕʔτήʔτ΢ΣΠʹ7JSUVBM1SJWBUF(BUFXBZʢ7(8ʣ
    71$ʹؔ࿈͚ͮΔήʔτ΢ΣΠ
    ΧελϚʔήʔτ΢ΣΠʹ$VTUPNFS(BUFXBZʢ$(8ʣ
    ΦϯϓϨϛεଆͷ71/ϧʔλ
    άϩʔόϧ*1ඞཁ
    71/઀ଓʹ71/$POOFDUJPO
    7(8ͱ$(8Λ*1TFD71/Ͱ઀ଓ
    ͭͷ71/τϯωϧ
    ಈతʢ#(1ʣ·ͨ͸੩తϧʔςΟϯά

    View full-size slide

  62. ΧελϚʔήʔτ΢ΣΠʢ$(8ʣʹ͍ͭͯ

    ҎԼͷϖʔδʹهࡌ͋Δϧʔλ͕Φεεϝ
    IUUQTBXTBNB[PODPNKQWQDGBRT
    ʮ2"NB[PO71$Ͱػೳ͢Δ͜ͱ͕஌ΒΕ͍ͯΔΧ
    ελϚʔήʔτ΢ΣΠ૷ஔʹ͸ͲͷΑ͏ͳ΋ͷ͕͋Γ·
    ͔͢ ʯ

    View full-size slide

  63. ੩తϧʔςΟϯάରԠʢൈਮʣ

    w $JTDP"4"γϦʔζόʔδϣϯҎ߱ͷιϑτ΢ΣΞ
    w $JTDP*43*04Ҏ߱ͷιϑτ΢ΣΞΛ࣮ߦ
    w +VOJQFS439γϦʔζαʔϏεήʔτ΢ΣΠ +VO04Ҏ߱ͷιϑτ΢ΣΞΛ
    ࣮ߦ

    w 'PSUJOFU'PSUJHBUFγϦʔζ'PSUJ04Ҏ߱·ͨ͸Ҏ߱ͷιϑτ΢Σ
    ΞΛ࣮ߦ
    w 1BMP"MUP/FUXPSLT1"/04Ҏ߱·ͨ͸Ҏ߱ͷιϑτ΢ΣΞΛ࣮ߦ
    w :BNBIB3593PVUFST3FWҎ߱ͷιϑτ΢ΣΞ
    ͳͲͳͲɾɾɾ

    View full-size slide

  64. ಈతϧʔςΟϯάରԠ #(1ඞཁ
    ൈਮ

    w $JTDP*43*04Ҏ߱ͷιϑτ΢ΣΞΛ࣮ߦ
    w +VOJQFS439γϦʔζαʔϏεήʔτ΢ΣΠ +VO04Ҏ߱ͷιϑ
    τ΢ΣΞΛ࣮ߦ

    w 'PSUJOFU'PSUJHBUFγϦʔζ'PSUJ04Ҏ߱·ͨ͸Ҏ
    ߱ͷιϑτ΢ΣΞΛ࣮ߦ
    w 1BMP"MUP/FUXPSLT1"/04Ҏ߱·ͨ͸Ҏ߱ͷιϑτ΢Σ
    ΞΛ࣮ߦ
    w :BNBIB3593PVUFST3FWҎ߱ͷιϑτ΢ΣΞ
    ͳͲͳͲɾɾɾ

    View full-size slide

  65. ੩తʁಈతʁ

    ੩తϧʔςΠϯά
    खಈͰωοτϫʔΫϧʔςΟϯάΛઃఆ
    ಈతϧʔςΟϯά
    ωοτϫʔΫ৘ใΛ૬ޓަ׵
    ωοτϫʔΫ؀ڥมߋΛ૬ޓʹࣗಈ൓ө

    View full-size slide



  66. "84Ϛωʔδυ71/ઃఆ

    View full-size slide

  67. Ծ૝ϓϥΠϕʔτήʔτ΢ΣΠʢ7(8ʣ࡞੒

    View full-size slide

  68. ΧελϚʔήʔτ΢ΣΠʢΦϯϓϨ71/ϧʔλʣొ࿥

    View full-size slide

  69. 71/઀ଓ࡞੒ʢݸͷઃఆͰ5VOOFMʣ

    View full-size slide

  70. 71/ϧʔλͷαϯϓϧίϯϑΟάͷμ΢ϯϩʔυ

    View full-size slide

  71. αϯϓϧίϯϑΟά

    *1TFD71/ͷઃఆ
    *,& *4",.1

    *1TFD5VOOFM
    ಈతϧʔςΟϯάͷ৔߹ɺ#(1ϧʔςΟϯάઃఆ
    "84઀ଓઌ*1

    View full-size slide

  72. αϯϓϧίϯϑΟάͷ஫ҙ఺

    μ΢ϯϩʔυͨ͠ϑΝΠϧͷʮίϝϯτʯʹཹҙ఺͕هࡌ
    Ұ෦੡඼͸ίϐʔΞϯυϖʔετͰͷઃఆ͸Ͱ͖ͣɺ(6*
    ૢ࡞
    w $IFDL1PJOU4FDVSJUZ(BUFXBZ3Ҏ߱ˠҰ෦(6*ઃఆ
    w 'PSUJOFU'PSUJHBUFγϦʔζ'PSUJ04Ҏ߱·ͨ͸
    Ҏ߱ˠطଘઃఆͱॏෳ͠ͳ͍Α͏֤ઃఆʹ൪߸෇༩ඞཁ
    w $JTDP.FSBLJ.9γϦʔζˠ(6*ͷΈ

    View full-size slide

  73. αϯϓϧίϯϑΟάͷ஫ҙ఺

    ੩తϧʔςΟϯάͷ৔߹
    71$޲͚ϧʔςΟϯά෦෼ͷॻ͖׵͕͑ඞཁ
    71$ͷαϒωοτ͕Ͱهࡌ͞Ε͓ͯΓ௥ه΍ॻ
    ͖׵͕͑ඞཁ

    View full-size slide

  74. αϯϓϧίϯϑΟάͷ஫ҙ఺

    ಈతϧʔςΟϯάͷ৔߹
    ͦͷ··ઃఆ͢Δͱϧʔλʹઃఆ͞ΕͨσϑΥϧτϧʔτ͕
    7(8ʹΞυόλΠζͷͰ஫ҙʢҎԼ͸$JTDPϧʔλͷ৔߹ʣ
    router bgp 65000
    neighbor 169.254.27.xxx remote-as 10124
    neighbor 169.254.27.xxx activate
    neighbor 169.254.27.xxx timers 10 30 30
    address-family ipv4 unicast
    neighbor 169.254.27.xxx remote-as 10124
    neighbor 169.254.27.xxx timers 10 30 30
    neighbor 169.254.27.xxx default-originate →ෆཁͰ͋Ε͹࡟আ
    neighbor 169.254.27.xxx activate
    neighbor 169.254.27.xxx soft-reconfiguration inbound
    ! To advertise additional prefixes to Amazon VPC, copy the 'network' statement
    ! and identify the prefix you wish to advertise. Make sure the prefix is present
    ! in the routing table of the device with a valid next-hop.
    network 0.0.0.0 →ΞυόλΠζ͢ΔϧʔτΛࢦఆʢྫɿnetwork 192.168.1.0 mask 255.255.255.0ʣ

    View full-size slide

  75. "84ଆͷϧʔςΟϯάઃఆ

    ՕॴͰϧʔτઃఆ͕ඞཁ
    7(8
    71$ϧʔτςʔϒϧ

    View full-size slide

  76. 7(8ͷϧʔςΟϯάઃఆʢ੩తϧʔςΟϯάͷ৔߹ʣ

    ಈతϧʔςΟϯάͷ৔߹
    BGPͰCGW͔Βड৴ͨ͠ϧʔτΛࣗಈઃఆ

    View full-size slide

  77. 71$ͷϧʔτςʔϒϧʢ੩తϧʔςΟϯά৔߹ʣ

    View full-size slide

  78. 71$ͷϧʔτςʔϒϧʢಈతϧʔςΟϯά৔߹ʣ

    View full-size slide



  79. ιϑτ΢ΣΞ71/

    View full-size slide

  80. ιϑτ΢ΣΞ71/

    "84ଆ͸ηϧϑ؅ཧͷ71/

    View full-size slide

  81. ιϑτ΢ΣΞ71/

    αΠτؒ71/
    ڌ఺Ҏ্ͷ઀ଓઌ
    ϧʔλ؅ཧΛߟྀ͢ΔͱΩϟϦΞͷϚωʔδυαʔϏεͷํ͕ྑ͍
    ৔߹΋͋Γ·͢

    View full-size slide

  82. ϦϞʔτΞΫηε71/ʢ44-71/ʣ΋Մೳ
    ιϑτ΢ΣΞ71/

    View full-size slide

  83. ιϑτ΢ΣΞ71/ߏங࣌ͷ஫ҙ

    ༗໊ϧʔλϝʔΧ͕"84.BSLFUQMBDFͰఏڙ
    ࣌ؒ՝ۚϥΠηϯε൛
    64αϙʔτ
    #:0-ϥΠηϯε൛
    ผ్୅ཧళ͔ΒϥΠηϯεߪೖ
    ୅ཧళ΍೔ຊ๏ਓͷαϙʔτ

    View full-size slide

  84. ιϑτ΢ΣΞ71/ͷ"84ߏஙͷྲྀΕ

    71$্ʹιϑτ΢ΣΞ71/&$ΠϯελϯεΛߏங
    ر๬ϝʔΧʔͷ".*ʢԾ૝ϧʔλΠϝʔδʣΛબ୒
    ηΩϡϦςΟάϧʔϓϧʔϧͰɺ71/ʹར༻͢ΔϓϩτίϧڐՄ
    *1ʢ&41*1TFDʣɺ6%1ϙʔτ *4",.1
    ͓Αͼ *1TFD/"55SBWFSTBM

    ͱɺϧʔλ؅ཧ௨৴༻ͷड৴τϥϑΟοΫΛڐՄ
    &MBTUJD*1ΞυϨεʢ"84؅ཧͷݻఆάϩʔόϧ*1ʣΛׂΓ౰ͯ
    71$ϧʔτςʔϒϧʹઃఆ
    71/௨৴ઌωοτϫʔΫ΁ͷϧʔτΛιϑτ΢ΣΞ71/&$Πϯελϯεͷ&/*Λࢦఆ
    ιϑτ΢ΣΞ71/&$Πϯελϯεʹͯʮૹ৴ݩૹ৴ઌνΣοΫΛແޮʯ͠ɺύ
    έοτసૹڐՄ

    View full-size slide



  85. ৄࡉ͸֤ϝʔΧͷϚχϡΞϧࢀর

    View full-size slide



  86. τϥϒϧγϡʔτ

    View full-size slide

  87. 71/ܦ༝Ͱ௨৴Ͱ͖ͳ͍

    ϧʔλͷϩά֬ೝ
    "84ɾΦϯϓϨͷ*1TFDτϯωϧͷ61͍ͯ͠Δ͔ʁ
    ಈతϧʔςΟϯά৔߹͸ɺϧʔτςʔϒϧͷ൓ө
    ௨৴ڐՄ
    "84ʹηΩϡϦςΟάϧʔϓɾ/"$-
    ΦϯϓϨʹ'JSFXBMMɾϧʔλ

    View full-size slide

  88. ·ͱΊ

    $*%3ʢ*1ΞυϨεʣ͸ॏෳ͠ͳ͍Α͏ઃܭ
    ॊೈੑͱ֦ுੑɺ৑௕ੑʢ";ʣΛߟྀͯ͠ઃܭ
    71$ϧʔτςʔϒϧ͸௨৴ͷྲྀΕͷΠϝʔδ͕ॏཁ
    ΦϯϓϨϛεͱͷ઀ଓ͸%JSFDU$POOFDU71/

    View full-size slide

  89. ࢀߟݩ

    "84#MBDL#FMU0OMJOF4FNJOBS"NB[PO71$
    IUUQTXXXTMJEFTIBSFOFU"NB[PO8FC4FSWJDFT+BQBOBXTCMBDLCFMUPOMJOF
    TFNJOBSBNB[POWQD
    "84#MBDL#FMU5FDIγϦʔζ"84%JSFDU$POOFDU
    IUUQTXXXTMJEFTIBSFOFU"NB[PO8FC4FSWJDFT+BQBOBXTCMBDLCFMUUFDIBXTEJSFDUDPOOFDU
    αϙʔτ͞Ε͍ͯͳ͍71$ϐΞ઀ଓઃఆ
    IUUQTEPDTBXTBNB[PODPNKB@KQWQDMBUFTUQFFSJOHJOWBMJEQFFSJOHDPOpHVSBUJPOTIUNM
    &MBTUJD-PBE#BMBODJOH੡඼ͷൺֱ
    IUUQTBXTBNB[PODPNKQFMBTUJDMPBECBMBODJOHEFUBJMT

    View full-size slide