The Simplest Way to Make Ceph and Databricks Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Running ceph and databricks together lets teams analyze petabytes of private object data. Ceph stores raw files on your servers while Databricks runs fast compute jobs. Many teams keep raw logs and tables inside their own data centers. They still want cloud spark clusters to read and write those files. An S3-compatible interface bridges these two systems for daily analytics work. How ceph and databricks share data and permissions Ceph offers an object gateway that speaks the standard S3 API

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 databricks together lets teams analyze petabytes of private object data. Ceph stores raw files on your servers while Databricks runs fast compute jobs.

Many teams keep raw logs and tables inside their own data centers. They still want cloud spark clusters to read and write those files. An S3-compatible interface bridges these two systems for daily analytics work.

How ceph and databricks share data and permissions

Ceph offers an object gateway that speaks the standard S3 API protocol. Databricks clusters use standard S3 client libraries to read and write buckets. You point the spark cluster to your Ceph endpoint URL during setup.

Logins between the two tools rely on access keys and secret keys. A cluster reads these keys from a secret store when it boots. The Ceph object gateway checks the keys against its internal user list. If the keys match, the gateway checks the bucket rules for that user.

Data then flows over a private network link or a secure VPN tunnel. Spark workers pull data blocks from Ceph storage nodes into memory. When the job ends, workers write the output tables back to Ceph.

Common failure modes and how to scope roles

The biggest risk in this setup is a shared root storage key. Teams often put one broad Ceph key into a shared cluster profile. Every user on that cluster then gets full read and write power. One bad script can delete production buckets or expose private customer data.

Shared keys also ruin your audit logs on the storage side. Ceph logs will show that the shared cluster account read a file. You will not know which data scientist or notebook ran the query. When keys never expire, a leaked notebook file puts all buckets at risk.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, create separate Ceph users for each team or project. Give each user read or write rules for one specific bucket prefix. Map those limited keys to separate cluster profiles in your workspace. Lock down the network path so only known cluster IPs reach Ceph.

Keeping sensitive fields safe during analytics runs

Raw buckets often hold customer emails, phone numbers, and credit card numbers. Data engineers need to test pipelines without exposing these raw values in notebooks. You should apply field masking rules before results reach the user screen. Masking rewrites matched fields like national IDs in query results during runtime. Analysts still see valid data shapes, and your privacy rules stay intact.

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

How does Databricks talk to a private Ceph cluster?

Databricks talks to Ceph through the Ceph Object Gateway S3 endpoint. You set the custom endpoint URL and pass S3 keys to the cluster.

How can we stop users from sharing one Ceph access key?

Create unique Ceph gateway users with bucket policies scoped to single folders. Assign those scoped keys to isolated cluster roles for each project team.

Why do Ceph logs miss the real notebook user name?

Standard S3 calls only pass the static storage key to Ceph. You must tie identity checks to the session to log the person.

Teams that document these role rules and review logs each month catch config drift early. Clear ownership for each role keeps live systems simple to run and easy to audit across the whole team.

The query runs. The emails stay hidden.