Time series database for metrics, events, and IoT data. InfluxDB 2 with the web UI, Flux, and InfluxQL. Single instance with persistence on a volume. Published on a public HTTPS route; every request needs a token.
Install the CLI. See the install docs.
Log in:
runway login
Add an SSH key. See key setup, or use the shortcut:
runway local key setup
We are providing a template for one-click deployments of InfluxDB 2 to Runway. You can either deploy InfluxDB 2 from your browser, or on the command line via:
runway app create --app='my-influxdb-2-database' --plan='start-m-launch'
runway app deploy template --app='my-influxdb-2-database' --template='influxdb-2'
After deployment,
runway app show --app='my-influxdb-2-database'
will display the connection details, so you can connect to your new InfluxDB 2 from other apps.
Our InfluxDB 2 template supports the following options:
bucket - Initial bucket, created on first start. (default: app)image_tag - InfluxDB version. 2.9 is current, 2.8 is the previous release. Minor
upgrades migrate the data in place; a downgrade needs a backup and
restore. (2.9-alpine, 2.9, 2.8-alpine, 2.8)organization - Initial organization, created on first start. (default: app)retention - How long the initial bucket keeps data, e.g. ‘30d’ or ‘12w’. ‘0’ keeps
it forever. Only applied on first start; change it later in the UI. (default: 0)username - Admin user for the web UI, created on first start. (default: admin)You can set them on the command line during deployment:
runway app deploy template --app='my-influxdb-2-database' --template='influxdb-2' \
bucket=app \
image_tag=2.9-alpine \
organization=app \
retention=0 \
username=admin
InfluxDB 2 is distributed under the MIT license - source code available at https://github.com/influxdata/influxdb.