The Simplest Way to Make Ceph and Teamcity Work Like They Should
You pair ceph and teamcity to store large build files in distributed object storage. The build server runs tests and pushes output files to your storage cluster. This setup keeps your main build server disk from filling up fast. Build agents pull only the exact files they need for each step. Teams get fast builds without buying expensive local drives for every server. How ceph and teamcity share data and keys Your build server needs a clean way to talk to your storage cluster. Most teams use
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 teamcity to store large build files in distributed object storage. The build server runs tests and pushes output files to your storage cluster.
This setup keeps your main build server disk from filling up fast. Build agents pull only the exact files they need for each step. Teams get fast builds without buying expensive local drives for every server.
How ceph and teamcity share data and keys
Your build server needs a clean way to talk to your storage cluster. Most teams use the S3 web interface built into the storage system. This allows the build server to treat local storage like a cloud bucket.
First, an admin creates a dedicated user account inside the storage cluster. That account gets a public key and a secret key for login. Next, the admin adds those keys to the main build project settings.
When a build finishes, the agent packs the output into an archive. The agent uses the storage keys to upload files over the network. The main server records the file path instead of saving the raw bytes. Later builds read that path and pull the files right from storage.
You can also mount block drives directly to your Linux build agents. Block storage gives fast disk speeds for compiling big software projects. After the job ends, the agent cleans the workspace or drops the volume.
Common failure modes and how to scope roles
Many teams use one master storage key for every single build project. This bad habit creates a huge security risk across your whole setup. If one test script leaks that key, an attacker can wipe all buckets.
Shared service accounts also make your storage logs very hard to read. When a rogue job floods the cluster, you cannot see who ran it. Every build agent looks identical inside the central storage audit logs.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
You can fix this by giving each project its own storage user. Set strict rules so a project only reads and writes its own bucket. Never give a build agent admin rights to the storage cluster itself.
Network stalls are another common problem when pushing big build files. If many agents upload gigabytes at once, the storage network can choke. Place your build agents on the same fast local network as your storage nodes. Keep public traffic separate from the internal network that replicates your storage blocks.
Keeping storage clean and fast over time
Build servers create thousands of gigabytes of dead files every single month. Even huge storage clusters will run out of space without cleanup rules. You must set clear limits on how long old build files stay around.
Set up cleanup rules inside the build server to delete old test runs. Keep release builds forever, but wipe daily branch builds after one week. Make sure the build server sends delete calls to the storage cluster too.
You should also set bucket rules on the storage side as a backup. Storage buckets can purge partial uploads that fail when a build crashes. Failed jobs often leave half-written files behind that eat up free space. Checking bucket size each week helps you spot runaway builds early.
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
Should I use object storage or block storage for build outputs?
Use object storage through the S3 interface for saving finished build files. Save block storage for temporary agent workspaces that need fast disk reads.
Why do my build agents fail when uploading large files?
Large uploads often fail due to slow network links or strict size limits. Check the maximum request size on the web nodes fronting your storage cluster.
How often should we rotate storage keys used by build projects?
Rotate your project storage keys at least once every ninety days. Create a second key pair first so running builds do not crash during rotation.
Related guides
In this post