-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create an example tutorial for how to use ALB/NLB with App Mesh #119
Comments
We are also interested in this. We are using aws-alb-ingress-controller with the target as IP. Probably it also allows SSL termination at the virtual node. |
Indeed, I struggle to find any information how would one connect ALB to a Virtual Router. Is it even doable? My use case is pretty simple - I would like to do canary deployment on both publicly and privately accessible services and thought about utilising App Mesh to do it. Example scenario:
Is it already possible? If not, wouldn't it be a proper usecase? Also, FAQ says that you should use ALB for external traffic and App Mesh for internal, which I fully agree and understand. However, with App Mesh I can fluently switch the traffic between old and new services in internal communication inside AWS. How can I do it both internally and externally(with ALB involved)? If my scenario is not possible then I can't see how is no-downtime deployment possible . |
@spaszek So, your use case of connecting an ALB to a Virtual Router isn't doable currently. To achieve the scenario described you'll have to connect the ALB to a Virtual Node first which can then point to the Virtual Router. A Virtual Router isn't an actual router and is just an abstraction. A Virtual Router needs a source and target Virtual Node to route traffic. In App Mesh, the actual routing of traffic within the mesh is performed by the Envoy proxies that are associated with your source and target Virtual Nodes. Right now, we do not support ALBs as source Virtual Nodes. Our ColorApp example covers a similar scenario where the ALB connects to the |
Thanks for clearing it up. Do you mind if we continue? I might be not the only person excited AND having doubts about App Mesh. Lets say I have Virtual Service To add an ALB into the mix I have to add a gateway service as Virtual Node whose only job is passing the traffic further, to the "gateway" Virtual Router( Can you connect Virtual Router to another Virtual Router? If not, my Am I getting this right? Also, is there any high performant and HA service I'd run on the edge Virtual Node that could just pass the traffic further? Is Or maybe I am fighting with a "framework" (well, with AWS) and my use case (canary deployments for internal and external traffic at the same time) is just wrong and can't be done properly yet? |
@spaszek What you require is having a You can use any proxy like |
Great, thank you very much for your detailed answers! |
We've had a couple walkthroughs for this for both ECS and Kubernetes, so resolving. https://github.com/aws/aws-app-mesh-examples/tree/master/walkthroughs/howto-alb |
Create a new example tutorial that focuses just on when and where to use ALB/NLB with AWS App Mesh.
The text was updated successfully, but these errors were encountered: