GCP Setup
Connect your Google Cloud Platform account to CloudInfraOS to sync resources, monitor costs, and track infrastructure across all GCP services.
Prerequisites
- A GCP project with billing enabled
- Permissions to create service accounts in the GCP Console
Step 1: Create a Service Account
In the GCP Console, create a new service account. Assign the following roles for read access:
roles/viewerβ read access to all resourcesroles/billing.viewerβ access to cost and billing data
After creating the service account, generate a JSON key and download it to your machine.
Step 2: Add Credentials in CloudInfraOS
Navigate to your project settings β Provider Connections β Add Provider. Select GCP from the provider list and paste the contents of the service account JSON key file. Also provide your GCP project ID.
All credentials are encrypted with AES-256-GCM before storage.
Step 3: Sync Resources
Click Sync Now to pull in your GCP resources. CloudInfraOS discovers Compute Engine VMs, Cloud Storage buckets, Cloud Run services, and other GCP resources across all regions in your project.
What Gets Synced
- Compute Engine instances (type, zone, status, tags)
- Cloud Storage buckets (name, location, storage class)
- Cloud Run services (region, memory, concurrency settings)
- Cost and usage data from Cloud Billing
- Resource labels for organization and filtering