mait.sh1.132.1

Private beta: features and content may change. No warranty; use at your own risk.

VaaS Server workflows

Three things you do with the relay, from pairing two applications to ending a session and upgrading it, each with the commands and what to check.

Beta
Pairing

Pair two applications

Two applications behind separate firewalls need to exchange messages, and neither can accept an inbound connection.

You runNothing on the relay. Each application connects to wss://relay.example.com:9443/ws with the server trust file and its own credential that may connect, and the same fresh token.

Sessions

Find and end a session

A pairing looks stuck, or an application must be cut off.

You runA session list, then a drop with the token you recognise.

List and drop
$ curl --cacert server-trust.pem --cert client.pem --key client.pem \
$ https://relay.example.com:9443/api/v1/sessions
$ curl --cacert server-trust.pem --cert client.pem --key client.pem -X DELETE \
$ https://relay.example.com:9443/api/v1/sessions/<token>
Upgrade

Upgrade or move the relay

A new version is available, or the relay must move to another host.

You runFor a container, pull the new image, remove the old container and run the same command with the same volumes and environment file. On Kubernetes, change image.tag and run helm upgrade.

Next

Where to go next.