Skip to content

Outbound connections

explanationsecurity-outbound-connections

See which external services Platforma connects to and what it sends to MiLaboratories.

Platforma needs only a few external services, and the operatoroperator — The person who installs and runs Platforma in your company, for example an IT engineer or a bioinformatician. Glossary can replace most of them with mirrors in the corporate network. Only the license service cannot have a mirror. Users can also add Block registriesBlock registry — A service from which the Desktop App downloads Blocks. MiLaboratories runs the main one; a company can add its own. Glossary of other developers in the Desktop AppDesktop App — The program that each user installs on their own computer to work with Platforma. It is a client of the Backend. Glossary; such a registry becomes trusted by the choice of the user.

These services are used at run time. The connections to the services of MiLaboratories and to the public registries use HTTPS on TCP port 443; the company sets the ports of its own services:

The column “Through TLS inspection” says whether the connection works through a proxy that inspects TLS. Such a proxy signs each HTTPS connection again with a certificate authority of your company. “Yes” means that the connection works when the part that connects trusts this certificate authority. For how each part trusts it, see TLS inspection.

Service Host Who connects Needed Through TLS inspection
License service licensing-api.milaboratories.com BackendBackend — The server program of Platforma. It keeps the projects, runs the Blocks and starts jobs. Glossary; jobsjob — One run of a tool on data. The Backend starts jobs on the server where it runs, or in a Kubernetes cluster. Glossary of tools that check their license, such as MiXCR Required, no mirror Backend: yes. Jobs of these tools: no; exclude this host from the inspection
Assets registryassets registry — A service from which the Backend downloads the assets that Blocks need, for example reference genomes. The default is bin.pl-open.science, the same host as the software registry; a mirror replaces it with its own URL. Glossary bin.pl-open.science, or bin-ga.pl-open.science in the restricted network mode Backend Required, or a mirror Yes
Software registrysoftware registry — A service from which the Backend downloads the software packages of the tools that Blocks use. Only Single Server mode without Docker uses it; in a Kubernetes cluster and with Docker, the tools come as container images. Glossary The same hosts as the assets registry Backend, in Single Server modeSingle Server mode — The mode in which the Backend and all its jobs run on one Linux machine, the server, with no Kubernetes cluster. Glossary when the jobs run without Docker Required in this mode, or a mirror Yes
Block registry blocks.pl-open.science, or blocks-ga.pl-open.science when the first host is not available (Desktop App) or in the restricted network mode (Backend) Desktop App: the BlocksBlock — A small application for one step of an analysis, for example the import of reads or clustering. It can combine several tools. Glossary. Backend: the workflowworkflow — The part of a Block that runs in the Backend. It starts the tools on the data and collects the results. Users do not edit it. Glossary template packs of the Blocks Required, or a mirror for both Yes
Container images of tools, the AppWrapperAppWrapper — A Kubernetes add-on that wraps the pods of one job into a single unit, so that Kueue admits and starts them together. Glossary controller, the cleanup job, the GPU node startup image (AWS) and the workspaceworkspace — The storage where the Backend and all jobs keep the working files of running jobs. The Backend and the jobs use it at the same time. In Kubernetes, it is a network file system; in Single Server mode, it is a folder on the server. Glossary init image (Google Cloud) containers.pl-open.science Cluster nodes, or the server with Docker Required, or a mirror Yes, when the nodes or Docker trust the certificate authority
Hosts behind containers.pl-open.science quay.io and the content delivery hosts of quay.io, for example cdn01.quay.io Cluster nodes, or the server with Docker When there is no mirror: containers.pl-open.science forwards the requests to quay.io, and the image layers come from a cdn*.quay.io host Yes, when the nodes or Docker trust the certificate authority
Image of the Backend quay.io and the content delivery hosts of quay.io, for example cdn01.quay.io Cluster nodes Required, or a mirror Yes, when the nodes trust the certificate authority
Images of the queue components for jobs (KueueKueue — A Kubernetes add-on that holds jobs in a queue until the cluster has free CPU, memory and GPU for them. Glossary) registry.k8s.io Cluster nodes Required, or a mirror Yes, when the nodes trust the certificate authority
Images of the cluster add-ons, on AWS only public.ecr.aws, registry.k8s.io, nvcr.io Cluster nodes Required, or the operator installs the add-ons from the mirrors of the company Yes, when the nodes trust the certificate authority
Monitoring service: usage records mon.pl-open.science Backend, in a KubernetesKubernetes — A system that runs programs on a group of machines (a cluster). Platforma can run in a Kubernetes cluster. Glossary cluster only When the license allows the records (all licenses do); Platforma does not depend on them: it works when they cannot be sent. The operator chooses where they go, also to an address that does not accept them (see Usage records). Yes
Updates of the Desktop App cdn-ga.platforma.bio Desktop App Optional Yes, on Windows and macOS
Support chat intercom-api.platforma.bio (the Desktop App sends the license key), then help.platforma.bio Desktop App Only when users open the help Yes
Corporate identity provider (SSOsingle sign-on — Sign-in through the identity service of the company, with the same account as for other company systems. Glossary) Your company Desktop App, in the browser; Backend With SSO Yes
Corporate LDAPLDAP — The directory of users of a company. The Backend can check logins and passwords in it. Glossary directory Your company Backend With LDAP The Backend connects directly, not through the proxy
Corporate cloud storage Your company Desktop App, Backend Required Yes

The cluster nodes use the image registries at run time too, not only at installation: a node pulls an image again when a pod starts on a new node.

