Distributed services across the network from edge to core