Assess a project
The assessment reads a Pub/Sub project and reports, for every topic, whether it can move, what it costs on Pub/Sub, and which wave to move it in. It only reads. It runs on your side and sends nothing to lowtide unless you upload the report.
Run it
Section titled “Run it”From the console. On the Migration page’s setup checklist, select Run assessment for a project. The cluster’s agent runs it with its own service account, once its access check passes, and stores the result in the console.
From your shell. lowtide-migrate is part of the lowtide image. Run it with Docker, for example in Cloud Shell:
docker run --rm --entrypoint lowtide-migrate \ -e GOOGLE_OAUTH_ACCESS_TOKEN="$(gcloud auth print-access-token)" \ IMAGE_REPOSITORY:VERSION \ assess --project YOUR_PROJECT > report.jsonYou need Pub/Sub Viewer (roles/pubsub.viewer) and Monitoring Viewer (roles/monitoring.viewer) on the project. Then upload report.json on the console’s Migration page, Assessments tab.
What it reads
Section titled “What it reads”- Topics, subscriptions and snapshots, from the Pub/Sub API.
- Each topic’s IAM policy, to find Google services that publish to it.
- If Cloud Monitoring is reachable, 30 days of published and delivered bytes per topic and subscription.
What it reports
Section titled “What it reports”For each topic:
| Field | Meaning |
|---|---|
| Compatibility | ready, needsBridge (shown as Stays on Pub/Sub) or blocked. |
| Blockers | Why a topic is blocked or stays on Pub/Sub, in words. |
| Subscriptions | Each subscription’s type (pull, push, BigQuery, Cloud Storage) and the features it uses: ordering, filters, dead-letter policy and others. |
| Bytes per month | Published, and delivered per subscription. |
| Pub/Sub cost per month | Published plus delivered bytes at Pub/Sub’s list price of $40 per TiB. |
| Wave | The order to move topics in. |
Why a topic is blocked
Section titled “Why a topic is blocked”- It has a schema, or a subscription writes with the topic’s schema.
- A subscription uses exactly-once delivery.
- It uses single-message transforms.
- It has a Bigtable subscription.
Why a topic stays on Pub/Sub
Section titled “Why a topic stays on Pub/Sub”Google services publish to it, and they can’t be pointed at another endpoint:
- its IAM policy grants a publishing role to a Google-managed service agent (for example Cloud Storage’s or Cloud Logging’s),
- it is an import topic that ingests from another source,
- or it is a well-known Google topic such as
cloud-builds,gcrorcontainer-analysis-*.
Its subscribers can’t move either: they keep reading from Pub/Sub.
- Wave 1: the ready topics that make up the first 80 % of the known Pub/Sub cost, most expensive first. When no cost is known, every ready topic.
- Wave 2: the other ready topics.
- Wave 3: topics that stay on Pub/Sub.
- Blocked topics get no wave.
Start with a small, low-risk topic from wave 1 to rehearse the steps, then move the rest of wave 1.
Run it again
Section titled “Run it again”Projects change. Run the assessment again before each wave, so new topics and subscriptions are in the plan.