Google Cloud Integration
Connect a Google Cloud project, folder, or organization and Topolix discovers your deployed infrastructure — networking, compute, data stores, messaging, and service relationships — and generates an architecture diagram as code.
What gets discovered
Section titled “What gets discovered”Topolix inventories resources through the Google Cloud Asset API across five groups:
| Area | Resources |
|---|---|
| Networking | VPC networks, subnetworks, Cloud Routers, firewall rules, load balancers (forwarding rules, target proxies, URL maps, backend services, backend buckets, NEGs), Service Attachments, Cloud VPN, Cloud Interconnect, Serverless VPC Access connectors, Cloud DNS zones |
| Compute | GKE clusters and node pools, Cloud Run services and jobs, Cloud Functions, Compute Engine instances and instance groups, App Engine services, Workflows |
| Data | Cloud SQL instances, AlloyDB clusters and instances, Cloud Spanner instances and databases, Firestore databases, Cloud Bigtable instances, Memorystore (Redis and Memcached), Cloud Storage buckets, BigQuery datasets |
| Messaging | Pub/Sub topics and subscriptions, Cloud Tasks queues, Eventarc triggers |
| Identity | IAM service accounts (for mapping workload relationships) |
Connecting Google Cloud
Section titled “Connecting Google Cloud”Topolix uses read-only service account impersonation — no static JSON service account keys are created or stored.
- Go to Settings → Google Cloud as a workspace owner and click Connect.
- Enter a name and choose a scope: Project, Folder, or Organization, along with its ID.
- Topolix generates a unique Service account ID, the Topolix connector identity, and ready-to-run setup instructions for either gcloud CLI or Terraform that:
- Create a dedicated read-only service account in a project you own.
- Grant read-only discovery roles on your chosen project, folder, or organization.
- Grant the Topolix connector
roles/iam.serviceAccountTokenCreatoron that service account.
- Run the
gcloudscript or apply the Terraform configuration, paste the created service account email into Topolix, and click Save & Test Access.
Generating and refreshing diagrams
Section titled “Generating and refreshing diagrams”Turn on the connection’s mapping toggle to create a source-backed diagram in a new folder and start discovery. You can rename or move the diagram; refreshing preserves those choices.
Google Cloud diagrams can be combined with GitHub, AWS, and database diagrams in a Unified Diagram.
Click Refresh in Settings → Google Cloud or from the diagram’s source details to rediscover the scope and update the diagram. Refresh is manual; there is no scheduled Google Cloud sync.
Security and data minimization
Section titled “Security and data minimization”- No static keys: Authentication uses short-lived impersonated tokens minted by the Topolix connector identity.
- Strictly read-only: Only read-only Cloud Asset inventory permissions are requested; Topolix cannot modify cloud resources.
- Allowlisted attributes only: Topolix extracts only a strict allowlist of topology attributes per resource type. Environment variables, startup commands, instance metadata, IP addresses, authorized networks, certificates, IAM policies, and URL paths or queries are never stored or sent to the AI model.
- Instant revocation: Remove the
Service Account Token Creatorbinding or delete the service account in Google Cloud to cut off access immediately.