GCP

Tutorials

How to Visualize CloudQuery Data with Google Data Studio

In this guide, we will walk you through how to set up CloudQuery to build your cloud asset inventory in PostgreSQL and connect it to Google Data Studio for visualization, monitoring and reporting.

General Architecture

  • ETL (Extract-Transform-Load) ingestion layer: CloudQuery
  • Datastore: PostgreSQL
  • Data Visualization and Exploration Platform: Google Data Studio

What you will get

  • Raw SQL access to all your cloud asset inventory to create views or explore any questions or connection between resources.
  • Multi-Cloud Asset Inventory: Ingest configuration from all your clouds to a single datastore with a unified structure.
  • Avoid yet-another-dashboard fatigue: Reuse your existing Google Data Studio setup to build a cloud asset inventory.

Walkthrough

Step 1: Install or Deploy CloudQuery

If it’s your first time using CloudQuery we suggest you first run it locally to get familiar with the tool, take a look at our quickstart guide and GCP source integration.

If you are already familiar with CloudQuery, take a look at how to deploy it to GCP on Cloud SQL and GKE at https://github.com/cloudquery/terraform-gcp-cloudquery.

Step 2: Connecting Google Data Studio to PostgreSQL

You can only connect Data Studio to a public PostgreSQL (GCP Cloud SQL).

For security purpose you should allow connection only from Google Data Studio IP Addresses.

See connection full walkthrough.

Click Create New datasource and choose PostgreSQL (In this tutorial we will connect to publicly accessible RDS with authorized Data Studio IP Address) and fill-in the connection details:

Google Data Studio PostgreSQL connection form configured for CloudQuery GCP cloud asset inventory

Step 3: Visualize the Data

Choose the table you want to visualize, in this case we will choose the gcp_resources view.

💡 To create the gcp_resources view, run the following view before importing to the data studio.

Google Data Studio table selector displaying CloudQuery gcp_resources view for visualization

Choose the table to visualize

Google Data Studio report designer showing CloudQuery GCP resources dashboard with data visualizations

Design your report

You can reuse Data Studio to export/share those reports as well!

Summary

In this post we showed you how to build an open-source cloud asset inventory with CloudQuery as the ETL (Extract-Transform-Load) / data-ingestion layer and Google Data Studio as the visualization platforms. This approach eliminates the yet-another-dashboard fatigue and gives you the ability to pick the best-in-class visualization tools and/or reuse your current stack.

Want to see CloudQuery in action? Schedule a demo with our team or check out the platform documentation to learn more.

Want help getting started? Join the CloudQuery community to connect with other users and experts, or message our team directly here if you have any questions.

Try CloudQuery yourself

Self-hosted, open source, and free to start. Or schedule a demo to see the managed version.

Related posts

GCP

Security

Tutorials

Creating Cross-Project Service Accounts in GCP (Console + gcloud CLI)

Create a GCP service account that reads across all your projects with one credential. Covers gcloud CLI, org-level vs.

Joe Karlsson

Joe Karlsson

May 5, 2026

AWS

GCP

Security

Tutorials

How to Inventory All Public IP Addresses Across AWS and GCP using CloudQuery

Track every public IP across AWS and GCP in minutes with SQL. Find exposed EC2 instances, unused Elastic IPs, and GCP Compute resources in one place.

Adam Cobb

Adam Cobb

Joe Karlsson

Joe Karlsson

December 19, 2025

AWS

Azure

GCP

Security

Tutorials

How to Find Internet-Facing Cloud Assets in AWS, Azure and GCP

Find all internet-facing cloud resources across AWS, Azure, and GCP. Identify exposed VMs, storage, databases, and load balancers to reduce attack surface.

Adam Cobb

Adam Cobb

November 5, 2025

GCP

Tutorials

GCP Quick Wins

Quick CloudQuery wins for GCP: identify security misconfigurations, unused resources, and compliance gaps in your Google Cloud environment with SQL queries.

Chris Reuter

Chris Reuter

September 15, 2025

AWS

Azure

Cloud Asset Inventory

GCP

Tutorials

How to Build a Multi-Cloud Asset Inventory

Build a multi-cloud asset inventory across AWS, GCP, and Azure with this step-by-step guide covering data collection, transformation, and storage.

Joe Karlsson

Joe Karlsson

August 29, 2024

GCP

Security

Tutorials

How to Identify Your GCP SSH vulnerabilities with CloudQuery

Use CloudQuery to identify and analyze GCP resources vulnerable to SSH exploits, with SQL-driven insights to prioritize and remediate exposure quickly.

Kevin Rheinheimer

Kevin Rheinheimer

July 9, 2024

GCP

Security

Tutorials

Enhance your Cloud Asset Inventory Using Wiz + GCP

Enhance your GCP cloud asset inventory with CloudQuery’s Wiz plugin. Gain immediate insights into vulnerabilities and misconfigurations.

Kevin Rheinheimer

Kevin Rheinheimer

July 3, 2024

Cloud Asset Inventory

GCP

Tutorials

Step-by-Step Guide to Building a Cloud Asset Inventory for GCP

Learn how to build a GCP cloud asset inventory with CloudQuery, PostgreSQL, and dbt. Covers setup, data transformation with dbt models, and querying cloud resources.

Joe Karlsson

Joe Karlsson

June 13, 2024

AWS

Azure

GCP

Security

How Do You Run CloudQuery Without Static Credentials?

Workload identity federation for GCP and Azure, RDS IAM auth, and Lakebase OAuth let self-hosted CloudQuery syncs run without stored static credentials.

Ben Bernays

Ben Bernays

September 28, 2026

Own your pipeline.
Own your data.