These services are used only when the operator installs, upgrades or changes the settings of Platforma in a Kubernetes cluster. They also use HTTPS on TCP port 443. Through TLS inspection, they work when the computer or the pipeline that runs Terraform or Helm trusts the certificate authority of your company.

Service Host Who connects Needed
Terraform modulesTerraform modules — The Terraform code that MiLaboratories provides to install Platforma. The cloud-specific Terraform modules make the cluster and its cloud parts in AWS or Google Cloud; the cloud-agnostic Terraform modules install Platforma into the cluster. Glossary github.com (the repository milaboratory/platforma-install) The computer or the pipeline that runs Terraform With the Terraform modules, or a copy of the repository
Helm charts of the Backend and AppWrapper ghcr.io/milaboratory/platforma-install The computer or the pipeline that installs Platforma Required, or a mirror, or the folder helm/charts of a copy of the repository platforma-install
Helm chart of the AWS installer ghcr.io/milaboratory/platforma-helm The installer, in the AWS account With the AWS installer, or a mirror
Helm chart of Kueue registry.k8s.io The computer or the pipeline that installs Platforma Required, or a mirror
Helm charts of the cluster add-ons, on AWS only aws.github.io/eks-charts, kubernetes.github.io/autoscaler, kubernetes-sigs.github.io, nvidia.github.io The computer or the pipeline that installs Platforma Required on AWS, or a mirror

The restricted network mode is for a network that has only limited access to the internet: the Backend then uses the -ga hosts of the registries.

The Desktop App does not send any error reports or telemetry. When a problem occurs, users can save a report to a file and send it to support.

For the license check, see License check. For a proxy and the certificate authority of your company, see Proxy and corporate certificate authority.

The list covers Platforma itself. For the network access of tools in jobs, see Sandboxes for Block code.

License check

How the Backend checks the license The Backend checks the license every 10 minutes. When the license is not valid, the Backend does not start new jobs. valid answer license not valid Check every 10 minutes No new jobs
The Backend checks the license every 10 minutes. When the license is not valid, the Backend does not start new jobs.

The Backend checks the license with the license service of MiLaboratories every 10 minutes. The Backend sends only the license key (the key itself). The license service signs each answer, and the Backend checks the signature, so a proxy or another service cannot give or change a license.

When the license is not valid, the Backend starts but does not start new jobs. Jobs that already run usually run to the end. For the details, see When the license is not valid.

Usage records

In a Kubernetes cluster, the Backend sends usage records when the license allows it: for each job attempt, it sends one usage record to the monitoring service of MiLaboratories. All contract types allow the records. In Single Server mode, the Backend does not send usage records. Platforma does not depend on the records: it works when they cannot be sent.

The records help MiLaboratories to give better support and to make Blocks better, cheaper to run and more stable. A record tells which Block ran and which resources it used: it does not hold input data, results, file names or the IDs of users and projects.

Each record is plain JSON in one HTTPS POST to the monitoring service (path /v1/exec_run_record), one request for each job attempt, with no batching. The Backend sends it once, with no retry: when the send fails, the record is lost, and the job continues as before.

A record has these fields:

Field Meaning Example
blockId The ID that the Block author registered in the Block metadata; can be empty The ID from the Block metadata
blockRunId The run of the Block A random ID
blockProjectId A SHA-256 hash of the ID of the Block in its project; the project ID is not sent A 64-character hash
blockPack The Block: its name, organization and version, the address of its Block registry (also a corporate registry) and its type A Block name, an organization, a version and the address of the registry
runId, jobId, attempt, subAttempt The run, the job and the number of the attempt attempt: 0 for the first attempt
startedAt When the job attempt started A timestamp
instanceId An anonymous ID of the installation A random ID
customerId The client ID of the license The ID from the license
execId The job name and the command with a hash of the arguments, at most 100 characters; argument values are not in it A job name and a command, with a hash in place of the arguments
tags Labels of the run; empty Empty
result Success or failure fail
failDetails The reason from a fixed list (GPUMissed, OOM, WorkdirOutOfSpace, ScratchOutOfSpace, TimeIsUp, Unallocated, InfraError, SoftwareError, UnknownError, Cancelled), the exit code and the timeout OOM, exit code 137
Required and granted resources CPU, RAM, GPU memory, disk space and time limit, rounded 8 CPU, 32 GiB RAM
queue The job queue The name of the queue
cpu, ram, vram, diskIo The peak and a time series of the used values Peak RAM 28 GiB
duration How long the attempt ran 15 minutes
metrics, formula Sent as empty objects Empty

The Backend sends nothing else to the monitoring service: no error reports and no other events.

The operator chooses where the records go:

  • to MiLaboratories (the default, which MiLaboratories recommends);
  • to a proxy of the company that shows exactly what goes out;
  • to an address that does not accept them, so that the records do not leave the company.

See Usage records.

Proxy and corporate certificate authority

Platforma can work in a network that has access to the internet only through a proxy. The Backend reads the standard proxy settings, and the operator lists the addresses that must bypass the proxy: the addresses inside the cluster and the cloud metadata address (169.254.169.254).

The Desktop App uses the proxy settings of the computer by default, and users can set another proxy in the Desktop App.

In Kubernetes, the corporate proxy or the services of your company can use certificates of the certificate authority of your company. Then the operator can give Platforma one bundle with the public certificate authorities and the corporate one: the Backend and all jobs read this bundle.

Behind a proxy that inspects TLS, each part of Platforma must trust the corporate certificate authority. The Backend, the jobs, the clients and the cluster nodes each do it in their own way. The jobs of tools that check their license need the license service excluded from the inspection. See TLS inspection.

Next