Google Cloud integration. Find and fix issues across your Cloud Run, GKE and Cloud SQL services.
Polylane maps Cloud Run, GKE and Cloud SQL, reads logs, metrics and traces to spot issues, investigates Cloud Monitoring alerts as they fire, and writes the fix.
Get started for freeHow to set up Google Cloud
The console says setup usually takes a few minutes and that Google access changes can take longer. Registration can finish before resources appear. No measured end-to-end setup duration is published.
- Choose Google Cloud in Settings → Clouds → Connect, then Continue with Google and authorize a Google Cloud administrator account. Google requests broad cloud-platform access for setup only; that temporary access expires within an hour and no refresh token is kept.
- Select one project (billing must be enabled), review the setup permissions and the Investigate alerts option, then choose Connect project. Polylane enables the bootstrap APIs, creates a <prefix>-im installation service account and submits the published blueprint to Infrastructure Manager. Alternatively, run the prefilled script in Cloud Shell and choose Verify and connect, or apply the companion Terraform module.
- Setup continues in the background; you can close the panel. After deployment Polylane verifies the reader identity and registers the project, then inventory sync starts. If Google access has expired, choose Authorize again to resume. A pending request lasts seven days.
Permissions and access
The installation service account (<prefix>-im) receives config.agent, iam.serviceAccountAdmin, iam.workloadIdentityPoolAdmin, resourcemanager.projectIamAdmin, iam.roleAdmin, pubsub.admin, cloudasset.owner, logging.configWriter and serviceUsage.serviceUsageAdmin, and keeps them for deployment updates and cleanup. Ongoing access uses a separate reader service account that signs in through workload identity federation with short-lived credentials; no service account keys are created. The reader reads inventory, IAM policies, Logging, Monitoring, Cloud Trace and the configuration of Compute Engine, Cloud Run, Cloud Functions, Cloud SQL, GKE and other services, and does not read Storage objects, BigQuery rows, secret payloads or artifact contents. It is not strictly read-only: with Investigate alerts on, a custom role lets it update alert policies, create and delete its own notification channel, and create the alert Pub/Sub topic and push subscription. GKE writes additionally need gke_operations_enabled = true in the setup and Read-only turned off in Polylane.
Discovery, refresh and the connected view
A project asset feed publishes resource changes to an authenticated Pub/Sub push subscription, and a filtered log sink sends Pub/Sub and Storage activity to a separate subscription. A full reconciliation runs every 15 minutes, but Cloud Asset Inventory is eventually consistent and some types update hours apart. Deletions are confirmed from asset history within its 35-day retention. With Investigate alerts on, Cloud Monitoring incidents arrive through a dedicated Pub/Sub channel added to your existing alert policies (Polylane creates no default policies), and closures that are never delivered are recovered during reconciliation.
Disconnect and revoke access
Disconnect the project in Polylane to stop new credential issuance, processing and schedules. Google access tokens already issued expire within fifteen minutes. Google resources stay in your project: delete the Infrastructure Manager deployment with resource deletion enabled, or run terraform destroy for the module, to remove the reader and push identities, the workload identity pool and provider, IAM grants, topics, subscriptions, the asset feed and the log sink. Then remove the -im installation service account and its grants. Enabled APIs, Google-managed service agents and Infrastructure Manager state and staging buckets remain; review them separately. Cancelling a pending request does not delete resources already created.
Provider credentials and Polylane’s access mode are separate. Where write-capable tools exist, the connected account’s Settings page offers a Read-only switch. Turning it off permits writes subject to review and confirmation, but cannot add permissions to the provider credential. Agent-connected Kubernetes clusters stay read-only.
In the graph.
Every Google Cloud resource Polylane picks up sits in the graph with its connections, config and history.
Google Cloud tools.
The calls Polylane can make to Google Cloud when it looks into an issue.
-
gcpLogsRead Google Cloud logs (list log names, query entries) -
gcpMetricsDiscover and query Google Cloud Monitoring metrics (list, query) -
gcpDashboardsRead Google Cloud Monitoring dashboards (list, get) -
gcpAlertPoliciesRead Google Cloud alert policies (list, get) -
gcpTracesSearch and read Google Cloud traces (list, get) -
gcpApiRead Google Cloud APIs using the connected project's reader identity -
gcpListApiOperationsDiscover Google Cloud API read operations and their input fields -
gcpGkeKubectlRead and operate on Kubernetes resources on a GKE cluster, including pod logs, events, metrics, rollouts, scale, restart, patch, apply and delete
Common questions.
How does Polylane connect to Google Cloud?
Choose Google Cloud in Settings → Clouds → Connect, then Continue with Google and authorize a Google Cloud administrator account. Google requests broad cloud-platform access for setup only; that temporary access expires within an hour and no refresh token is kept. Select one project (billing must be enabled), review the setup permissions and the Investigate alerts option, then choose Connect project. Polylane enables the bootstrap APIs, creates a <prefix>-im installation service account and submits the published blueprint to Infrastructure Manager. Alternatively, run the prefilled script in Cloud Shell and choose Verify and connect, or apply the companion Terraform module. Setup continues in the background; you can close the panel. After deployment Polylane verifies the reader identity and registers the project, then inventory sync starts. If Google access has expired, choose Authorize again to resume. A pending request lasts seven days.