Summary
In this chapter, we learned what a service mesh is and how it works and then we explored the details of what AWS App Mesh is and looked at some of the services it provides. We initially focused on how we can manage east/west traffic using a simple consumer and two web services in our example. After we deployed the application using native K8s services, we then configured our mesh and added VirtualNode
and VirtualService
, which allowed traffic to be managed by Envoy sidecar containers that were automatically injected and configured into our application Pods.
We then used VirtualRouter
to load-balance between green and blue services representing different versions of the same service supporting a blue/green deployment strategy and minimizing rollout disruption. We added VirtualGateway
, which allowed us to expose our application outside of the EKS cluster using an NLB and standalone Envoy proxies.
Finally, we looked at how you can integrate AWS Cloud Map, an external DNS...