VecturaDB on an Azure VM

One VecturaDB server in your own Azure subscription, with its data on a managed disk, HTTPS, API keys, allowed IP addresses and backups. From about 14 USD a month on your Azure bill.

Disclaimer. This template and its scripts are provided as is, without warranty of any kind, as stated in the Apache License 2.0. The numbers on this page are what we measured with VecturaDB 1.0.0-preview.8 on 6 November 2026 in westeurope: your region, sizes, data and versions may behave differently. You are responsible for your data: back it up, and test a restore on a copy before you rely on it.

Not sure about your case? Open an issue in the VecturaDB repository, describe your data and your setup, and we will take a look on a best-effort basis.

What it creates

The template runs VecturaDB 1.0.0-preview.8 (ghcr.io/vecturadb/vecturadb:1.0.0-preview.8), built from Chroma, with sparse vectors, BM25, hybrid search, collection fork and API keys. The same template can also run Chroma 1.5.9, which cannot read the SPANN collections that VecturaDB wrote: see Updates.

VecturaDB keeps the Chroma API: the Chroma clients connect with the URL of the deployment and the API key. In our tests the Python client (chromadb 1.5.9) worked over HTTPS with the key, and VecturaDB answered 401 without it.

ResourceNotes
Ubuntu 24.04 VMDocker runs the server; Caddy serves HTTPS in front of it
Data disk, Standard SSDMounted at /var/lib/chroma; 16 GiB by default
Network security groupOpens only what the access mode needs
Virtual network and network interface10.42.0.0/16
Public IP, StandardOnly with HTTPS access
Backup vaultOnly with backups on: Azure Disk Backup of the data disk

Deploy

Deploy to Azure

The button opens the form of the Azure portal with the template of the tag azure-v1.5.1, VecturaDB already chosen and vecturadb as the name. The form asks for the API key. When the portal shows “Your deployment is complete”, open Outputs in the menu on the left: url is the address of the server, for the clients.

In our testsTime
Deployment from zero, until Caddy held the certificate190 s

With the Azure CLI:

az group create -n my-vecturadb -l westeurope
az deployment group create -g my-vecturadb \
  --template-uri https://raw.githubusercontent.com/VecturaDB/VecturaDB.Deploy/azure-v1.5.1/azure/vm/azuredeploy.json \
  -p name=vecturadb engine=vecturadb apiKey=<your key> \
     access=allowed-ips allowedIpRanges='["203.0.113.10/32"]' \
     adminPublicKey="$(cat ~/.ssh/id_ed25519.pub)"

The template, its scripts and its README are in the VecturaDB.Deploy repository, under azure/vm.

Access and HTTPS

AccessWhat is openAddress
Allowed IP addresses443 from your IP ranges; 80 for the certificate onlyhttps://, with the Azure name of the public IP or your domain
Public443 and 80 from anywherehttps://
InternalNothing from the internet; port 8000 inside the virtual networkhttp://, on the private address
On the VM itself, against the server without Caddy (medians, Standard_B2pts_v2, 6 November 2026, three runs on two VMs)Time
Query1.7-2.0 ms
Get1.7-2.1 ms
Add of 2 records21.1-37.4 ms
8 concurrent writers, in all2.6-5.4 s

On two VMs of the same size the writes differed by up to two times, with the same reads.

Cost

The sizes we tested, with the list prices of westeurope in USD for 730 hours a month, on 26 October 2026:

SizeCPU, memoryVMDisks (OS E4, data E3)Public IPTotal a month
Standard_B2pts_v2 (default, Arm)2, 1 GiB7.013.603.6514.26
Standard_B1s1, 1 GiB8.763.603.6516.01
Standard_B1ms1, 2 GiB17.523.603.6524.77

Backups and restore

Restore

  1. In the backup vault, restore a recovery point to a new disk in the same resource group: Backup instances, then Restore.
  2. Attach the new disk at LUN 1 and run restore.sh: it copies the data of the backup over the data disk and starts the server again.
  3. Detach and delete the new disk.
az vm disk attach -g my-vecturadb --vm-name vecturadb --name <restored disk> --lun 1
az vm run-command invoke -g my-vecturadb -n vecturadb --command-id RunShellScript --scripts @restore.sh
az vm disk detach -g my-vecturadb --vm-name vecturadb --name <restored disk>
az disk delete -g my-vecturadb -n <restored disk>

The data written after the backup is lost: take an on-demand backup first if you may want it back. The data disk stays the same, so the backups go on.

In our testsTime
On-demand backup, until the recovery point189 s
Restore to a new disk50 s
Attach at LUN 18 s
restore.sh33 s
Detach and delete11-41 s

After the restore VecturaDB held the data of the backup, 250 records, and not the collection written after it. A snapshot of the data disk taken right after a restore, restored in turn, held every collection.

Updates

Delete everything

Deleting the resource group deletes the deployment, the snapshots of the backups included. With backups on, two things stop it first: the backup instance of the data disk, and the soft delete of the vault, on by default. So turn soft delete off, delete the backup instance, then delete the group. Without backups, delete the group.

In the portal

  1. Open the backup vault, <name>-backup. Under Manage, open Properties. In Cyber recovery settings, on the Soft delete row, select Update, clear Enable Soft Delete, and select Update.
  2. Under Manage, open Backup instances. The filter starts on another datasource type, so the list looks empty: set Datasource type to Azure Disks, and open <name>-data.
  3. Select Delete. Type the name of the instance, choose a reason and write a comment: all three are required. Select Delete, then Confirm.
  4. Open the resource group and select Delete resource group. Type the name of the group, select Delete, then Delete again to confirm.

With the Azure CLI

SUB=$(az account show --query id -o tsv); RG=my-vecturadb; NAME=vecturadb
VAULT="https://management.azure.com/subscriptions/$SUB/resourceGroups/$RG/providers/Microsoft.DataProtection/backupVaults/$NAME-backup"
az rest --method patch --url "$VAULT?api-version=2024-04-01"   --body '{"properties":{"securitySettings":{"softDeleteSettings":{"state":"Off","retentionDurationInDays":14}}}}'
az rest --method delete --url "$VAULT/backupInstances/$NAME-data?api-version=2024-04-01"
# The deletion goes on in the background: wait until the backup instance is gone.
while az rest --method get --url "$VAULT/backupInstances/$NAME-data?api-version=2024-04-01" -o none 2>/dev/null; do sleep 10; done
az group delete -n $RG --yes
In our tests, with the CLITime
Soft delete off2 s
Backup instance gone95-103 s
Resource group gone125-126 s

The README of the template also says how to get out of the soft-deleted state, if you deleted the backup instance with soft delete on.

Limits

VecturaDB is an independent fork of Chroma, under the Apache License 2.0. The original code is copyright Chroma Inc. and its contributors.

Not affiliated with, endorsed by or sponsored by Chroma Inc. CHROMA is a registered trademark of Chroma Inc., used here only to describe compatibility.