The Simplest Way to Make Ceph and Cloudflare Workers Work Like They Should
Running ceph and cloudflare workers together pairs private object storage with global edge compute. Edge scripts handle incoming user traffic and read or write objects in your storage cluster. This setup keeps heavy data on hardware that your team owns and controls. At the same time, edge nodes process web requests close to your end users. You avoid public cloud storage egress fees while keeping response times very low. How ceph and cloudflare workers share data and keys Ceph offers an objec
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.
Running ceph and cloudflare workers together pairs private object storage with global edge compute. Edge scripts handle incoming user traffic and read or write objects in your storage cluster.
This setup keeps heavy data on hardware that your team owns and controls. At the same time, edge nodes process web requests close to your end users. You avoid public cloud storage egress fees while keeping response times very low.
How ceph and cloudflare workers share data and keys
Ceph offers an object gateway that speaks the standard S3 web protocol. Cloudflare Workers run JavaScript or WebAssembly at the network edge to handle user requests. Because the worker speaks HTTP, it can send signed requests to the storage gateway.
To make this work, the worker needs an object storage user key. You create a user in the storage gateway and assign specific bucket rights. Then you store those secret keys inside the edge worker runtime settings. When a user asks for a file, the worker signs a web request. The storage gateway checks the signature and sends the object back to the worker.
The worker can also create short-lived signed URLs for direct client uploads. This approach takes heavy file transfer traffic off your edge compute scripts. The client uploads the file straight to the storage gateway using the temporary link.
Common failure modes in edge to storage setups
Teams often hit security and network traps when linking edge code to private clusters. The most common mistake is using one admin storage key across many edge scripts. If one worker script leaks its secret key, an attacker can read every bucket. Shared keys also make it hard to see which script made a bad write.
Another big risk comes from opening your storage gateway to the whole internet. Edge workers run in hundreds of data centers around the world. Because their source addresses change, teams often leave storage ports open to all traffic. This exposes your storage cluster to brute force attacks and public traffic spikes.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Unlogged requests and raw sensitive data also cause headaches for operations teams. Edge scripts might fetch objects that contain user emails, phone numbers, or card numbers. Without field masking that rewrites matched fields in results, raw data spreads to edge logs. Also, basic storage logs rarely show which user triggered an edge script action.
Scoping roles and network paths for edge storage
You can fix key sprawl by creating one storage user per edge worker. Grant each user read or write rights to a single bucket prefix only. Never give an edge script admin rights to create or delete whole buckets. Rotate these storage keys on a set schedule to limit the blast radius.
To lock down the network path, do not expose raw storage hosts directly. Restrict incoming traffic to known edge network ranges and require strict TLS encryption. You can also use mutual TLS certificates so the cluster drops unsigned traffic fast. Keep management ports on a private network that edge workers cannot reach.
Make sure you link edge request IDs to your storage gateway audit logs. Pass a custom header from the worker so the storage log records the source. This helps your team trace bad requests back to a specific edge deployment.
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 do Cloudflare Workers talk to a Ceph cluster?
Workers send standard HTTP requests to the S3 interface on the Ceph object gateway. The edge script signs each request with a secret key before sending it over HTTPS.
Should an edge worker stream large files from Ceph?
No, streaming huge files through edge scripts uses too much memory and CPU time. Instead, have the worker return a short-lived signed URL so the client downloads directly.
How can teams protect Ceph from public internet traffic?
Teams should place TLS checks and IP filters in front of the object gateway. Using mutual TLS ensures that only authorized edge scripts can reach the storage cluster.
Related guides
In this post