Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Envoyを分かりやすく例えつつApp Meshの話をします
Search
Masato Oshima
December 21, 2018
Technology
7
6.1k
Envoyを分かりやすく例えつつApp Meshの話をします
https://jawsug-container.connpass.com/event/109162/
JAWS-UG コンテナ支部 #13 の発表
Masato Oshima
December 21, 2018
Tweet
Share
More Decks by Masato Oshima
See All by Masato Oshima
ECSからEKSへの移行への移行事例の紹介
mpon
6
3.5k
APIがある外部サービスはTerraformで管理できますよ
mpon
12
6.9k
AWS Fargateで得する人損する人
mpon
3
5.9k
kubernetes-meetup-4
mpon
2
2.4k
Unidirectional Data Flow in ReSwift
mpon
0
1.5k
DDD Practice in iOS
mpon
0
410
Swift compile time is so slow
mpon
3
5.4k
Fight Xcode Project with Golang
mpon
1
2.7k
iPad Multi Taking
mpon
0
66
Other Decks in Technology
See All in Technology
Java x Spring Boot Warm up
kazu_kichi_67
2
440
分布で見る効果検証入門 / ai-distributional-effect
cyberagentdevelopers
PRO
3
620
omakaseしないための.rubocop.yml のつくりかた / How to Build Your .rubocop.yml to Avoid Omakase #kaigionrails
linkers_tech
3
340
Mackerelが取り組むオブザーバビリティ - Mackerel Tech Day
mackerelio
0
360
APIテスト自動化の勘所
yokawasa
5
2.9k
新卒1年目が挑む!生成AI × マルチエージェントで実現する次世代オンボーディング / operation-ai-onboarding
cyberagentdevelopers
PRO
0
110
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
3
1.3k
LeSSに潜む「隠れWF病」とその処方箋
lycorptech_jp
PRO
2
110
WINTICKETアプリで実現した高可用性と高速リリースを支えるエコシステム / winticket-eco-system
cyberagentdevelopers
PRO
1
180
KaigiOnRails2024
igaiga
6
4.1k
Jamstack でリニューアルするグリーグループのメディア
gree_tech
PRO
2
230
Hotwire光の道とStimulus
nay3
5
2.3k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
13
1.9k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Making the Leap to Tech Lead
cromwellryan
132
8.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
780
Designing on Purpose - Digital PM Summit 2013
jponch
115
6.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Automating Front-end Workflow
addyosmani
1365
200k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Music & Morning Musume
bryan
46
6.1k
Transcript
"QQ.FTIͷΛ͠Α͏ͱࢥͬ ͚ͨͲ-5ͳͷͰৄ͘͠ϒϩά ΛݟͯΒ͏ͱͯ͠ࠓ FOWPZΛ͔Γ͘͢ྫ͑Δ ͷΛͬͯΈ·͢ !@NQPO +"846(ίϯςφࢧ෦
AWS App Meshͷϒϩάॻ͍ͨͷͰಡΜͰ͍ͩ͘͞ https://tech.recruit-mp.co.jp/infrastructure/post-17720/ SFJOWFOUBQQNFTIΈ Ͱݕࡧ
What is Envoy? ENVOY IS AN OPEN SOURCE EDGE AND
SERVICE PROXY, DESIGNED FOR CLOUD-NATIVE APPLICATIONS
What is Envoy? ENVOY IS AN OPEN SOURCE EDGE AND
SERVICE PROXY, DESIGNED FOR CLOUD-NATIVE APPLICATIONS αʔϏεϓϩΩγʁ
αʔϏεϓϩΩγʁ
ΈΜͳେ͖nginxͳΒ͔Δ
ྫ͑ɺnginxΛͬͯ͜ΜͳΞΫηε )551 GPP XXXFYBNQMFDPN
nginx.conf )551 GPP XXXFYBNQMFDPN
listen )551 GPP XXXFYBNQMFDPN
location )551 GPP XXXFYBNQMFDPN
upstream )551 GPP XXXFYBNQMFDPN
envoyͰಉ͜͡ͱ͕Ͱ͖Δ )551 GPP XXXFYBNQMFDPN
envoyͷઃఆϑΝΠϧyamlͰ͢ ͪΐͬͱ͍͚Ͳ ݟ͍͖ͯ·͠ΐ͏ )551 GPP XXXFYBNQMFDPN
listeners )551 GPP XXXFYBNQMFDPN
routes )551 GPP XXXFYBNQMFDPN
clusters )551 GPP XXXFYBNQMFDPN
Why envoy? ผʹOHJOYͰ ͍͍ͷͰʁ
Cloud-NativeલఏͰ࡞ΒΕ͍ͯΔ ENVOY IS AN OPEN SOURCE EDGE AND SERVICE PROXY,
DESIGNED FOR CLOUD-NATIVE APPLICATIONS
Cloud-NativeͷੈքͰಈతʹมԽ͠ଓ͚Δ Cluster ࢮΜͩ͜ͱΛ ֬ೝ͠ଓ͚Δ ৽͍͠ͷ͕ ੜ·Εͨ͜ͱ
Λൃݟ͢Δ OHJOYDPOGΛ ॻ͖͑ͯ࠶σϓϩΠ ͢Δ͔͠ͳ͍ ৽͍ͭ͠ʹ গͣͭ͠ϦΫΤετ ৼΓ͍ͨ
envoyಈతʹઃఆΛऔಘͰ͖Δ Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPPBQQ Management Server BQQͲ͜ʁ
LDS Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPPBQQ BQQͲ͜ʁ LDS: Listener Discovery
Service Management Server
RDS Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPPBQQ BQQͲ͜ʁ LDS: Listener Discovery
Service RDS: Route Discovery Service Management Server
CDS/EDS Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPPBQQ BQQͲ͜ʁ RDS: Route Discovery
Service LDS: Listener Discovery Service CDS/EDS: Cluster Discovery Service/Endpoint Discovery Service Management Server
App Mesh͕ఏڙͯ͘͠ΕΔ Կ൪ϙʔτͰ-JTUFO͢Δʁ Ͱʂ Ͳ͜ʹϧʔςΟϯά͢Δʁ GPPBQQ BQQͲ͜ʁ RDS: Route
Discovery Service LDS: Listener Discovery Service CDS/EDS: Cluster Discovery Service/Endpoint Discovery Service
EnvoyΛཧղ͢ΕApp Mesh͕ݟ͑ͯ͘Δ ref: https://aws.amazon.com/jp/blogs/compute/introducing-aws-app-mesh-service-mesh-for-microservices-on-aws/
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