Service bindings
Call another deployment on the same node over loopback, without going over the public internet.
Configuration
"services": [{ "binding": "PEER", "service": "quote-service" }]
Usage
const res = env.PEER.fetch(new Request("https://peer/random"));
The call reaches the node’s edge on loopback with the target’s hostname, so it reuses routing, the process pool, and the logs. It is not egress, so the outbound allowlist does not apply.
Constraints
Related
- Outbound fetch — the egress path for calls that leave the node