Skip to content
On this page
DRAFT

Get Bondy

There are several ways to get Bondy up and running. The fastest one is using the official Docker images, but you can also compile Bondy from source depending on your deployment scenarios and needs.

Installation options

Choose what is the best installation option for you.

Install from Source

Install using Docker

Install using Kubernetes

Prerequisites

  • Docker
  • Kubernetes

Steps

Bondy provides a Peer Discovery feature which enables a Bondy node to discover other nodes using a defined discovery type and form a cluster automatically. This is very handy when deploying using orchestration technologies like Kubernetes.

Check this example K8s manifest.

In the example bondy.conf file you will find the following snippet that enables Peer Discovery and uses bondy_peer_discovery_dns_agent as type.

cluster.parallelism = 2
cluster.peer_port = ${BONDY_CLUSTER_PEER_PORT}
cluster.peer_discovery.enabled = on
cluster.peer_discovery.automatic_join = on
cluster.peer_discovery.polling_interval = 10s
cluster.peer_discovery.timeout = 5s
cluster.peer_discovery.type = bondy_peer_discovery_dns_agent
cluster.peer_discovery.config.service_name = ${BONDY_SERVICE_NAME}
cluster.tls.enabled = off
1
2
3
4
5
6
7
8
9

For more information about this options check the Complete Configuration Reference section.

Default Port Numbers

Regardless of the installation method, Bondy exposes the following ports by default:

ListenerPort
WAMP WS18080
WAMP WSS18083
WAMP RAW SOCKET TCP18082
WAMP RAW SOCKET TLS18085
API GATEWAY HTTP18080
API GATEWAY HTTPS18083
ADMIN API HTTP18081
ADMIN API HTTPS18084
CLUSTER PEER SERVICE18086

If you want to change those port numbers checkout the Configuration Reference.

Notice

The Websocket (WS) listeners at the moment are the same used for HTTP traffic. This will change in future versions.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike (CC-BY-SA) 4.0 International license.
Bondy and Leapsight are registered trademarks.