ExitAmazon ECS: Service Connect communication1 / 9
Explanation

A namespace groups services; a role exposes endpoints

How Service Connect configures proxy-mediated communication between ECS services through namespaces, endpoint discovery, and observable connections. · advanced

Service Connect builds service discovery and a service mesh through ECS configuration. It only interconnects services, using automatic discovery through short names and standard ports. Its AWS Cloud Map namespace logically groups communicating tasks; the Cloud Map namespace type does not affect Service Connect.

Each ECS service belongs to only one namespace, in the same Region as its service and cluster. Services in that namespace can span clusters in that Region. A shared namespace can also span the namespace owner's and consumers' accounts. A client service discovers namespace endpoints through its proxy; a client-server service additionally configures at least one endpoint through which its tasks are reachable.

Keep the connectivity choices distinct: ECS DNS service discovery uses Route 53 to create a namespace discoverable through DNS. VPC Lattice connects, secures, and monitors services across accounts and VPCs. Those descriptions are not the Service Connect model of ECS-configured proxies and namespace endpoints.

Service configurationRequired configurationCommunication role
ClientNamespaceDiscover and connect through proxy
Client-serverNamespace and endpointExpose reachable task endpoints

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.