Deployment guide

Conduit data streaming

Overview

Conduit is an open-source data streaming engine that moves data in real time between data stores and message systems. It connects sources and destinations, such as Apache Kafka, PostgreSQL, Amazon S3 and files, into declarative pipelines that stream change data continuously. It has built-in connectors and processors and needs no JVM.

Conduit exposes an HTTP REST API and an interactive OpenAPI/Swagger web UI, so you can create, start, inspect and monitor pipelines and connectors from the browser or from your own automation. It is a single Go binary managed by systemd, so it stays lightweight and starts instantly.

This SecureAnyCloud image installs Conduit 0.17.0 from the pinned upstream release, with its checksum verified. Because the Conduit API and UI have no built-in authentication, the image is secure by default: both Conduit APIs are bound to loopback only, and nginx fronts the HTTP API and UI on port 80 behind an HTTP Basic Auth gate. The gate password is generated at random on the first boot of every VM, so no shared or default credential is baked into the image.

A fully self-contained demo pipeline generates sample records and logs them locally. The engine is processing records on first boot, with nothing leaving the VM. You replace the demo pipeline with your own whenever you are ready.

What you get:

  • Conduit 0.17.0 single Go binary (/usr/local/bin/conduit), installed from the pinned upstream release with its SHA256 verified
  • conduit.service running as the dedicated conduit user, with the HTTP API and Swagger UI bound to loopback 127.0.0.1:8080 and the gRPC API to 127.0.0.1:8084
  • nginx.service reverse proxy on TCP 80 with a per-VM HTTP Basic Auth gate (user admin), ready for TLS
  • conduit-data-streaming-firstboot.service generating the per-VM password on first boot and resolving this VM's URL into the MOTD and a root-only info note
  • An unauthenticated static /healthz endpoint for load balancer and probe checks
  • A self-contained demo pipeline in /etc/conduit/pipelines/demo.yaml so the engine is running and producing records out of the box
  • Pipeline state held in a dedicated data directory /var/lib/conduit
  • Ubuntu 24.04 LTS base, latest patches, unattended security upgrades enabled

Prerequisites

You need an active Azure subscription, an SSH key, and a VNet with a subnet.

The recommended VM size is Standard_B2s. Conduit is light enough for the demo pipeline. Choose a larger size for heavier streaming workloads.

1

Deploy from the Azure Portal

Search the Azure Marketplace for Conduit, choose the plan, and create the VM.

In the networking step, attach a network security group (NSG) that allows inbound TCP 22 (SSH) and TCP 80 (the API and UI, behind HTTP Basic Auth) from your client networks only. For production, put a TLS reverse proxy or certificate in front of port 80.

2

Deploy from the Azure CLI

Run the following to create the network, accept the Marketplace terms and create the VM. Replace the angle-bracket value with your management network CIDR.

RG="conduit-prod"; LOCATION="eastus"; VM_NAME="conduit-01" IMAGE_URN="sac1647283583153:conduit-data-streaming-ubuntu-24-04:default:latest" SSH_KEY="$(cat ~/.ssh/id_rsa.pub)" az group create --name "$RG" --location "$LOCATION" az network vnet create -g "$RG" --name cdt-vnet --address-prefix 10.109.0.0/16 --subnet-name cdt-subnet --subnet-prefix 10.109.1.0/24 az network nsg create -g "$RG" --name cdt-nsg az network nsg rule create -g "$RG" --nsg-name cdt-nsg --name allow-ssh --priority 100 \
  --source-address-prefixes "<your-mgmt-cidr>" --destination-port-ranges 22 --access Allow --protocol Tcp az network nsg rule create -g "$RG" --nsg-name cdt-nsg --name allow-web --priority 110 \
  --source-address-prefixes "<your-mgmt-cidr>" --destination-port-ranges 80 --access Allow --protocol Tcp
# Accept the Marketplace terms once per subscription (required before the first CLI deploy)
az vm image terms accept --urn sac1647283583153:conduit-data-streaming-ubuntu-24-04:default:latest
az vm create -g "$RG" --name "$VM_NAME" --image "$IMAGE_URN" \
  --size Standard_B2s --storage-sku StandardSSD_LRS \
  --admin-username azureuser --ssh-key-values "$SSH_KEY" \
  --vnet-name cdt-vnet --subnet cdt-subnet --nsg cdt-nsg --public-ip-sku Standard
