HermetiqDocsOpen dashboard
Remote execution

Configure remote execution

Try shared Buildbarn workers in Hermetiq Cloud, plan custom execution, or keep your existing Buildbarn. Configure Bazel and verify a remotely executed action.

Endpoint · Authentication · Platforms · Toolchains · Verification

Choose the execution service

What is included in Managed Builds?

Managed Builds uses Buildbarn for remote caching and execution. Cloud Managed Buildbarn includes Hermetiq Intelligence: an AI build engineer, analytics, and MCP. Every Hermetiq Cloud project can try shared workers through Quickstart without a separate executor-provisioning request. For custom capacity or a deployment in your environment, agree workload compatibility, setup, support, and day-to-day operating responsibilities with Hermetiq.

How do Managed Builds and Intelligence relate to the product names?

Build Intelligence is the Hermetiq Intelligence software: analytics, Barn Owl AI investigations, and MCP. Managed Builds is the Buildbarn-based remote cache and execution service operated by Hermetiq. Cloud Managed Builds includes Build Intelligence. For Managed Builds in your environment, Intelligence is available separately. Cloud and Self-hosted describe where a product runs; operating responsibilities are defined in your agreement. Buildbarn is not required for Build Intelligence.

Hermetiq Managed Builds

Cloud Managed Builds runs Buildbarn in Hermetiq Cloud. Start with the shared-worker trial below. Self-hosted Managed Builds runs in your environment, with provisioning, support and operational responsibilities agreed with Hermetiq.

Existing Buildbarn with Hermetiq Intelligence

Keep your current executor configuration. Your Buildbarn operator supplies the endpoint, instance, authentication, platforms, worker images and scaling policy. Connect the action data and other telemetry you need for intelligence.

Start Managed Builds

Not using Bazel yet? Start with a workload and migration assessment. The agreed workload needs a supported Bazel build before Hermetiq can operate it.

Can I try managed Buildbarn without provisioning a cluster?

Yes. Every Hermetiq Cloud project can use shared Buildbarn workers from Quickstart. Use the project's remote cache endpoint as its executor, its project ID as the remote instance, and the pool=sizeclass execution property. No separate executor-provisioning request is needed. The shared trial workers run Ubuntu 22.04; idle capacity is limited, startup may involve a wait, and actions can fail when required tools or system dependencies are missing. Verify an action actually executed remotely before moving a workload. Custom capacity and customer-hosted deployments need separate planning. See the remote-execution guide.

  1. Create the project. For Cloud, create a project and connect Bazel build data. For self-hosted deployments, install the service in your environment.
  2. Choose the worker path. In Hermetiq Cloud, use Quickstart’s “Try remote execution” settings for the shared workers. No separate executor-provisioning request is required. For custom capacity or self-hosted deployments, agree platforms, worker images, region and capacity with Hermetiq and use the supplied settings.
  3. Configure Bazel. Add the executor configuration below using those supplied values. Existing BEP ingestion or remote cache access alone does not enable remote execution.
  4. Verify a remote action. Run a representative target and check both Bazel’s execution evidence and the Hermetiq invocation before moving CI traffic.

For the Cloud trial, add the following to the same configuration group as your authenticated Quickstart settings. Replace the placeholders with the values from your own project; keep its credential helper configured.

.bazelrc · Cloud shared-worker trial
build:hermetiq --remote_executor=<PROJECT_REMOTE_CACHE_ENDPOINT>
build:hermetiq --remote_instance_name=<PROJECT_ID>
build:hermetiq --remote_default_exec_properties=pool=sizeclass
Run a representative target
bazel build --config=hermetiq //your:target --noremote_accept_cached

Check the remote-execution evidence in the verification steps. Do not combine a disk cache with build-without-the-bytes in this configuration: outputs served only from that disk cache may be unavailable to a later remote action. The Cloud setup service recommends omitting the disk cache, or using --remote_download_all if you need both.

Plan custom capacity or a self-hosted deployment →

Check workload compatibility

Choose the execution environment for the tools your actions run, separately from the developer’s laptop and the platform you are building for. Use the platform values supplied for your provisioned worker pool.

Operating system and CPU

Confirm that your worker pool supports the execution OS and CPU architecture required by your compilers, SDKs and test binaries.

Worker images and tools

The public Buildbarn chart configures runner images and worker platform properties. Agree on the image, included tools, registry access and any Docker-dependent tests before provisioning. Self-hosted examples are available in the Buildbarn chart guide.

Region and network

Confirm your Cloud service region or the location of your self-hosted cluster, plus connectivity to source, dependencies, registries and artifact storage.

Capacity and availability

The Cloud shared-worker trial is available through Quickstart. Limited idle capacity can mean waiting for workers to start. For custom capacity and customer-hosted deployments, confirm concurrency, resource sizes and worker pools separately. A cache hit or successful BEP upload does not prove execution on a worker.

For self-hosted installation platform requirements, see the Kubernetes support matrix. That matrix describes the hosting platform, not every OS or architecture that a remote action can execute on.

Configure Bazel

Set --remote_executor to the execution frontend and use the instance name required by that service. Keep the flags in an explicit configuration until the integration is verified.

.bazelrc · structure only
# Structure only: use the values supplied for your project
build:hermetiq-rbe --remote_executor=<RBE_ENDPOINT>
build:hermetiq-rbe --remote_instance_name=<INSTANCE_NAME>

# Repeat this flag for the properties required by your execution platform
build:hermetiq-rbe --remote_default_exec_properties=<NAME>=<VALUE>

Activate these scoped entries with --config=hermetiq-rbe. If you choose a different configuration name, use that name consistently in local and CI commands.

Use the credential-helper host mapping generated for the project or supplied by the customer-managed administrator. If the deployment uses separate cache and executor endpoints, ensure the helper covers every authenticated host and configure the matching remote cache explicitly.

Review the base Hermetiq Bazel configuration →

Match instance and authentication

  • The --remote_instance_name value must identify the storage and execution namespace assigned to the project.
  • The machine credential must be authorized for that project and for the executor, cache, CAS, or Bytestream hosts it contacts.
  • Use grpcs:// when the service requires TLS. Install the required trust chain rather than disabling certificate validation.
  • For customer-managed RBE, follow the deployment’s OAuth, mTLS, or metadata convention; not every deployment enables every authentication method.

Authentication success does not guarantee access to the requested instance. A credential can be valid while the instance name or routing metadata is wrong.

Match execution platforms

Remote schedulers match actions to workers using platform properties. The Buildbarn or managed-service operator should publish the supported operating system, architecture, container image or worker pool, and any custom property names and values.

  • Set only properties the scheduler recognizes, using the exact spelling and values supplied by the operator.
  • Use Bazel execution platforms and toolchain constraints when different targets require different workers.
  • Keep target and exec-platform constraints separate: a target may produce one platform’s output while its tools run on another.
  • Verify that worker capacity exists for every property combination emitted by the build.
Troubleshoot unmatched toolchains →

Make actions portable

A remote worker does not automatically have the tools installed on the Bazel client. Actions should declare their tools and inputs through Bazel toolchains, repositories, runfiles, or the execution environment agreed with the RBE operator.

  • Avoid undeclared reads from the client filesystem, home directory, or host-specific absolute paths.
  • Do not assume the worker image contains a compiler, shell, SDK, certificate bundle, or system package unless the platform contract says it does.
  • Keep environment-dependent values explicit and stable when they affect action keys.
  • Test representative targets, tests, code generation, and packaging workflows before moving all CI traffic.

Enable action-level observability

Completed-action logging is separate from executing actions. When the deployment’s action logger, event stream, project setting, and request metadata propagation are configured, Hermetiq can associate remote actions with queue, input-fetch, execution, output-upload, worker, and cost context.

If builds execute remotely but the Remote Execution Analytics or action timing views are empty, verify the Completed Action Log integration. Enabling it only affects newly emitted action events and does not reconstruct older runs.

Configure completed-action data →

Verify the integration

  1. Run a small representative target with the explicit RBE configuration. Choose an action that actually needs to execute, rather than a fully cached build.
  2. Confirm Bazel reports remote execution for that action. Keep its execution log or equivalent runner evidence; a successful build, a remote cache hit or a recorded BEP event alone does not prove remote execution.
  3. Open the invocation in Build History and check its command line, action outcomes, failures, and available remote-execution timing.
  4. Repeat the build to exercise cache behavior, while remembering that a cache hit does not prove an action executed remotely on the second run.
  5. Expand to representative tests and toolchains, then observe queue time and worker capacity under CI concurrency.

Troubleshoot remote execution

Unauthenticated or denied

Check the credential helper, endpoint host mapping, project authorization, certificate validity, and the deployment’s required OAuth, mTLS, or metadata.

No matching workers

Compare emitted platform properties and Bazel constraints with the worker pools actually registered in the scheduler.

Actions stay queued

Check scheduler health, compatible worker capacity, autoscaling limits, worker registration, and resource requests.

Local success, remote failure

Look for undeclared tools or inputs, host paths, network assumptions, incompatible binaries, environment drift, and writable-path expectations.

Missing action analytics

Check completed-action production, stream consumption, project enablement, request metadata, and the selected project and time range.

Last reviewedNovember 19, 2026