Akvorado on Ubuntu 26.04 on Azure User Guide
Overview
Akvorado is an open source network flow collector, enricher and visualizer. It receives flows exported by your routers, switches and firewalls over NetFlow, IPFIX and sFlow, enriches each flow with metadata such as source and destination AS number, country and interface names, stores the result in a ClickHouse database, and lets you explore it in a web console: traffic broken down by protocol, port, AS, country, exporter and interface, as stacked areas, lines or Sankey diagrams.
The cloudimg image delivers Akvorado 2026.10.1 fully installed on Ubuntu 26.04 LTS: the stock upstream Akvorado container images (inlet, outlet, orchestrator and console) with a ClickHouse flow store, an Apache Kafka buffer and a Valkey cache, run by Docker Compose under systemd, with every image preloaded so nothing is downloaded when your VM boots. Akvorado's console has no login of its own, so cloudimg puts it behind nginx over HTTPS with a password made on the first boot of your VM and a self-signed certificate made for your VM's address. cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours.
What is included:
- Akvorado 2026.10.1 (stock upstream
quay.io/akvorado/akvoradoimage, pinned), run byakvorado.servicethrough Docker Compose - ClickHouse 26.8, Apache Kafka 4.3.1 and Valkey 9.1, reachable only inside the VM
- nginx on 443 in front of the console (which listens on
127.0.0.1:8080only), with port 80 serving/healthzand a redirect to HTTPS - Flow listeners on UDP 2055 (NetFlow), UDP 4739 (IPFIX) and UDP 6343 (sFlow), and BMP on TCP 10179; the offer opens none of these in your network security group
- Akvorado's own demo exporter as a compose service that is off until you start it
- Docker 29.1 and Docker Compose 2.40 from Ubuntu's own archive, with Ubuntu's unattended security upgrades left on

Prerequisites
An active Azure subscription, an SSH key pair, and a VNet plus subnet in the target region. Standard_B2s (2 vCPU / 4 GiB RAM) is enough to start and to try the console; Akvorado's memory needs grow with flow volume, so choose a larger size for busy collectors. NSG inbound: allow 22/tcp from your management network and 443/tcp (HTTPS) plus 80/tcp (which redirects to HTTPS) from the people who use the console. The flow ports are opened later, to your routers only (Step 9).
Step 1 — Deploy from the Azure Marketplace
Sign in to the Azure Portal, choose Create a resource, search the Marketplace for Akvorado by cloudimg, and select Create. On Basics pick your subscription, resource group, region and size; under Administrator account choose SSH public key and paste your key; under Inbound port rules allow SSH (22), HTTP (80) and HTTPS (443). Then Review + create and Create.
Step 2 — Deploy from the Azure CLI
# Accept the Marketplace terms once per subscription (required before the first CLI deploy)
az vm image terms accept --urn cloudimg1647283583153:akvorado-ubuntu-26-04:default:latest
az vm create \
--resource-group <your-rg> \
--name akvorado \
--image cloudimg1647283583153:akvorado-ubuntu-26-04:default:latest \
--size Standard_B2s \
--admin-username azureuser \
--generate-ssh-keys \
--public-ip-sku Standard
Open HTTPS (and HTTP, which redirects) to reach the console:
az vm open-port --resource-group <your-rg> --name akvorado --port 443 --priority 900
az vm open-port --resource-group <your-rg> --name akvorado --port 80 --priority 910
Do not use az vm open-port for the flow ports: it opens a port to any address on the internet. Step 9 opens them to your routers only.
Step 3 — Connect to your VM
ssh azureuser@<vm-public-ip>
The address is on the VM's Overview page in the portal, or from the CLI with az vm show -d -g <your-rg> -n akvorado --query publicIps -o tsv.
Step 4 — Confirm the services are running
First boot takes a few minutes: it makes the console password and the certificate, then starts the seven containers and waits until each one reports healthy. Check the systemd units, the containers and the listeners:
systemctl is-active docker.service nginx.service akvorado-firstboot.service akvorado.service
sudo docker compose -f /opt/akvorado/docker-compose.yaml ps --format 'table {{.Service}}\t{{.Image}}\t{{.Status}}'
sudo ss -lntu | awk 'NR==1 || /:(22|80|443|2055|4739|6343|8080|10179) /' | awk '{print $1, $5}'
All four units are active and all seven containers are Up ... (healthy). The console listens on 127.0.0.1:8080 only; nginx serves it on 443. The flow ports and BMP listen on the VM's own interfaces, and your network security group decides who can reach them.