3

Connect via SSH

Connect to the VM as azureuser:

ssh azureuser@<vm-ip>

conduit.service, nginx.service and conduit-data-streaming-firstboot.service all start automatically on first boot.

4

Retrieve the per-VM password

On first boot, the appliance generates a random HTTP Basic Auth password for user admin, unique to this VM, and writes it to a root-only file. There is no shared or default credential in the image. Read the file over SSH:

sudo cat /root/conduit-data-streaming-credentials.txt

The file holds this VM's URL, username and password:

CONDUIT_URL=http://<vm-ip>/ CONDUIT_USERNAME=admin CONDUIT_PASSWORD=<unique-per-vm-password>

Keep this password safe. It is the only credential for the API and web UI, and every VM gets a different one.

5

Verify the services

Check that the services are active, that first boot has finished, and which ports are listening:

sudo systemctl is-active conduit nginx conduit-data-streaming-firstboot
sudo test -f /var/lib/sac/data/conduit-data-streaming-firstboot.done && echo FIRSTBOOT_DONE
sudo ss -tlnp | grep -E ':80 |:8080 |:8084 '

Expect all three services to be active. nginx is bound to the public port 80, and the Conduit APIs are bound to loopback 127.0.0.1:8080 and 127.0.0.1:8084 only:

active active active FIRSTBOOT_DONE LISTEN 0 4096 127.0.0.1:8080 0.0.0.0:* users:(("conduit",...)) LISTEN 0 4096 127.0.0.1:8084 0.0.0.0:* users:(("conduit",...)) LISTEN 0 511 0.0.0.0:80 0.0.0.0:* users:(("nginx",...))
6

Secure by default: the auth gate

The Conduit API and UI have no built-in login, so nginx fronts them with an HTTP Basic Auth gate. An unauthenticated /healthz is available for load balancer probes, but the API and UI are gated. Requests with no credentials or a wrong password are rejected with 401, and only the per-VM password is accepted.

Read your password from the file and test the gate:

PW=$(sudo grep '^CONDUIT_PASSWORD=' /root/conduit-data-streaming-credentials.txt | cut -d= -f2-)
curl -s -o /dev/null -w 'GET /healthz (unauth) -> HTTP %{http_code}\n' http://127.0.0.1/healthz
curl -s -o /dev/null -w 'GET /v1/pipelines (no cred) -> HTTP %{http_code}\n' http://127.0.0.1/v1/pipelines
curl -s -o /dev/null -w 'GET /v1/pipelines (wrong pw) -> HTTP %{http_code}\n' -u admin:wrong http://127.0.0.1/v1/pipelines
curl -s -o /dev/null -w 'GET /v1/pipelines (per-VM pw) -> HTTP %{http_code}\n' -u "admin:$PW" http://127.0.0.1/v1/pipelines

The health probe is open, the API is gated, a wrong password is rejected, and the per-VM password authenticates:

GET /healthz (unauth) -> HTTP 200 GET /v1/pipelines (no cred) -> HTTP 401 GET /v1/pipelines (wrong pw) -> HTTP 401 GET /v1/pipelines (per-VM pw) -> HTTP 200
7

Open the Swagger web UI

Open http://<vm-ip>/openapi/ in a browser and sign in as admin with the password from Step 4.

Conduit serves an interactive OpenAPI/Swagger UI that documents every endpoint of the HTTP API. You can call the API directly from the browser to list pipelines and connectors, create and start pipelines, and inspect the running engine.

8

Inspect the pipelines endpoint

Expand GET /v1/pipelines in the Pipelines service. Swagger UI shows the operation's parameters and response schema.

Click Try it out, then Execute, to call the live API from the browser.

9

See the live demo pipeline

The response from Execute shows the running demo pipeline, demo-generator-to-log. Its state is STATUS_RUNNING and its two connectors are listed.

This is the self-contained generator-to-log pipeline that ships in the image. It shows that the engine is streaming records out of the box.

10

Inspect the connectors

Expand GET /v1/connectors and execute it the same way. It lists the demo pipeline's connectors: a builtin:generator source that produces sample records, and a builtin:log destination that logs them locally.

Each connector shows its plugin, type and settings.

11

Check the pipeline through the API

