The Simplest Way to Make Ceph and Google Cloud Deployment Manager Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

You pair ceph and google cloud deployment manager to build cloud storage clusters on demand. The cloud tool sets up compute nodes and disks, while the storage tool groups them into one pool. This setup helps a team build repeatable storage pools for apps. Engineers write declarative templates to launch virtual machines and attach raw block disks. Then startup scripts join those nodes into a shared storage cluster. This workflow cuts out manual clicks in the cloud console. Teams can spin up fres

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 ceph and google cloud deployment manager to build cloud storage clusters on demand. The cloud tool sets up compute nodes and disks, while the storage tool groups them into one pool.

This setup helps a team build repeatable storage pools for apps. Engineers write declarative templates to launch virtual machines and attach raw block disks. Then startup scripts join those nodes into a shared storage cluster. This workflow cuts out manual clicks in the cloud console. Teams can spin up fresh test clusters or add storage nodes in minutes.

How ceph and google cloud deployment manager share roles and data

The two tools talk through cloud service accounts and local cluster keys. First, a team member or pipeline triggers a template run. The cloud engine reads the template and calls the compute API. It uses a built-in cloud service account to create networks, firewall rules, and virtual machines. Each machine boots up with raw attached disks.

Next, the storage software takes over on the new hosts. Startup scripts pull cluster keys from a secure cloud secret store. The primary monitor nodes check these keys before letting new disk daemons join. Data then flows across a private internal network between the storage nodes. Client apps read and write blocks, files, or objects over that private network.

Clear separation between cloud setup roles and storage admin keys keeps the system safe. The cloud engine only needs rights to create hosts and disks. It does not need permission to read data inside the storage pools.

Common failure modes and how to scope network paths

Many teams hit trouble when they share broad service accounts across both systems. If a startup script uses a default cloud role with full editor rights, any node compromise puts the whole cloud project at risk. Long-lived admin keys baked into machine images create another huge problem. When an engineer leaves the team, rotating those static storage keys breaks running apps.

Unlogged admin commands also cause headaches during outages. When several operators log into monitor nodes with a shared root key, nobody knows who changed a pool rule. Also, sensitive data inside object buckets can leak during debug runs. Applying data masking rewrites matched fields like emails, phone numbers, card numbers, and national IDs in query results.

GCP Access Context Manager + Deployment Approval Gates: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

You can fix these issues by scoping roles and network paths tightly. Give the template engine a custom role that only creates compute instances, disks, and internal firewall rules. Place the cluster network on a dedicated private subnet with no public IP addresses. Split the front-end client network from the back-end replication network using separate virtual interfaces.

Day-two operations and safe state updates

Running a stateful storage cluster inside a declarative cloud tool takes careful planning. If you update a template to change a machine type, the cloud tool might delete and recreate the host. Deleting three monitor nodes at once will destroy the storage quorum and cause data loss.

To prevent this, separate stateless compute templates from stateful disk templates. Set disk deletion policies so that raw volumes survive even if a virtual machine restarts. When you scale the cluster up, add new node definitions rather than editing old ones. Before you remove a host from a template, drain its storage daemon first. Wait for the cluster to finish moving data chunks to healthy disks. Once the node holds zero data, remove it from the template and run the update.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

Why did Google deprecate Deployment Manager and how does it affect storage setups?

Google scheduled the tool for shutdown and recommends moving to stack Manager. Existing storage templates still run for now, but teams should plan to port node layouts to Terraform.

How do you stop template updates from wiping out storage disks?

Keep persistent disks in a separate deployment or set the abandon policy on delete. Always drain data from storage daemons before letting the cloud tool replace a host.

How should new storage nodes fetch cluster join keys during boot?

Store the bootstrap keys inside a managed cloud secret store instead of plain template text. Grant the node service account read rights to fetch that secret only during startup.

The query runs. The emails stay hidden.