The Simplest Way to Make Google Compute Engine and Zerto Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You pair Google Compute Engine and Zerto to copy virtual machines for fast recovery. This setup sends block data from local servers to cloud disks in real time. Teams use this workflow to test recovery plans and recover from site outages. When your primary site fails, the backup tool boots new cloud instances from snapshots. You keep downtime low and protect critical business apps without running duplicate servers all day. How Google Compute Engine and Zerto share data and roles The replicat

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.

You pair Google Compute Engine and Zerto to copy virtual machines for fast recovery. This setup sends block data from local servers to cloud disks in real time.

Teams use this workflow to test recovery plans and recover from site outages. When your primary site fails, the backup tool boots new cloud instances from snapshots. You keep downtime low and protect critical business apps without running duplicate servers all day.

How Google Compute Engine and Zerto share data and roles

The replication tool runs a virtual appliance inside your Google Cloud project. This appliance receives changed data blocks from your source hypervisors over a private link. It writes those blocks into cloud storage buckets and persistent disks to track history.

To do this work, the appliance needs a dedicated Google Cloud service account. That service account holds permissions to create disks, attach networks, and start virtual machines. During normal days, the system only writes journal data to cheap storage.

During a failover event, the appliance reads the journal and builds compute instances. It attaches the right virtual network interfaces and boots the servers in order. Your team then points traffic to the new cloud instances and checks app health.

Common failure modes and how to scope roles

Many teams give the backup service account broad project owner roles during setup. If an attacker steals that key, they can delete your whole cloud project. You should build a custom role that only grants disk, network, and instance permissions.

Shared admin passwords on the backup console also create big audit gaps. When someone triggers a test failover or deletes a journal, you need clear logs. Tie the backup management console to your main identity provider so every user logs in.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Network paths between sites often break when firewall rules change without warning. Replication traffic needs steady bandwidth over a private VPN or dedicated interconnect link. Set up network rules that only allow the backup appliances to talk on needed ports.

Also, keep your recovery storage in a separate project or restricted zone. This step stops regular developers from changing or deleting replication disks by mistake. Run regular test boots in an isolated bubble network to verify your recovery plan works.

Securing admin sessions during recovery tests

During a disaster drill, engineers log in to many new virtual machines to check apps. Opening public SSH or remote desktop ports on recovered servers brings high risk. Attackers scan cloud networks all day for open ports on freshly booted hosts.

Keep recovered instances on private subnets with no public IP addresses attached. Check that your team can reach these private hosts through a central, audited entry point. You should also mask sensitive data like emails or card numbers during test queries.

When the drill ends, tear down the test instances right away to save money. Check your cloud billing logs to make sure no orphan disks remain behind. Good cleanup habits keep your recovery setup clean and ready for real emergencies.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.

First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

How does Zerto write data to Google Compute Engine during normal runs?

It sends changed data blocks to a cloud appliance that writes to storage buckets. It only creates full compute instances when you trigger a test or real failover.

How should we restrict the Google Cloud service account for backups?

Create a custom role with only the required compute, storage, and network permissions. Never use the default project owner or editor roles for a replication appliance.

How can we test failovers without breaking production network traffic?

Boot the test instances inside an isolated cloud network with no routes to production. This lets engineers verify app startup without causing IP conflicts or data leaks.

The query runs. The emails stay hidden.