Hoot About Proxies, Ingress and API Gateways
Fleeting- External reference:
All About Proxies, Ingress and Gateways
ingress vs api gateway
IIUC, an ingress is more like a multiplexer proxy, while an API Gateway abstracts the service that it redirects to.
Actually, an API gateway can be considered as a super set of an ingress.
While the ingress conditionally exposes the services, the api gateway provides its own api that allows a loose coupling with the underlying services.
time text https://youtu.be/ByeDI09AVok&t=1290.63s so if ingress allows traffic in allows https://youtu.be/ByeDI09AVok&t=1292.94s us to do some basic routing allows us to https://youtu.be/ByeDI09AVok&t=1295.76s do some security and and so forth what —
time text https://youtu.be/ByeDI09AVok&t=1319.91s exposes an API that is best suited for https://youtu.be/ByeDI09AVok&t=1324.1s the clients so right here if we come https://youtu.be/ByeDI09AVok&t=1328.429s back to ingress ingress is just exposing https://youtu.be/ByeDI09AVok&t=1330.65s the services as they exist inside of https://youtu.be/ByeDI09AVok&t=1333.679s your cluster —
—
overlap between api gateway, ingress and service mesh
time text https://youtu.be/ByeDI09AVok&t=1475.73s then maybe https://youtu.be/ByeDI09AVok&t=1480.65s the technology overlaps ok so for https://youtu.be/ByeDI09AVok&t=1482.96s example you might use nginx as an https://youtu.be/ByeDI09AVok&t=1487.49s ingress you might use something like https://youtu.be/ByeDI09AVok&t=1489.98s Kong as API gateway or you might use https://youtu.be/ByeDI09AVok&t=1493.91s something like envoy or maybe it C as https://youtu.be/ByeDI09AVok&t=1498.35s ingress gateway as an ingress and maybe https://youtu.be/ByeDI09AVok&t=1501.29s something like solo glue as an API https://youtu.be/ByeDI09AVok&t=1505.31s Gateway —
time text https://youtu.be/ByeDI09AVok&t=1514.76s they further overlap with service mesh https://youtu.be/ByeDI09AVok&t=1518.09s because in a service mash when we’re https://youtu.be/ByeDI09AVok&t=1520.4s talking about the service to service https://youtu.be/ByeDI09AVok&t=1521.84s proxies those those might also be some https://youtu.be/ByeDI09AVok&t=1525.47s of the same foundational pieces that are https://youtu.be/ByeDI09AVok&t=1526.91s used as an ingress or an api gateway and https://youtu.be/ByeDI09AVok&t=1530.6s but a service master does the service https://youtu.be/ByeDI09AVok&t=1532.79s mesh proxy does something different it https://youtu.be/ByeDI09AVok&t=1535.01s doesn’t for example I can API a gateway https://youtu.be/ByeDI09AVok&t=1538.51s abstract away details of API https://youtu.be/ByeDI09AVok&t=1543.23s implementations for example what it does https://youtu.be/ByeDI09AVok&t=1545.99s is it allows it gives the clients more https://youtu.be/ByeDI09AVok&t=1548.72s smarts about the infrastructure so it it https://youtu.be/ByeDI09AVok&t=1555.59s brings more detail to the clients about https://youtu.be/ByeDI09AVok&t=1558.77s what’s happening with services that we https://youtu.be/ByeDI09AVok&t=1563.12s might need to talk to so if service I https://youtu.be/ByeDI09AVok&t=1565.52s need to talk to be B might be deployed https://youtu.be/ByeDI09AVok&t=1568.52s on three different availability zones https://youtu.be/ByeDI09AVok&t=1571.79s and one of them could go down and so the https://youtu.be/ByeDI09AVok&t=1575.6s details of the infrastructure and the https://youtu.be/ByeDI09AVok&t=1578.9s topology of the networks is is something https://youtu.be/ByeDI09AVok&t=1582.65s that’s important for the client who https://youtu.be/ByeDI09AVok&t=1584.84s wants to call the service to know and https://youtu.be/ByeDI09AVok&t=1586.61s that’s exactly what the the proxy is https://youtu.be/ByeDI09AVok&t=1589.76s doing on behalf of the client —
difference between api gateway and reverse proxy
time text https://youtu.be/ByeDI09AVok&t=408.199s reverse proxy where https://youtu.be/ByeDI09AVok&t=411.44s a client doesn’t know anything about the https://youtu.be/ByeDI09AVok&t=414.41s proxy they think they’re talking to the https://youtu.be/ByeDI09AVok&t=415.97s server or the service and the traffic is https://youtu.be/ByeDI09AVok&t=419.389s still going through this this proxy and https://youtu.be/ByeDI09AVok&t=421.789s being demultiplexed into the the https://youtu.be/ByeDI09AVok&t=426.02s different services that might live in https://youtu.be/ByeDI09AVok&t=428.27s the backend —