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

Cloud Native Data Center Networking超入門

Kurochan
December 12, 2019

Cloud Native Data Center Networking超入門

社内カンファレンスで発表しました

Kurochan

December 12, 2019
Tweet

More Decks by Kurochan

Other Decks in Technology

Transcript

  1. ·ͱΊΫϥ΢υͱ͸ w4DBMBCMF w ΄͍͠΋ͷΛ΄͍͠෼͚ͩ w े෼ͳ௨৴ଳҬ w"WBJMBCMF w ߴ͍Մ༻ੑ w.VMUJ5FOBOU

    w ಉ͡σʔληϯλ΍෺ཧϗετʹͨ͘͞Μͷސ٬Λऩ༰ wߴ౓ʹந৅Խ͞Ε͍ͯΔͨΊɺͲ͜ͷαʔόͰՔಇ͍ͯ͠Δͷ͔ͱ͍͏ ഑ஔΑΓ΋αʔϏεͷ૊Έ߹Θͤ΍αʔϏεؒͷ઀ଓʹ஫໨ͨ͠ߏ੒ਤ Ͱձ࿩͞ΕΔ͜ͱ͕ଟ͍
  2. 7-"/ w7-"/ 7JSUVBM-"/  w *&&&2ͱ͍͏ن֨ wૹ৴ݩ."$ΞυϨεͷ͏͠Ζʹ7-"/λάΛ෇Ճ͢Δ w7-"/λά͸7-"/*%͕࣋ͯΔ ʙ 1SFBNCMF

    %TU."$ 4SD."$ 5ZQF *1)FBEFS 5$1)FBEFS %BUB 1SFBNCMF %TU."$ 4SD."$ 5ZQF *1)FBEFS 5$1)FBEFS %BUB 7-"/
  3. 7-"/ wྫ͑͹ɺςφϯτ͝ͱʹ7-"/*%ΛׂΓৼΕ͹ɺ*1ϔομҎ߱ͷ஋͕ ҰॹͰ΋7-"/*%ͰςφϯτΛ۠ผ͢Δ͜ͱ͕Ͱ͖Δ 1SFBNCMF %TU."$ 4SD."$ 5ZQF *1)FBEFS 5$1)FBEFS %BUB

     1SFBNCMF %TU."$ 4SD."$ 5ZQF *1)FBEFS 5$1)FBEFS %BUB  7-"/ 7-"/ αʔό" αʔό# αʔό% αʔό$ 7-"/*%ͰࣝผͰ͖ΔͷͰ
 ςφϯτؒͰτϥϑΟοΫ͕ࠞ͟Βͳ͍
  4. 7-"/ͷ໰୊఺ w7-"/*%͕CJU ʙ ·Ͱ͔͠ͳ͍ w ݸͷωοτϫʔΫ͔ͭ͘͠Εͳ͍ͷ͸εέʔϧ͠ͳ͍ w ػثݻ༗ͷ༧໿*%΋͋ͬͨΓͯ͠τϥϒϧͷݩ w7-"/Ҏ֎ʹ΋ϧʔλͷϧʔςΟϯάςʔϒϧΛϢʔβ͝ͱʹ࣋ͨͳ͍ ͱ͍͚ͳ͍

    w 73' 7JSUVBM3PVUJOHBOE'PSXBSEJOH ͱ͍͏ػೳ͕͋Δ w ݸ͘Β͍ͷ73'Λ࡞ΕΔػثͰ୆਺ઍສԁ͢Δ wΫϥ΢υͷن໛Λߟ͑Δͱ໌Β͔ʹεέʔϧ͠ͳ͍ʜ
  5. ϚοϐϯάαʔϏε wαʔό"͕7.ʹ͔ΘͬͯϚοϐϯάαʔϏεʹ໰͍߹Θͤ αʔό" αʔό#      

    αʔό$ ϚοϐϯάαʔϏε ԫ৭͍ςφϯτͷͷ
 ऩ༰ϗετ͸Ͳ͜Ͱ͔͢ʁ αʔό#ʹऩ༰͞Ε͍ͯ·͢ʂ
  6. ϚοϐϯάαʔϏε wςφϯτͷࣝผ৘ใΛ্͚ͭͨͰύέοτΛαʔό#ʹసૹ αʔό" αʔό#      

    αʔό$ ϚοϐϯάαʔϏε ԫ৭͍ςφϯτͷͷ
 ऩ༰ϗετ͸Ͳ͜Ͱ͔͢ʁ αʔό#ʹऩ༰͞Ε͍ͯ·͢ʂ Ϣʔβ͔Β͸ಉ͡ωοτϫʔΫ಺ͷ௨৴ʹݟ͑Δ͕ɺ
 ࣮ࡍͷτϥϑΟοΫ͸ෳ਺ͷ෺ཧϗετΛ·͍ͨͰ
 ߦ͖དྷ͍ͯ͠Δʂ
  7. ϚοϐϯάαʔϏε w7.ͷ"13ύέοτ͸ϗεταʔόͷ֎ʹ͸ग़ͣɺϗετ͕୅ཧԠ౴ αʔό" αʔό#      

    αʔό$ ϚοϐϯάαʔϏε ԫ৭͍ςφϯτͷͷ
 ऩ༰ϗετ͸Ͳ͜Ͱ͔͢ʁ αʔό#ʹऩ༰͞Ε͍ͯ·͢ʂ ϗετ͕7.ʹ୅ΘͬͯύέοτΛ୅ཧԠ౴ ͜ͷͨΊɺ"84ͷ71$͸αϒωοτ಺ͷ
 ϚϧνΩϟετ΍ϒϩʔυΩϟετΛ
 αϙʔτ͍ͯ͠ͳ͍
  8. wςφϯτͷࣝผ৘ใΛ্͚ͭͨͰύέοτΛ&EHFʹసૹ αʔό" αʔό#       &EHF

    ϚοϐϯάαʔϏε Πϯλʔωοτήʔτ΢ΣΠ͸Ͳ͜Ͱ͔͢ʁ &EHFͰ͢ʂ αϒωοτ֎ͷ௨৴ 71$֎
  9. wςφϯτͷࣝผ৘ใΛ্͚ͭͨͰύέοτΛ&EHFʹసૹ αʔό" αʔό#       &EHF

    ϚοϐϯάαʔϏε Πϯλʔωοτήʔτ΢ΣΠ͸Ͳ͜Ͱ͔͢ʁ &EHFͰ͢ʂ αϒωοτ֎ͷ௨৴ 71$֎
  10. wςφϯτͷࣝผ৘ใΛ্͚ͭͨͰύέοτΛ&EHFʹసૹ αʔό" αʔό#       &EHF

    ϚοϐϯάαʔϏε Πϯλʔωοτήʔτ΢ΣΠ͸Ͳ͜Ͱ͔͢ʁ &EHFͰ͢ʂ Ϛοϐϯάઌ͕ҧ͏͚ͩ αϒωοτ֎ͷ௨৴ 71$֎
  11. 79-"/ w7JSUVBMF9UFOTJCMF-"/ w7-"/λάͰ͸ͳ͘ɺ6%1ύέοτͰΧϓηϦϯά͢Δ w79-"/*%͸CJU ໿ສ*% 1SFBNCMF %TU."$ 4SD."$ 5ZQF *1)FBEFS

    5$1)FBEFS %BUB 1SFBNCMF %TU."$ 4SD."$ 5ZQF *1)FBEFS 6%1)FBEFS 79-"/ ˢ
 ݩͷύέοτ 79-"/ʹΑΔΧϓηϧԽ
  12. ैདྷͷҰൠతͳ8FCΞϓϦͷߏ੒ w-".14UBDLͷߏ੒ w -# w "QQ w %BUBCBTF w௨৴͕ॎ ೆ๺

    ํ޲Ͱ͋Δ͜ͱ͕ଟ͍ w௨৴ͷൣғ͕໌֬ w -#㱻"QQ㱻%#౳ w %#ͱ"QQΛಉ͡ϥοΫʹऩ༰͢Ε͹
 ϥοΫ·ͨ͗ͷ௨৴͸཈͑ΒΕΔ౳ɺӡ༻Ͱ࠷దԽ͕Ͱ͖Δ
  13. w-FBGͱ4QJOF͔Βߏ੒͞ΕΔ w ଳҬΛ૿΍͢ʹ͸4QJOFΛ૿ઃ͢Δ w ϊʔυ ϥοΫ Λ૿΍͢ʹ͸-FBGΛ૿ઃ͢Ε͹͍͍ w -FBG4QJOFؒ͸ϚϧνύεʹͳΔ &$.1

     w ऩ༰Մೳαʔό਺N O w N4QJOFͷϙʔτ਺ O-FBG഑Լͷαʔό୆਺ w ྫ ୆୆ $MPTτϙϩδ
  14. wݱ࣮తʹ͸  ୆͘Β͍ʁ w4QJOFʹϙʔτ਺ͷଟ͍ػࡐΛ࢖͏ͱ
 ϙʔτఔ౓͸Ք͛ͦ͏ w   ୆ w"84ͷ";͋ͨΓͷαʔό୆਺͸ສ୆ఔ౓Β͍͠

    w ͍ۙ͠஋͔΋͠Εͳ͍ ૚$MPTτϙϩδ https://www.cisco.com/c/ja_jp/products/switches/nexus- - -slot-switch/index.html $JTDP/FYVT
  15. ίϯςφͷωοτϫʔΩϯά wΫϥ΢υͷ্ͰίϯςφΛಈ͔͍ͯ͠Δͱ͖͸Ͳ͏ͳ͍ͬͯΔͷ͔ wEPDLFSͷྫ wCSJEHFϞʔυ w σϑΥϧτͷ΍ͭ w ϗετͷதͰ/"5͍ͯ͠Δ w ϗετͰ/"5͞ΕͨύέοτΛ


    Ϋϥ΢υج൫͕PWFSMBZͯ͠
 ௨৴ઌʹసૹ͍ͯ͠Δ https://www.docker.com/blog/understanding-docker-networking-drivers-use-cases/
  16. ίϯςφͷωοτϫʔΩϯά wNBDWMBOϞʔυ w ϗετͷ/*$ʹ."$ΞυϨεҧ͍ͷԾ૝తͳ/*$ΛΞλον͢Δ wϗετଆͰ7-"/λάΛ͚ͭͯύέοτΛసૹ͢Δ͜ͱ΋Ͱ͖Δ wΧϓηϦϯά͠ͳ͍ͷͰύέοτ௕ʹ͸
 Φʔόʔϔου͕ൃੜ͠ͳ͍ w"84ͷ৔߹͸NBDWMBO͸࢖͑ͣɺ&$4ͩͱ
 "84͔Β/*$ &/*

    ͕෷͍ग़͞ΕɺࣗಈͰ
 ίϯςφʹΞλον͞ΕΔ w &/*͕ϋʔυ΢ΣΞॲཧͰPWFSMBZΛ
 ͯ͘͠ΕΔͷͰޮ཰͕Α͍ https://www.docker.com/blog/understanding-docker-networking-drivers-use-cases/