Databases

Host InfluxDB on VeloxaHost

InfluxDB is a time-series database built for metrics, events and sensor readings: it ingests timestamped points at a high rate, keeps them in buckets with retention periods and answers range queries quickly. Developers and operators self-host InfluxDB 2 for monitoring with Telegraf and Grafana, IoT data and application metrics.

The one-click install follows InfluxData's install guide on Ubuntu 24.04: it downloads InfluxData's current influxdata-archive.key, trusts it only if its fingerprint matches the one InfluxData publishes, adds InfluxData's APT repository, installs influxdb2 (InfluxDB 2) and influxdb2-cli (the influx command-line tool), and starts the influxdb service. InfluxDB serves its web interface and HTTP API on port 8086, on every address.

Signing in

A new InfluxDB lets whoever reaches it first create the admin user, the organisation and the operator token, which has full access. So the install claims it straight away with InfluxData's influx setup, before any port is open to the outside: user admin, organisation main and a bucket called main. Sign in to the web interface as admin with the generated password shown on the server's page. VeloxaHost replaces the install script's placeholder password with a random one at deploy time and stores it encrypted; organization owners and admins can reveal it there, and every reveal is recorded in the audit log.

influx setup saved the operator token in the root user's CLI configuration, so influx commands in the browser terminal work without another login; influx auth list shows the token. Create narrower tokens for Telegraf, Grafana or your app (for example write-only to one bucket) and keep the operator token for administration.

What it needs

InfluxData's install docs set no hardware figures for Linux packages; memory and disk grow with how much data you write, how many distinct series it has and how long buckets keep it. The catalogue's minimum is 1 vCPU and 512 MB. The recommended 1 vCPU and 2 GB is the Veloxa 1 size: 1 vCPU, 2 GB RAM and 50 GB of disk for $8 a month, billed at $0.02 an hour and capped at the monthly price. Raise memory from the console as data grows: on a container the change applies without a restart.

Reaching it on VeloxaHost

Every server gets a block of ports (10 by default) on the region's shared IPv4 address. The first forwards to SSH; under How to connect on the server's page, forward another to 8086. Writers such as Telegraf and readers such as Grafana then use http://<shared address>:<port> with a token. Traffic on the shared port is plain HTTP, so attach a VeloxaHost firewall that allows only the addresses that write and read. For HTTPS on port 443, use a dedicated IPv4 address (a paid add-on with limited availability) with Caddy or Nginx in front of port 8086. IPv6 is not available in US East yet.

Backups and updates

With the Linux package, data lives in /var/lib/influxdb (influxd.bolt for metadata and engine/ for time-series data) and configuration in /etc/influxdb/config.toml. Turn on automatic snapshots on the server page (hourly up to weekly, kept for 1 to 30 days) or scheduled backups (every 6 hours up to weekly, keeping 1 to 10). For a portable copy, influx backup <backup-path> -t <operator token> writes a backup you can restore elsewhere.

To update within InfluxDB 2, take a snapshot, then apt-get update && apt-get install -y influxdb2 and systemctl restart influxdb.

FAQ

How do I sign in?

As admin, with the generated password shown on the server's page. The install ran influx setup for you, with the organisation and the first bucket both called main; add more buckets in the web interface.

InfluxDB 2 or InfluxDB 3?

This installs InfluxDB 2. InfluxData's docs call InfluxDB 3 Core its latest stable version and describe 2.x as an earlier version. InfluxDB 3 Core accepts v1 and v2 writes, but does not support Flux queries, so InfluxData suggests InfluxQL if you plan to migrate later.

Can Grafana read from it?

Yes. Add InfluxDB as a data source in Grafana with the server's address, your organisation and a read token. The Grafana and Prometheus one-click app gives you a Grafana to start from.

What license is InfluxDB under?

InfluxDB 2 is released under the MIT License.

Which VeloxaHost size fits InfluxDB?

The recommended 1 vCPU and 2 GB of RAM is a Veloxa 1: 1 vCPU, 2 GB RAM and 50 GB of disk for $8 a month, billed at $0.02 an hour and capped at that price.