In this article

Help us make these docs great!

All docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Standard Web Protocols facilitates the communication for common protocols such as HTTP, WebSocket, TLS with the help of Link Injection between the dependent deployments

Link injection is the mechanism relies on for composition features corresponding to exposed network endpoints.

For instance, if you have a deployment P running on that exposes a network endpoint defined as SAMPLE_ENDPOINT with the URL address: the platform can use the above URL to determine the corresponding HOST and PORT values as follows:

  • HOST:
  • PORT: 443 can now make this information available to any other resource it manages like deployments.

Consider another deployment, for instance, C such that the user deploying C selects P as a dependent deployment. To link deployments a parent-child, the relationship is established between deployments P (the parent) and C (the child). will make exposed endpoint information available to C (the child) by constructing and injecting environment variables corresponding to each endpoint exposed by P (the parent) using the following rule.


Drawing from the aforementioned example this would correspond to following environment variables and their corresponding values:

The developer of the package running in C can now access these environment variables in code.

For example, the developer would access the value of the SAMPLE_ENDPOINT in a Python application using

import os

Self Injection injects network endpoints as environment variables during the deployment phase.

Suppose that a package defines a network endpoint, SAMPLE_INTERFACE_POINT, which is externally exposed. The port and target port are set to 443 and 5000, respectively. When the package is deployed, injects SAMPLE_INTERFACE_POINT as an environment variable. You can access all of the environment variables in a deployment via the Shell Access option.

Example network endpoint

Click on Shell Access > SSH to open a Linux terminal of the deployment. Enter the following commands the network endpoint, its host URL address, and port.


Network endpoint