GCP

This page documents the GCP-specific setup and supported resources for Cost Explorer (Gantt).

Step 1: Add Your GCP Account

Cost Explorer (Gantt) requires your GCP account to be added to MechCloud. Follow the GCP onboarding guide to connect your account:

Add GCP Account

Step 2: Configure Permissions

The service account used by Workload Identity Federation must have the following IAM roles on the project:

  • Compute Viewer (roles/compute.viewer) — to read Compute Engine instances and disks

  • Cloud Asset Viewer (roles/cloudasset.viewer) — to list and search project resources

Step 3: Create a Resource Context

A Resource Context defines the logical boundary within which Stateless IaC and related visualizations operate. Follow the Resource Context setup guide:

Resource Context

Step 4: Provision Infrastructure Using Stateless IaC

Once the GCP account and Resource Context are configured, infrastructure can be provisioned using Stateless IaC.

Follow the Stateless IaC authoring guide:

Stateless IaC for GCP

Supported Resources

MechCloud provides real-time pricing for GCP resource types including compute and storage.

For the complete list of supported resources with pricing examples, see Examples (Resources With Cost).

Demo

Coming soon.

Last updated