Hussein Nasser
The Backend Engineering Show with Hussein Nasser
Envoy Proxy Crash Course, Architecture, L7 & L4 Proxying, HTTP/2, Enabling TLS 1.2/1.3 and more
0:00
-1:13:35

Envoy Proxy Crash Course, Architecture, L7 & L4 Proxying, HTTP/2, Enabling TLS 1.2/1.3 and more

Envoy is an open-source L7 proxy and communication bus Originally built at Lyft to move their architecture away from a monolith.

In this video, I want to go through the following

* What is Envoy? 0:00

* Current & Desired Architecture 0:48

* Envoy Architeture 3:00

* DownStream/Upstream 7:30

* Clusters 9:19

* Listeners 10:50

* Network Filters 11:50

* Connection Pools 13:45

* Threading Model 18:34

* Example 21:25

* Show the 4 apps 24:30

* Install Envoy Brew 26:00

*  https://www.getenvoy.io/install/envoy/macos/

* Envoy as a Layer 7 Proxy 27:30

* Proxy to all 4 backend NodeJS services 28:00

* Split load to multiple backends (app1/app2) 40:00

* Block certain requests (/admin) 45:30

* Envoy as a Layer 4 Proxy (tcp router) 47:50

* Create DNS record 54:00

* Enable HTTPS on Envoy (lets encrypt) 55:30

* Enable HTTP/2 on Envoy 1:03:00

* Disable 1.1/1.0 Enable TLS 1.2 and TLS 1.3 ONLY on Envoy 1:04:30

* SSL Labs test 1:06:40

* Summary 1:07:24

Config

https://github.com/hnasr/javascript_playground/tree/master/envoy

Resources

https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/intro/terminology

https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/connection_pooling#arch-overview-conn-pool

🏭 Backend Engineering Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQUNnO4p00ua_C5mKTfldiYT

💾 Database Engineering Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2

🛰 Network Engineering Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr

🏰 Load Balancing and Proxies Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC

🐘 Postgres Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQWGrOqslniFlRcwxyY94cjj

🚢Docker

https://www.youtube.com/playlist?list=PLQnljOFTspQWsD-rakNw1C20c1JI8UR1r

🧮 Programming Pattern Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQV1emqxKbcP5esAf4zpqWpe

🛡 Web Security Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQU3YDMRSMvzflh_qXoz9zfv

🦠 HTTP Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQU6zO0drAYHFtkkyfNJw1IO

🐍 Python Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQU_M83ARz8mDdr4LThzkBKX

🔆 Javascript Videos

https://www.youtube.com/playlist?list=PLQnljOFTspQWab0g3W6ZaDM6_Buh20EWM

👾Discord Server https://discord.gg/CsFbFce

Become a Member

https://www.youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join

Support me on PayPal

https://bit.ly/33ENps4

Become a Patreon

https://www.patreon.com/join/hnasr?

Stay Awesome,

Hussein

Discussion about this episode

User's avatar

Ready for more?