Skip to main content

InfluxDB

Version: 2.6.1 | OS: Ubuntu 22.04

Overview

InfluxDB is a high-performance time-series database designed for scenarios like application metrics, real-time analytics, IoT sensor data, and operations monitoring. It supports high ingestion rates and a powerful query engine.

Included Software

  • InfluxDB - 2.6.1

Firewall & Access

PortServicePurpose
22SSH (rate limited)Secure server access
8086InfluxDB Web UI/APIData ingestion and queries

Initial Deployment

During the deployment process:

  • InfluxDB is automatically installed and enabled as a service
  • Initial setup is required via web interface or CLI

You will be logged out with the message:

Please wait until the installation is completed....
Connection to $IPADDRESS closed.

Wait at least 2 minutes before logging back in.

Accessing the Instance

  1. Login to your instance:
ssh ubuntu@$IPADDRESS
  1. Switch to root:
sudo su -

Web Interface Setup

  • Open your browser and go to:
http://$IPADDRESS:8086
  • Follow the on-screen steps to set up:
    • Username and password
    • Initial organization and bucket
    • Retention policies and access tokens

CLI-Based Setup (Alternative)

InfluxDB can also be configured using the CLI:

influx setup

Follow the interactive prompts to configure user, organization, bucket, and tokens.

Refer to official documentation:

Useful CLI Commands

Once setup is complete, you can use commands such as:

influx bucket list
influx org list
influx write --bucket <bucket_name> --org <org_name> --precision s
influx query 'from(bucket: "<bucket_name>") |> range(start: -1h)'

Best Practices

  • Ensure strong credentials during setup
  • Enable firewall restrictions to only trusted IPs
  • Use tokens for external access to API
  • Regularly monitor disk usage and retention policies
  • Set up HTTPS proxy (e.g., NGINX) for production deployments

For help, contact Cloud4India Support.