Everything the UI shows is available as JSON from the HTTP API, so you can wire Conduit's state into your own tooling. Read your password from the file and query the pipelines:

PW=$(sudo grep '^CONDUIT_PASSWORD=' /root/conduit-data-streaming-credentials.txt | cut -d= -f2-)
curl -s -u "admin:$PW" http://127.0.0.1/v1/pipelines \
  | jq '[.[] | {id: .id, status: .state.status, connectors: .connectorIds}]'

The demo pipeline reports as running with its two connectors:

[ { "id": "demo-generator-to-log", "status": "STATUS_RUNNING", "connectors": [ "demo-generator-to-log:source-generator", "demo-generator-to-log:destination-log" ] } ]
12

Review the demo pipeline config

The demo pipeline is defined in one declarative file, /etc/conduit/pipelines/demo.yaml. Check the Conduit version and view the config:

conduit version cat /etc/conduit/pipelines/demo.yaml

The config wires a builtin:generator source to a builtin:log destination:

v0.17.0 linux/amd64 version: 2.2 pipelines: - id: demo-generator-to-log status: running ... connectors: - id: source-generator type: source plugin: builtin:generator ... - id: destination-log type: destination plugin: builtin:log
13

Customize the pipeline

Replace the demo pipeline with your own. Add or edit a pipeline file under /etc/conduit/pipelines/. This example streams from a Postgres source to a Kafka destination:

version: 2.2 pipelines: - id: pg-to-kafka status: running connectors: - id: source-pg type: source plugin: builtin:postgres settings: url: "postgres://user:pass@db-host:5432/mydb?sslmode=require" tables: "public.orders" - id: dest-kafka type: destination plugin: builtin:kafka settings: servers: "broker:9092" topic: "orders"

Apply your changes with sudo systemctl restart conduit. Conduit provisions the pipelines from the files on start.

The full connector and processor reference is at conduit.io/docs.

14

Manage the service

Conduit is managed by systemd, so it restarts automatically on failure and on boot. Check its state:

sudo systemctl show conduit --property=ActiveState,SubState,MainPID,NRestarts

A healthy service reports:

ActiveState=active SubState=running MainPID=... NRestarts=0

Restart it after editing your pipelines with sudo systemctl restart conduit. Read the logs, including the demo pipeline's record output, with sudo journalctl -u conduit -f.

15

Add TLS (optional)

For production, terminate TLS at nginx. Point a DNS record at the VM, then use the packaged nginx with a certificate from Let's Encrypt:

sudo apt-get install -y certbot python3-certbot-nginx
sudo certbot --nginx -d <your-domain>

certbot installs the certificate, rewrites the nginx server block to listen on 443, and sets up automatic renewal. The HTTP Basic Auth gate stays in front of the API and UI over TLS.

16

Security recommendations

  • Restrict the NSG. Let ports 80 and 22 reach trusted networks only.
  • Terminate TLS. Terminate TLS at nginx (Step 15) so the API, UI and Basic Auth credentials travel encrypted.
  • Rotate the Basic Auth password. If needed, regenerate /etc/nginx/.conduit.htpasswd with sudo htpasswd -B /etc/nginx/.conduit.htpasswd admin and reload nginx.
  • Keep the API private. The Conduit API can create, start and stop pipelines, so treat access as privileged even behind Basic Auth.
  • Review your connectors. Make sure data flows only to the sources and destinations you intend, and keep connector credentials in the pipeline settings secured.
  • Patch the OS monthly. Run sudo apt-get update && sudo apt-get upgrade. Unattended security upgrades are already enabled.
17

Support and licensing

Conduit is licensed under the Apache License 2.0, with no per-CPU or per-user fee. SecureAnyCloud provides commercial support separately.

  • Email: sales@secureanycloud.com
  • Website: secureanycloud.com
  • Support hours: 24/7, 24h response SLA

Deploy on Azure

Launch Conduit on Ubuntu 24.04 with 24/7 support from SecureAnyCloud.

View on Marketplace

Need Help?

Our support team is available 24/7. sales@secureanycloud.com

Deploy on Azure

Launch Conduit on Ubuntu 24.04 LTS on Azure with 24/7 support from SecureAnyCloud.

View this image

Need Help?

Our support team is available 24/7.

sales@secureanycloud.com

Deploy on Azure