Bazel Buildfarm, a remote build cache and remote execution farm that lets Bazel share results and offload compilation, so builds and CI run far faster from a farm you own.
Bazel Buildfarm is an open source remote build cache and remote execution service that implements Bazel's Remote Execution API. When your Bazel builds point at a farm, the results of build actions are cached centrally and the actions themselves can be executed on the farm's workers rather than on every developer machine and CI runner. A cache hit skips recompilation entirely, and remote execution moves the heavy compilation off the local machine onto shared, scalable capacity, so a team sharing one farm sees dramatically faster incremental builds and cheaper, more consistent CI.
It suits any team already building with Bazel that wants a shared cache and offloaded execution running inside their own cloud account, rather than depending on a hosted service, and that values owning the infrastructure their build results and source-derived artifacts pass through.
cloudimg delivers a complete single node Buildfarm ready to use: the Redis backplane, the Remote Execution server and an execution worker are installed, tuned and wired together, so a working Remote Execution endpoint is reachable within minutes with nothing to configure. The content addressable cache lives on a dedicated data volume kept off the OS disk. The image is secure by default: a unique backplane secret is generated on each instance's first boot and written to a root only file, and a fail secure gate stops the server and worker starting until that per instance secret exists, so the farm never comes up with a default or build time secret. The Remote Execution endpoint runs arbitrary build actions, so it is treated as a privileged compute plane: only SSH is open by default and you scope the farm port to your own build fleet, while the internal worker port and the backplane stay off the public network. Every deployment is paired with a step by step deploy guide, verified against a real remote build, and backed by 24/7 cloudimg support.
This is a repackaged open source software product wherein additional charges apply for cloudimg support services.
## Bazel Buildfarm - Remote Build Cache and Remote Execution
Bazel Buildfarm is an open source remote build cache and remote execution service that implements Bazel's Remote Execution API. Point your Bazel builds at it and actions are cached and executed on the farm instead of on every developer laptop and CI runner, so a shared cache and offloaded compilation make builds dramatically faster and CI cheaper. This image delivers a complete single-node farm, fully installed and hardened, so a working Remote Execution endpoint is running within minutes of launch with no manual setup.
## What Is Included
## Secure by Default
Unlike a bare deployment, this image is secure by default. A unique Redis backplane secret is generated on each instance's first boot and written to a root-only file, and a fail-secure bootstrap gate ensures the server and worker cannot start until that per-instance secret exists, so the farm never comes up with a build-time or default secret.
The Remote Execution endpoint runs build actions your clients submit, so it is a privileged compute plane. The image ships with only SSH open in its security group; you scope an inbound rule for the Remote Execution port to your own build fleet, keeping the endpoint private to the clients that should reach it. The internal worker port and the Redis backplane are additionally kept off the public network by a firewall guard.
## Use Cases
## Getting Started
1. Launch the AMI on your chosen EC2 instance type.
2. Verify the three services (Redis, Buildfarm server, Buildfarm worker) are running.
3. Add a security group inbound rule for TCP port 8980 scoped to your build fleet CIDR.
4. Configure your Bazel clients with --remote_executor=grpc://INSTANCE_IP:8980 and --remote_cache=grpc://INSTANCE_IP:8980.
5. Run a build - actions execute remotely on the worker and results are cached for subsequent runs.
Every build is verified end to end: a real Bazel build is executed remotely on the worker and re-served from cache on a second run, so you get a farm that genuinely executes and caches actions.
## 24/7 cloudimg Support
Technical support by email and live chat covers deployment, endpoint sizing, network scoping of the Remote Execution port, connecting your Bazel clients, cache and worker administration, and performance tuning.
Bazel and Bazel Buildfarm are trademarks of their respective owners. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.