Envoyを分かりやすく例えつつApp Meshの話をします

E3d96b25e645921d9e5acbaa36c507a5?s=47 Masato Oshima
December 21, 2018

Envoyを分かりやすく例えつつApp Meshの話をします

https://jawsug-container.connpass.com/event/109162/
JAWS-UG コンテナ支部 #13 の発表

E3d96b25e645921d9e5acbaa36c507a5?s=128

Masato Oshima

December 21, 2018
Tweet

Transcript

  1. "QQ.FTIͷ࿩Λ͠Α͏ͱࢥͬ ͚ͨͲ-5ͳͷͰৄ͘͠͸ϒϩά Λݟͯ΋Β͏ͱͯ͠ࠓ೔͸ FOWPZΛ෼͔Γ΍͘͢ྫ͑Δ ͷΛ΍ͬͯΈ·͢ !@NQPO +"846(ίϯςφࢧ෦

  2. AWS App Meshͷϒϩάॻ͍ͨͷͰಡΜͰ͍ͩ͘͞ https://tech.recruit-mp.co.jp/infrastructure/post-17720/ SFJOWFOUBQQNFTI࢓૊Έ Ͱݕࡧ

  3. What is Envoy? ENVOY IS AN OPEN SOURCE EDGE AND

    SERVICE PROXY, DESIGNED FOR CLOUD-NATIVE APPLICATIONS
  4. What is Envoy? ENVOY IS AN OPEN SOURCE EDGE AND

    SERVICE PROXY, DESIGNED FOR CLOUD-NATIVE APPLICATIONS αʔϏεϓϩΩγʁ
  5. αʔϏεϓϩΩγʁ

  6. ΈΜͳେ޷͖nginxͳΒ෼͔Δ

  7. ྫ͑͹ɺnginxΛ࢖ͬͯ͜ΜͳΞΫηε )551 GPP    XXXFYBNQMFDPN

  8. nginx.conf )551 GPP    XXXFYBNQMFDPN

  9. listen )551 GPP    XXXFYBNQMFDPN

  10. location )551 GPP    XXXFYBNQMFDPN

  11. upstream )551 GPP    XXXFYBNQMFDPN

  12. envoyͰ΋ಉ͜͡ͱ͕Ͱ͖Δ )551 GPP    XXXFYBNQMFDPN

  13. envoyͷઃఆϑΝΠϧ͸yamlͰ͢ ͪΐͬͱ௕͍͚Ͳ ݟ͍͖ͯ·͠ΐ͏ )551 GPP    XXXFYBNQMFDPN

  14. listeners )551 GPP    XXXFYBNQMFDPN

  15. routes )551 GPP    XXXFYBNQMFDPN

  16. clusters )551 GPP    XXXFYBNQMFDPN

  17. Why envoy? ผʹOHJOYͰ΋ ͍͍ͷͰ͸ʁ

  18. Cloud-NativeલఏͰ࡞ΒΕ͍ͯΔ ENVOY IS AN OPEN SOURCE EDGE AND SERVICE PROXY,

    DESIGNED FOR CLOUD-NATIVE APPLICATIONS
  19. Cloud-NativeͷੈքͰ͸ಈతʹมԽ͠ଓ͚Δ     Cluster ࢮΜͩ͜ͱΛ ֬ೝ͠ଓ͚Δ ৽͍͠ͷ͕ ੜ·Εͨ͜ͱ

    Λൃݟ͢Δ OHJOYDPOGΛ ॻ͖׵͑ͯ࠶σϓϩΠ ͢Δ͔͠ͳ͍ ৽͍͠΍ͭʹ͸ গͣͭ͠ϦΫΤετ ৼΓ͍ͨ
  20. envoy͸ಈతʹઃఆΛऔಘͰ͖Δ Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPP͸BQQ΁ Management Server BQQ͸Ͳ͜ʁ 

  21. LDS Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPP͸BQQ΁ BQQ͸Ͳ͜ʁ  LDS: Listener Discovery

    Service Management Server
  22. RDS Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPP͸BQQ΁ BQQ͸Ͳ͜ʁ  LDS: Listener Discovery

    Service RDS: Route Discovery Service Management Server
  23. CDS/EDS Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPP͸BQQ΁ BQQ͸Ͳ͜ʁ  RDS: Route Discovery

    Service LDS: Listener Discovery Service CDS/EDS: Cluster Discovery Service/Endpoint Discovery Service Management Server
  24. App Mesh͕ఏڙͯ͘͠ΕΔ Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPP͸BQQ΁ BQQ͸Ͳ͜ʁ  RDS: Route

    Discovery Service LDS: Listener Discovery Service CDS/EDS: Cluster Discovery Service/Endpoint Discovery Service
  25. EnvoyΛཧղ͢Ε͹App Mesh͕ݟ͑ͯ͘Δ ref: https://aws.amazon.com/jp/blogs/compute/introducing-aws-app-mesh-service-mesh-for-microservices-on-aws/

  26. App MeshͷGA·ͰͷಓͷΓ ➤ .POJUPSJOH ➤ 5SBDJOH ➤ 3FUSZ ➤ $JSDVJU#SFBLFST

    ➤ "84ίϯιʔϧը໘ɺͳͲͳͲ ͕ػೳͱ͍ͯ࣋ͬͯ͠Δ͜ͱΛ࣮૷͍ͯ͘͠ ͸ݱঢ়1VCMJD#FUBɻ$-*POMZɺ5SBGGJD3PVUJOH͔͠Ͱ͖ͳ͍ https://github.com/awslabs/aws-app-mesh-examples/issues?q=is%3Aissue+is%3Aopen+label%3AGA