The Simplest Way to Make Azure Data Factory and Google Cloud Deployment Manager Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams use azure data factory and google cloud deployment manager to run data jobs across clouds. The first tool moves data, while the second tool sets up the cloud resources needed. In production, data pipelines often need fresh storage buckets, tables, or compute clusters. A pipeline run can trigger a deployment template to build those targets on demand. Once the job finishes, another step can tear down the temporary resources to save money. How azure data factory and google cloud deployment

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 use azure data factory and google cloud deployment manager to run data jobs across clouds. The first tool moves data, while the second tool sets up the cloud resources needed.

In production, data pipelines often need fresh storage buckets, tables, or compute clusters. A pipeline run can trigger a deployment template to build those targets on demand. Once the job finishes, another step can tear down the temporary resources to save money.

How azure data factory and google cloud deployment manager share roles and data

Linking these two systems starts with a clear identity plan across both clouds. The data pipeline needs permission to call the Google API and read storage buckets. You set this up by creating a dedicated service account on the Google side.

Previously, teams exported static keys and pasted them into pipeline settings. That habit creates high risk because static keys do not expire on their own. A better way uses workload identity federation between the two cloud providers.

With federation, the Azure pipeline uses its own managed identity to request a token. Google checks the Azure token and trades it for a short-lived local token. The pipeline then calls the deployment API or moves data without storing static secrets.

Data flows through staging buckets or direct table transfers once the resources exist. The deployment tool reads its template, creates the buckets, and sets the bucket roles. Next, the data factory worker reads from the source and writes to the new bucket.

Common failure modes and how to scope network paths

The biggest mistake teams make is giving one service account full owner rights. If a deployment template has a bug, an over-privileged account can wipe out production tables. Shared accounts also make it hard to see which pipeline changed a cloud resource.

You can fix this by splitting the deployment role from the data worker role. Give the deployment tool only the rights needed to build the specific target resources. Give the data movement worker only read and write rights on the new staging bucket.

Azure RBAC + GCP Access Context Manager: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged queries and blind API calls cause another major pain point for platform teams. When a cross-cloud job fails, engineers waste hours checking logs in two separate consoles. Turn on audit logs on both sides and pass a shared run ID in requests.

Network paths between the two clouds also need strict rules to keep data safe. Public endpoints expose your storage buckets and API calls to the open internet. Set up private peering or a secure VPN tunnel between your cloud networks instead.

Pair those private network routes with service perimeter rules on the Google side. This step stops data workers from copying sensitive tables to unapproved external buckets. Also, apply data masking to rewrite matched card numbers or emails in query results.

Keeping templates and pipelines in sync

Cross-cloud setups break when one team changes a template without telling the data team. Store your deployment templates and your pipeline definitions in the same version control repo. Run automated checks on pull requests to catch missing bucket names or broken role bindings.

Test your templates in a sandbox project before you run any production data jobs. Keep each template small so a single failure does not halt your whole platform. Clear ownership and tight roles keep both tools running well day after day.

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 authenticate between Azure and Google Cloud without static keys?

Use workload identity federation to link an Azure managed identity to a Google service account. This setup trades an Azure token for a short-lived Google token at runtime.

Should the pipeline and the deployment tool share the same service account?

No, you should always create separate service accounts for resource setup and data movement. This split keeps a broken data job from deleting cloud resources by mistake.

How can I protect sensitive data moving between these two cloud tools?

Route all traffic over private network links and restrict buckets with strict perimeter rules. You can also use masking rules to rewrite emails and phone numbers in results.

The query runs. The emails stay hidden.