/opt/akvorado is readable by root only, so every docker compose command in this guide runs with sudo and names the compose file with -f.
Step 5 — Retrieve the console password
The password is made on the first boot of your VM and written to a file only root can read:
sudo cat /root/akvorado-credentials.txt
AKVORADO_URL=https://<vm-public-ip>/
AKVORADO_CONSOLE_USER=admin
AKVORADO_CONSOLE_PASSWORD=<the password made for this VM>

Step 6 — Confirm the HTTPS front door
Plain HTTP answers only the health probe and a redirect; HTTPS refuses a request without the password and accepts the one from the credentials file. The certificate names your VM's address:
curl -s -o /dev/null -w 'health=%{http_code}\n' http://127.0.0.1/healthz
curl -s -o /dev/null -w 'http=%{http_code} -> %{redirect_url}\n' http://127.0.0.1/
curl -sk -o /dev/null -w 'https no password=%{http_code}\n' https://127.0.0.1/
PW=$(sudo grep '^AKVORADO_CONSOLE_PASSWORD=' /root/akvorado-credentials.txt | cut -d= -f2-)
curl -sk -o /dev/null -w 'https with password=%{http_code}\n' -u "admin:$PW" https://127.0.0.1/
sudo openssl x509 -in /etc/nginx/ssl/akvorado.crt -noout -subject -ext subjectAltName -enddate
health=200
http=301 -> https://127.0.0.1/
https no password=401
https with password=200
subject=CN=<VM address>
X509v3 Subject Alternative Name:
IP Address:<VM address>, IP Address:127.0.0.1
notAfter=Nov 30 12:56:41 2036 GMT

Step 7 — Sign in to the console
Open https://<vm-public-ip>/ in a browser. The certificate is self-signed, so the browser shows a warning once: continue past it, or install your own certificate (see Your own domain and certificate). The browser then asks for a username and password: enter admin and the password from the credentials file. The console opens on the Home page, which summarises recent traffic: the flow rate, the exporters seen, the top source AS numbers, ports, protocols and countries, and every field of the last flow received. Until flows arrive it is empty.
Step 8 — Try the console with the demo exporter
Before your routers are pointed at the VM, you can fill the console with sample traffic. Akvorado's demo exporter ships in the image as a compose service that is off by default; it sends flows from documentation and well known networks (Google, Netflix, Amazon and others) to the inlet from inside the VM, so no port needs opening:
sudo docker compose -f /opt/akvorado/docker-compose.yaml --profile demo up -d akvorado-demo
Within a minute the flows are in ClickHouse. Count them, and see the busiest source networks:
sudo docker compose -f /opt/akvorado/docker-compose.yaml exec -T clickhouse clickhouse-client -q "SELECT count() FROM flows"
sudo docker compose -f /opt/akvorado/docker-compose.yaml exec -T clickhouse clickhouse-client -q "SELECT SrcAS, dictGetOrDefault('asns', 'name', SrcAS, '') AS name, count() AS flows, formatReadableSize(sum(Bytes * SamplingRate)) AS bytes FROM flows GROUP BY SrcAS ORDER BY flows DESC LIMIT 5 FORMAT PrettyCompact"

Explore the sample traffic in the console (next section), then stop and remove the demo exporter, so that only your own flows arrive from then on:
sudo docker compose -f /opt/akvorado/docker-compose.yaml --profile demo rm -sf akvorado-demo
Explore traffic
On the Visualize page, set Start to 30 minutes ago, keep the dimension SrcAS and press Apply: Akvorado draws a stacked area time series of traffic per source AS, with a table of each network's minimum, maximum, average and 95th percentile rate below it.

Change Graph type to Lines to compare each network on its own line:

