Skip to main content

Upstream Reference

An Upstream declares a service that an API Instance can route to when that service is not a plain service of the environment, typically a service outside the platform.

Rationale: Why upstreams exist.

Create an upstream​

Open API Manager, go to Upstreams, then create one.

Target types​

An upstream points at one destination. How you designate it depends on where the service runs.

TargetWhat you giveExample
Host nameOne or several public host names, each with its portapi.partner.com:443
IP addressOne or several public IP addresses, each with its port203.0.113.10:8443
Platform serviceA service of the platform, chosen by name—

Connection options​

These options tune how the gateway connects to the destination. The defaults suit a plain HTTP service; an HTTPS destination needs TLS turned on.

OptionWhat it doesDefault
TLSThe gateway speaks TLS to the upstream. Not asked for a platform service.On
Application ProtocolOnly when the upstream does not speak HTTP/1.1: HTTP/2 cleartext, WebSocket, or WebSocket over TLS.—
What an upstream may point at

An upstream points at public host names and public addresses, or at a service of the platform chosen by name. Addresses inside the platform cannot be typed in by hand.

Reference an upstream from an API instance​

When creating an API instance, choose the upstream as its Backend Service. The upstream comes with its own ports: none is asked for on the API.

How the gateway negotiates TLS with upstreams (the versions allowed, and the certificate it presents to an upstream that requires one) is set with the Backend TLS setting. The certificate is a stored configuration of the kind TLS Certificate.