The Simplest Way to Make Cloud Run and Compass Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair cloud run and compass to run containers and track service health in one catalog. This setup links live cloud apps to team ownership records, deployment history, and operational scorecards. Google Cloud Run runs stateless containers on demand without manual server management. Atlassian Compass acts as a central portal that tracks every microservice your team builds. When you link them, developers see live service metrics right beside code repos and incident alerts. How cloud run and

Your coding agents run with your access.

Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.

Teams pair cloud run and compass to run containers and track service health in one catalog. This setup links live cloud apps to team ownership records, deployment history, and operational scorecards.

Google Cloud Run runs stateless containers on demand without manual server management. Atlassian Compass acts as a central portal that tracks every microservice your team builds. When you link them, developers see live service metrics right beside code repos and incident alerts.

How cloud run and compass share service data

Data flows between the two tools through webhooks, API calls, and deployment pipelines. Your build pipeline pushes a new container image to Google Cloud Run. Right after that step, the pipeline sends an event payload to the Compass API. This message tells the catalog that a new version is live in production.

Each system checks identity before it accepts any deployment or status update. Your build tool uses a dedicated Google Cloud service account to update the container service. That account needs a specific role that allows it to deploy and read service details. On the catalog side, the pipeline uses a scoped API token to send events to Compass.

You can also send runtime metrics from your cloud project to your catalog view. A small background job reads request counts, error rates, and latency from Google Cloud APIs. It then posts those numbers to the metric endpoints for that specific catalog component. Engineers can check service health in one place without opening multiple cloud consoles.

Common failure modes and how to scope roles

Many teams make mistakes when they first link their cloud services to their catalog. The most common risk is a single shared service account with broad project owner rights. If a pipeline leaks that key, an attacker can change any resource in your cloud project. Shared API tokens in the catalog also make it hard to see who changed a record.

Unlogged manual changes cause another big problem for engineering teams. An engineer might log in to the cloud console and deploy a container fix by hand. Because that action skips the build pipeline, the catalog never gets the update event. Now your service portal shows an old version while production runs new code.

End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

You can fix these issues when you scope roles and lock down network paths. Give each service its own service account with permissions limited to that single container app. Rotate your catalog API tokens on a strict schedule and store them in a secret manager. Turn off manual console deployments for production services so every change flows through your logged pipeline.

Best practices for ongoing catalog hygiene

A service catalog only helps your team if the data stays accurate every day. Set up automated scorecards in your catalog to check that every container service meets basic rules. For example, a scorecard can check if a service has an on-call schedule and recent deploys.

Keep your metadata files inside the same source repo as your container code. When a developer changes the app port or memory limit, they update the catalog file too. The build pipeline reads that file and updates both systems during the same run. This habit keeps your live cloud state and your team docs in sync.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How do I send Cloud Run deployment events to Compass?

Add a step at the end of your build pipeline after the container deploy finishes. Have that step send a deployment payload to the Compass REST API using a scoped token.

What permissions does the pipeline need in Google Cloud?

Grant the pipeline service account the specific role to deploy Cloud Run services and act as the runtime account. Avoid giving broad editor or owner roles across the whole cloud project.

How can we stop catalog drift when engineers make quick fixes?

Restrict human users to read-only roles in your production cloud project during normal operations. Require all container updates to pass through your automated pipeline so the catalog always logs the change.

The query runs. The emails stay hidden.