A Sankey diagram needs two dimensions: add InIfProvider (the provider of the interface the traffic came in on) after SrcAS to see which source networks reach you through which transit or peering provider. Swap in DstAS, ExporterName, InIfName or DstPort to answer other questions, and use the Filter box (for example InIfBoundary = external) to narrow the traffic.

Step 9 — Send your own flows, from your routers only
The inlet accepts flows from any address that can reach it, and BMP takes routes from any peer that connects: neither has a password. Open these ports in the VM's network security group to your routers' source addresses only, never to Any, and open only the ones your devices use:
| Protocol | Port |
|---|---|
| NetFlow (v5 / v9) | UDP 2055 |
| IPFIX | UDP 4739 |
| sFlow | UDP 6343 |
| BMP (optional, BGP routing data) | TCP 10179 |
With the Azure CLI, name your exporters' public addresses or prefixes in --source-address-prefixes (the NSG made by az vm create is called <vm-name>NSG):
az network nsg rule create --resource-group <your-rg> --nsg-name akvoradoNSG \
--name flows-from-my-routers --priority 920 --direction Inbound --access Allow \
--protocol Udp --source-address-prefixes <router-ip-1> <router-ip-2> \
--destination-port-ranges 2055 4739 6343
az network nsg rule create --resource-group <your-rg> --nsg-name akvoradoNSG \
--name bmp-from-my-routers --priority 930 --direction Inbound --access Allow \
--protocol Tcp --source-address-prefixes <router-ip-1> <router-ip-2> \
--destination-port-ranges 10179
In the portal the same rule is Networking → Add inbound port rule with Source: IP Addresses and your routers' addresses. Routers that reach the VM over a VPN or ExpressRoute send from their private addresses: name those instead.
Then point each device's flow export at the VM's address on the matching port (for example a NetFlow v9 collector of <vm-address>:2055). The inlet receives the packets, the outlet enriches them and writes them to ClickHouse, and they appear in the console within seconds.
Narrow SNMP polling to your exporters
To name each exporter's interfaces, the outlet polls the exporter over SNMP, with the credentials in the metadata block of /opt/akvorado/config/outlet.yaml. The image keeps Akvorado's default, which polls any exporter with the community public, so enrichment works whatever addresses your routers have:
metadata:
providers:
- type: snmp
credentials:
::/0:
communities: public
Because the outlet polls whatever address a flow names as its exporter, replace ::/0 with your exporters' prefix (and public with your own community) once you know them. For one prefix, for example 203.0.113.0/24:
sudo sed -i 's|^ ::/0:$| 203.0.113.0/24:|' /opt/akvorado/config/outlet.yaml
sudo docker compose -f /opt/akvorado/docker-compose.yaml restart akvorado-orchestrator akvorado-outlet
For several prefixes, edit the file and add one entry per prefix under credentials:, each with its communities: line. The orchestrator serves this file to the outlet, so both restart; they take a few seconds. To confirm what the outlet now uses:
IP=$(sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' akvorado-akvorado-orchestrator-1)
curl -s "http://$IP:8080/api/v0/orchestrator/configuration/outlet" | grep -A3 credentials
credentials:
203.0.113.0/24:
communities:
- public
Interface names already learned stay in the outlet's cache until they expire.
Your own domain and certificate
Point a DNS record (for example flows.example.com) at the VM's public address, then move the certificate and the credentials file to the name in one step:
sudo cloudimg-set-public-address flows.example.com
public address: <VM address> -> flows.example.com
updated /root/akvorado-credentials.txt
akvorado-tls-cert: self-signed certificate for flows.example.com written to /etc/nginx/ssl/akvorado.crt
restarted nginx.service
Run it with no argument to go back to the VM's public IP, and again whenever the VM's address changes. For a browser-trusted certificate, put your certificate chain at /etc/nginx/ssl/akvorado.crt and its key at /etc/nginx/ssl/akvorado.key (mode 0600), then run sudo systemctl reload nginx. A certificate you install yourself is never replaced by the image's tools; to make a fresh self-signed one for another name instead, run sudo akvorado-tls-cert --force <name> and sudo systemctl reload nginx.
Server components
| Component | Version | Where |
|---|---|---|
| Akvorado (inlet, outlet, orchestrator, console) | 2026.10.1 | quay.io/akvorado/akvorado:2026.10.1 |
| ClickHouse | 26.8 | clickhouse/clickhouse-server:26.8 |
| Apache Kafka | 4.3.1 | apache/kafka:4.3.1 |
| Valkey | 9.1 | valkey/valkey:9.1 |
| nginx | Ubuntu 26.04 package | /etc/nginx/sites-available/akvorado |
| Docker and Docker Compose | 29.1 and 2.40, Ubuntu 26.04 packages | docker.service |
The stack is defined in /opt/akvorado/docker-compose.yaml, with Akvorado's configuration in /opt/akvorado/config (akvorado.yaml for the orchestrator, which includes inlet.yaml, outlet.yaml and console.yaml). Flows live in Docker volumes under /var/lib/docker/volumes.
First-boot service and security model
akvorado-firstboot.serviceruns once, on the first boot of your VM. It makes the console password, writes the nginx password file and/root/akvorado-credentials.txt(mode 0600), starts the stack and waits until ClickHouse, its flows table and the console answer, records the VM's public address, makes the certificate for it, and writes/var/lib/cloudimg/akvorado-firstboot.done.- Until that file exists, the console answers
503; no default or shared password ships in the image. akvorado.servicestarts the stack on every later boot.akvorado-swap.serviceadds swap on the VM's temporary resource disk at boot when it has one; no swap is stored in the image.- ClickHouse, Kafka and Valkey are on a Docker network inside the VM with no published port; the console is published on
127.0.0.1:8080only. journalctl -u akvorado-firstbootshows each first-boot step.
Managing the services
sudo systemctl restart akvorado # restart the whole stack
sudo docker compose -f /opt/akvorado/docker-compose.yaml logs --tail 50 akvorado-outlet
sudo systemctl reload nginx # after changing the certificate or the password file
To change the console password, run sudo htpasswd -B /etc/nginx/akvorado.htpasswd admin, then sudo systemctl reload nginx, and update or delete /root/akvorado-credentials.txt. Keep the OS current with sudo apt-get update && sudo apt-get upgrade; unattended security upgrades are on, and they also update Docker.
Troubleshooting
- The browser shows a certificate warning. Expected with the self-signed certificate: continue past it, or install your own (above).
- HTTPS shows a first boot page (503). First boot has not finished. Give it a few minutes after the VM starts, then check
systemctl status akvorado-firstboot. - No flows arrive from a router. Check the NSG rule names the router's real source address (behind NAT it is the NAT address), that the device exports to the right port, and
sudo docker compose -f /opt/akvorado/docker-compose.yaml logs --tail 50 akvorado-inlet. - Interfaces show no names. The outlet could not poll the exporter over SNMP: allow UDP 161 from the VM on the router, and check the community in
outlet.yaml(above). - Countries show as Unknown. The image ships no GeoIP database. Akvorado can read MaxMind or IPinfo databases you download under their licence terms; see Akvorado's documentation on GeoIP.
- The VM's address changed. Run
sudo cloudimg-set-public-address(above).
Security recommendations
- Restrict
22/tcpto your management network, and443/tcp(and80/tcpfor the redirect) to the people who use the console. - Open the flow ports and BMP only to your routers' addresses, never to Any (Step 9), and narrow SNMP polling to your exporters' prefix.
- Install a browser-trusted certificate on your own domain before sharing the console.
- For individual logins, put a single sign-on proxy (such as oauth2-proxy, Authelia or Authentik) in front of the console; Akvorado reads the signed-in user from the
Remote-Userheader the proxy sets.
Licensing
Akvorado is free software under the GNU Affero General Public License v3.0 (AGPL-3.0). Because the console is served over a network, the AGPL requires its complete corresponding source to be offered to its users: that source is the pinned upstream release this image runs, at github.com/akvorado/akvorado, tag v2026.10.1. cloudimg ships the stock, unmodified upstream images and adds only external configuration (the compose file, configuration files, systemd units and the nginx front door). The cloudimg charge covers packaging, image maintenance and support.
Support
cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours. If you have any questions about deploying or operating Akvorado on Azure, contact us at support@cloudimg.co.uk.