Al Sargent

Nov 30, 2020

6 min read

How to run InfluxDB on Google Cloud

With InfluxDB Cloud for Google Cloud GCP customers can use our leading time series data platform on Google infrastructure. This lets you address a wide range of use cases: observability, server monitoring, IoT sensor data tracking, real-time customer analytics, application performance metrics, network monitoring, security threat detection, and financial market analysis. Whatever data you might want to examine, monitor, and act on over time, InfluxDB Cloud provides you with a reliable foundation that requires minimal effort to set up.

What is InfluxDB Cloud for Google Cloud?

InfluxDB for Google Cloud 2.0 is a serverless cloud platform that’s purpose-built for time series data. That’s a lot of buzzwords, but we’re trying to pack in a number of points. Let’s break them down.

By serverless, I don’t mean that InfluxDB Cloud doesn’t run on servers. (Obviously it does!) Instead, I mean that you don’t need to worry about sizing your database servers to match your workloads. You don’t have to worry if you bought too much capacity or too little, or about having to migrate off of one server size to the other. InfluxDB Cloud automatically handles the elastic scaling required at the backend, so you don’t have to. This way, migration from one size database server to another is never required. Our pricing isn’t based on the size of the machines you choose; it’s based on the size of your data.

By cloud, I mean that enhancements to InfluxDB Cloud 2.0 come within days, if not hours, of when they’ve been committed in our open source database, InfluxDB. This lets you take advantage of new innovations as soon as they’ve been tested and publicly deployed by our team. It also frees up time from your sysadmins and SREs to focus on other parts of your data infrastructure.

By platform, I mean that InfluxDB for Google Cloud today has all the core capabilities of InfluxDB 2.0 database: time-series data storage and querying, processing in the background, numerous integrations with third-party services (including those from Google Cloud), collection agent configuration, and highly configurable dashboards and alert processing.

By purpose-built, we mean a database that handles the relentless scale of time-stamped data generated by modern microservices, devices, and sensors — something that general-purpose databases can’t do. Think of other types of use cases, such as order entry or CRM. For any single customer, writes might come once every few minutes, when someone enters an order or updates a customer record. In contrast, for time series data, you might have dozens of writes every second coming from different monitoring agents or sensors. The shape of the data is simpler than relational data, but it’s a firehose of information.

How does InfluxDB Cloud integrate with Google Cloud?

InfluxDB Cloud for Google Cloud runs in Google Cloud’s central region, us-central1, in Iowa. InfluxDB Cloud now integrates with a wide range of Google services, bringing observability to your entire Google Cloud stack:

Notice that InfluxDB and Telegraf can be used not only to ingest data from Google Cloud, but to send data to Google Cloud as well, via the Telegraf output plugins for PubSub, MQTT, and Stackdriver. This is an important thing to look for in monitoring solutions — you don’t want your monitoring data to get trapped in a “roach motel” that limits your options.

Why use InfluxDB Cloud on Google Cloud?

Real-time observability: Telegraf can collect metrics as frequently as once per second. InfluxDB dashboards update every five seconds. InfluxDB checks run every five seconds. InfluxDB also has deadman checks, which fire when a group of agents stop reporting. All these capabilities mean that once something goes wrong, your SREs will know about it sooner, which makes it easier to achieve your service level objectives (SLOs).

Flexible monitoring: Every dashboard chart in InfluxDB, and every InfluxDB check, has a Flux script behind it and can have multiple queries, joins across datasources (including Stackdriver, BigTable, and PubSub), variables, comparisons, regular expressions, and statistical functions. This gives you practically unlimited flexibility to fine-tune your monitoring to meet your needs.

Time series AI: Google Cloud AI Platform has some incredible AI and machine learning services, such as TensorFlow, TPUs, and TFX, which are ideal for analyzing the vast amounts of time series data produced by sensors, devices, and app infrastructure. Once you send your time series data from InfluxDB to BigTable, BigQuery, or PubSub, it can feed Google AI platform to generate insights.

How to sign up for InfluxDB Cloud on Google Cloud?

You can sign up for InfluxDB on Google Cloud through InfluxData’s website. When prompted for your cloud provider, just pick Google Cloud Platform as shown below.

What’s next?

If you’re already using InfluxDB Cloud — enjoy these new changes. If you’re not — sign up! Then be sure to check our quick start guide and ask the InfluxDB community and Slack for help.