I am researching multi datacenter setups with Cluster Peering and hub-and-spokes topology.
I don’t understand if hub-and-spokes topology allows communication between two (or more) spokes via the hub. Is that possible? Judging by how a star network would work, I’d like to believe it is.
I’m reading here Federated Network Areas (Enterprise) | Consul | HashiCorp Developer that spokes should not communicate with each other.
And here Federate multiple datacenters with network areas | Consul | HashiCorp Developer that what I need might be done with Consul Enterprise, but with WAN federation.
Hi @pavelnenov, are you asking in the context of Consul for service discovery or service mesh?
Network areas allows multiple data centers to federate through a central hub when using Consul for service discovery.
When Consul for service mesh, Consul does not support hubs to act as a transit between spokes. Spokes need to directly peer in order to exchange service catalog information and they need direct IP connectivity between the mesh gateways in order to facilitate service-to-service communication over the mesh.