You can now use the AWS Cloud Map service registry selectors with AWS App Mesh. This new option allows you to define a subset of endpoints (through matching on key and value selectors) that were defined in Cloud Map. You simply change your App Mesh VirtualNode configuration to use Cloud Map, add the selectors for the subset of service endpoints you want the VirtualNode to represent and register your running service (IP addresses and metadata) with the corresponding Cloud Map Service name and Namespace and keys and value metadata. When routing traffic to that Virtual Node, App Mesh will route to the endpoints that match the CloudMap key and value selectors you configured.
%d bloggers like this: