Temporal Nexus on self-hosted clusters

Temporal Nexus lets workflows in one namespace call services owned by another team on a self-hosted cluster. This page covers the settings to plan, the endpoint design, the security controls and how calls behave during failover.

On this page

What Temporal Nexus on a self-hosted cluster does and when teams need it

Teams need Temporal Nexus when one team's workflow must call an operation owned by another team, and that operation lives in a different namespace. Without it, the calling team usually relies on a shared task queue that both sides can poll, a direct HTTP or gRPC call into the other team's service, or a copied workflow. Each of those couples the teams in a way that is hard to govern. Nexus gives the caller a named endpoint that routes the request to a handler in the owning namespace, so the caller depends on a contract rather than on the other team's internal queues or hosts. The Temporal documentation describes Nexus as a way to connect Temporal applications across namespaces, regions and teams, with the operation running as durable work on the owning side. Confirm that description and its scope against the Temporal documentation for your server line before you design around it.

Nexus is worth considering when the boundary between teams is also a boundary for access, data or ownership. A payments team that must keep its ledger operations inside its own namespace, for example, can expose a narrow operation that a customer onboarding workflow calls. A shared task queue would let any poller in the account run that work, and a direct API call would need its own retry, timeout and authentication logic. Illustratively, if the owning team changes its implementation, the endpoint name stays stable and the caller does not redeploy. If your teams only share a process or a single owner, a plain child workflow or activity is simpler and should be the default.

Before you commit, confirm two things for your own cluster. First, the HTTP API and callback settings that Nexus depends on differ by server version, so read the release notes for the exact minor line you run and the line you plan to move to. Second, ask whether your deployment exposes the endpoints and callback paths that cross-namespace calls need, and how those paths are reached from each team's workers. Treat these as open questions for the design review, not as settings to copy from another cluster.

How a Nexus call travels between namespaces and back

The call starts in the caller namespace, where a workflow invokes a Nexus operation through a named endpoint. The Temporal frontend resolves that endpoint in the endpoint registry and routes the request to the handler namespace, where a separate team's worker runs the operation. The result returns to the caller along the callback path. Check the two trust boundaries, and check where a failover could interrupt the call between the hand-offs.

Request and callback path for one Nexus call across two team boundaries.

Which Nexus configuration options fit each cluster design

This table compares the decisions you must make before enabling Temporal Nexus on a self-hosted cluster: shared or separate clusters, one endpoint per service or shared endpoints, how callbacks reach the caller, and how access is granted. Read each row against your team count and failure-domain needs, then confirm exact configuration keys in the Temporal docs for your server version. The main takeaway is that every option that adds isolation also adds clusters, endpoints or access rules to operate.

OptionWhen it fitsOperational cost
One shared clusterFew teams that trust each other and share one failure domain and upgrade windowOne upgrade cycle and one on-call scope, but a single misconfigured endpoint or namespace can affect every team
Separate clusters per teamTeams with different compliance boundaries, release schedules or regional residency needsSeparate upgrades, persistence and visibility stores, monitoring and Nexus endpoint registrations for each cluster
One endpoint per serviceStable, owned interfaces where each provider team controls its own operations and accessMore endpoints to register, name and retire, and more access entries to review as services change
Shared endpointsSeveral callers reach a common capability and ownership of the endpoint is clearA shared target becomes a dependency for every caller, so changes need coordinated testing and rollback planning
Callback reachability on a private networkCallers and handlers run inside trusted internal networks, consistent with Temporal's guidance to keep services off the public internetRouting, DNS and certificate work for each callback path, and extra testing when network zones change
Callback reachability through a gateway or proxyCross-zone or cross-team traffic must pass an approved inspection or policy pointGateway configuration, timeout tuning and monitoring of the extra hop; confirm supported callback routing in the docs for your version
Access through the Authorizer and ClaimMapperMultiple teams need role-based rights on namespaces or endpoints, mapped from identity provider claims or certificatesPolicy authoring, claim mapping tests and periodic review; without a configured Authorizer, the default noopAuthorizer allows every request
Access through mTLS identity onlyServices have stable certificates and a small, slow-changing set of callersCertificate issuance, rotation and revocation work that grows with each new caller and service

Why endpoint design decides who can call what

A Nexus endpoint is the stable name that callers use to reach an operation a team exposes, so its design decides ownership, naming and change control across teams. Name each endpoint after the service that owns the capability, for example payments-ledger (illustrative), so the name stays valid when callers change. Names built from callers, such as billing-team-calls-fraud, tie the contract to whoever calls today and force a rename when a second team needs access. Assign one owning team to each endpoint, record that owner in an internal registry, and require the owner to approve changes to the target namespace, task queue or operations behind it. Confirm in the current Temporal Nexus documentation which naming rules and endpoint metadata the server enforces on your version.

Endpoint design also determines who can invoke it, and the default on a self-hosted cluster is open. If no Authorizer is configured, the default noopAuthorizer allows every API request with no authentication or access control, so any client that reaches the frontend can call any endpoint. Before exposing endpoints, configure an Authorizer and a ClaimMapper that maps JWT or certificate claims from each team's identity to namespace roles, and keep frontend traffic on mTLS. The Temporal self-hosted security documentation describes these controls. Confirm whether your Authorizer can make decisions per endpoint or only per namespace, because that determines whether a team can be limited to one endpoint or must receive access to the whole namespace. Test the result with a client from a team that should be refused.

Changing an endpoint affects running workflows as well as new calls. Callers reference the endpoint by name, so retargeting it changes where future operations go, while operations already in progress depend on the workflow and handler that accepted them. A safer pattern is a staged change: create a new endpoint for the new target, move callers over in controlled releases, confirm that no operations still use the old endpoint, and only then retire it. Confirm how the server handles in-flight Nexus operations when an endpoint is updated or deleted, and whether the old handler must stay registered while any caller remains. Write these answers into the change procedure before the first production endpoint goes live.

Setup sequence for enabling Nexus on a self-hosted cluster

This sequence takes a self-hosted Temporal cluster from an unconfirmed Nexus setup to a tested cross-namespace call and callback, with an access check at each stage. Each step closes with a check that the platform team can record as evidence before the next step starts.

  1. Confirm the server version and Nexus documentation

    The platform team records the Temporal Server version in use and reads the release notes and Nexus documentation for that exact version, since Nexus behavior, HTTP API and callback settings can differ between minor lines. Check the GitHub releases page for the current patch of each line you run. If the cluster needs an upgrade, move one minor version at a time to the latest patch of the current minor first, and run schema upgrades before server upgrades when the release notes call for them. Done when the version, the documentation page and the release notes are saved with the change record.

  2. Confirm persistence and visibility backends

    Check that the persistence database and the advanced visibility store are on the supported list for your server version. Temporal's persistence documentation lists tested versions for Cassandra, PostgreSQL and MySQL, and SQLite is only for development and testing. The visibility documentation lists Elasticsearch, OpenSearch and SQL options by server version. Confirm these in the same test environment you will use for Nexus, not only in production. Done when each backend version is written next to the server version and a test cluster starts and reports healthy against them.

  3. Enable Nexus in the server configuration

    The platform team turns on the Nexus feature in the server configuration for the version confirmed in step one, using the configuration keys named in that version's documentation. Confirm the exact keys and any required flags before editing files, and make the change in a non-production environment first. If you deploy with Helm, check that the chart version supports your server image, because chart versions below 0.73.1 do not work with server images 1.30 and later. Restart the services and confirm the frontend service is healthy, the Web UI loads, and the Nexus HTTP endpoints respond. Done when the services report healthy with the feature enabled and no configuration warnings in the logs.

  4. Register endpoints for the target namespaces

    Create a Nexus endpoint for each capability that one team exposes to others. Each endpoint points to a target namespace and a task queue that the handler workers will poll. Name endpoints by the capability they offer, not by the team that owns them, so callers depend on the contract and not on internal structure. Write down the owner, target namespace and task queue for each endpoint. Done when the endpoint listing shows every planned endpoint and a describe call returns the expected target and task queue for each one.

  5. Set access rules for callers

    Configure the Authorizer, the ClaimMapper and, where needed, mutual TLS so that only approved callers can reach each endpoint. The security documentation states that a server with no Authorizer configured uses a noopAuthorizer that allows every API request, so this step must be done before any shared use. Map JWT or certificate claims to namespace roles, and confirm with the version's documentation whether Nexus operations are covered by the authorizer you chose. Verify in two checks: an authorized caller's test call succeeds, and an unauthorized caller is refused with a permission error. Done when both checks are recorded with the caller identity used.

  6. Deploy handler and caller workers

    Deploy handler workers in the target namespace, polling the task queue named in each endpoint, and deploy caller workers in the calling namespace that run the workflows which invoke the endpoint. Keep handler and caller deployments separate so each team can release on its own schedule. Confirm in the Web UI or CLI that each worker is polling its task queue and that the caller namespace can see the endpoint. Done when every handler task queue shows an active poller and a caller workflow starts without a configuration error.

  7. Test a cross-namespace call and a callback

    Run a test workflow in the caller namespace that calls an endpoint and waits for the result, then confirm the response appears in the caller's workflow history and the handler's history shows the matching operation. Next, run an operation that returns a callback, and confirm the callback is delivered and the caller workflow completes. Stop a handler worker during a test call to confirm the caller retries or fails as expected, then restart it. Done when the synchronous call, the callback and the failure case all produce the expected history entries and the results are saved with the test record.

Deployment settings to check for each install method

The Helm chart runs each Temporal Server service in its own Kubernetes pod, and the chart version determines which server image you can run. Enabling Nexus means setting values that the chart passes into the server configuration, so the values file you pin is where the change belongs.

  • Chart version floor: Helm chart versions below 0.73.1 do not work with server images 1.30 and later, so an older pinned chart blocks an upgrade to those images.
  • Paired version changes: Change the chart version and the server image tag in the same change request, and record both in version control.
  • Values overrides: Put Nexus-related settings in the values file your chart version exposes, not in rendered manifests that the next render overwrites.
  • Exposed routes: Confirm which ports and Services or Ingress routes the chart creates, since any HTTP API you enable should stay on trusted internal networks.
  • Upgrade order: Run schema changes first when release notes call for them, and move one minor version at a time.

Before any change reaches the cluster, check the chart version, image tag and values keys against the deployment docs for your target server version.

Security controls for cross-team Nexus traffic

Temporal Nexus lets one team's workflows call a service owned by another team, so every call crosses a trust boundary. The controls below work together: they decide who may call, how identities map to roles, how traffic is protected in transit and at rest, and what the operators can later prove.

Replace the default authorizer first

If no Authorizer is configured, self-hosted Temporal uses the noopAuthorizer, which allows every API request with no authentication or access control. Before any team outside the owning group calls a Nexus endpoint, configure a real Authorizer plugin. Verify that a request from an unapproved namespace is rejected in a test cluster before anything else is enabled.

Security docs

Map team identities to namespace roles

The ClaimMapper turns JWT or certificate claims into namespace roles, so the identity your identity provider issues decides what a calling team can do. Decide which claim identifies each team, which namespaces it may write to, and which roles it gets. Confirm that a team's token cannot grant itself a role in another team's namespace, and test with tokens from each team.

Protect frontend and internode traffic with mTLS

Self-hosted Temporal supports mutual TLS with separate settings for internode traffic between cluster services and frontend traffic from clients and workers. Calling teams present certificates that the frontend validates. Plan certificate issuance, rotation and revocation for every team's workers. Check that both frontend and internode listeners reject connections without a valid client certificate.

mTLS settings

Keep services off the public internet

The Temporal deployment docs say services should run on hosts not reachable from the public internet, with network access restricted to trusted internal networks. For Nexus, this means the frontend is reachable only from the networks of the teams that need it, and internode ports are never exposed. Confirm from outside the trusted network that no Temporal port answers, including after load balancer or ingress changes.

Deployment guide

Encrypt payloads that cross teams

Nexus operation inputs and results are workflow payloads, and they may contain customer or financial data that the calling team should not read. A custom payload codec encrypts data before it is stored or sent, and a codec server lets authorized users decode payloads in the Web UI. Agree on key ownership and rotation between teams. Verify that a payload in the history of a cross-team call is ciphertext when viewed without the key.

Log access and operations for review

Cross-team calls need a record that answers who called which endpoint, from which namespace, and whether it was allowed. Route Temporal server logs and metrics to your central logging system, and retain authorization decisions for the period your compliance team requires. Ask the owning team which log fields they will review during an incident. Test that a denied cross-team request produces a log entry that an operator can find.

How Nexus calls behave across failover

Before a Nexus endpoint goes into production on a self-hosted cluster, decide which cluster owns each endpoint and which namespaces its operations route to. The owning cluster determines where the handler workflows run, where the caller's Nexus operations are recorded, and which workers must be reachable after traffic moves. Write this ownership down per endpoint, including the namespace on each side and the team that approves a change. If the answer depends on a region, record that dependency too, because a failover plan that does not name the owning cluster for each endpoint cannot be tested.

Next, work out what happens to in-flight calls and callbacks when traffic moves to the surviving region. Operations that have started but not completed, and any completion callbacks that the caller still expects, are the cases most likely to stall, duplicate or fail. Ask your Temporal contact or read the Nexus section of the documentation for your exact server version to confirm how pending operations, callback delivery and retries behave during a handover and during a forced failover. Then test those answers in a non-production replica of your topology, using the callback and timeout settings you plan to run, rather than assuming the default behavior holds.

Finally, plan how workers in the surviving region reconnect and resume polling the endpoint's task queues. Confirm which worker deployments must already be running there, how their connection settings change after a switch, and how long your alerting takes to flag a worker gap. Multi-cluster replication has its own prerequisites, including the configuration needed for global namespaces, and it is still marked experimental in the documentation, so treat that risk as a separate decision. The Temporal self-hosted deployment guide is the starting point for confirming those prerequisites against your version, and the sibling page on multi-cluster replication and failover covers the handover and conflict rules in detail.

Limits to confirm in your environment before rollout

Temporal Nexus depends on server version, persistence choices, network reachability and the way teams release their workers. The limits below are ones to verify against the documentation for your chosen server line and against your own environment, not assumptions to carry into a design.

Nexus feature status and server lines

Confirm whether Nexus is generally available, experimental or gated by a feature flag in the server line you plan to run, and whether it is supported on the patch release you intend to deploy. Check the release notes for each minor line, since Temporal Server v1.32.1 and the patch releases for v1.31 and v1.30 are not all equivalent. Record the exact version in your architecture decision so the support position is traceable.

Temporal releases

Callback reachability from the handler

Nexus operations depend on callbacks that must travel back from the handler namespace to the caller. Confirm which frontend addresses, ports and DNS names the handler side can reach, and whether the callback path crosses a firewall, load balancer or service mesh. Test the path from the handler network before you publish an endpoint, because a blocked callback typically surfaces as stuck operations rather than a clear error.

Payload size limits for cross-team data

Every value passed through a Nexus operation is a payload that must fit within server and SDK limits. Ask each team which fields cross the boundary, and keep large documents out of the call by passing identifiers or references. Confirm the current payload size limit for your server version and SDK in the official documentation before you agree on an API contract, since a limit found in testing can force a contract change.

Persistence and visibility stores for the version

Nexus state lives in the same persistence layer as the rest of the cluster, so the database you choose must be on the supported list for your server line. Confirm the supported Cassandra, PostgreSQL and MySQL versions, and whether your visibility store is supported for the release. Note that SQLite is meant only for development and testing, which rules it out for a shared Nexus endpoint.

Persistence docs

Endpoint count and naming limits

Each Nexus endpoint is a named, cluster-level resource that other teams will reference by name, so naming and count decisions are hard to reverse. Ask the Temporal documentation and your own platform team whether there are limits on endpoints per cluster and on name length or character sets, and set a naming convention that encodes owner and purpose. Plan a review step for new endpoints so the registry does not grow without an owner.

Version alignment across caller and handler workers

Caller and handler workers are deployed by different teams, often on different release schedules, so Nexus contracts can drift apart. Confirm the SDK versions each side supports, and the compatibility rules Temporal documents between them. Agree on a rollout order and a freeze window for contract changes, and test a caller on the previous SDK version against a new handler before each release.

What Nexus enablement costs and what it needs from your team

What drives the effort of enabling Temporal Nexus on a self-hosted cluster?

The effort follows the number of teams, the number of Nexus endpoints, the security model and whether cross-region failover is required. Each team that exposes or calls an endpoint adds design, access and testing work. Each endpoint adds a contract to define, a target namespace and task queue to confirm, and a test path to prove. A security model with mTLS, JWT claims mapped to namespace roles and an Authorizer plugin takes longer to design and verify than a single trusted network. Failover requirements add the most, because endpoint behavior during a handover must be designed and tested, not assumed. Ask the vendor or your own environment to confirm the server version and HTTP API settings before sizing anything.

Can our own team enable Temporal Nexus without a partner?

Yes, a team with Temporal operations experience and access to the cluster can do it, but the work is cross-cutting. It touches the server configuration, the identity provider, namespace authorization, worker deployment and the teams that own each workflow. The main risks are authorization gaps and endpoints that behave differently after a failover. A partner brings a second set of eyes on the endpoint design and a test plan, which is useful if your team has not yet run Nexus across namespaces. Teams that already run self-hosted Temporal with mTLS and an Authorizer usually have the skills, while teams still on default settings should close those gaps first.

What does the work need from our team before it starts?

Plan for access and people before the engagement begins. Typical inputs are:

  • Administrative access to the self-hosted cluster, its configuration and the environments where it runs, with change approval paths confirmed
  • Identity provider details for the claims that map to namespace roles, including the OIDC or certificate claims your security team has approved
  • Named owners for each worker and each team that will call or expose an endpoint
  • Non-production test data and workflows that represent real call patterns, so tests do not touch regulated data
  • Current server and Helm chart versions, and the upgrade state of the cluster

The more of these that are ready in week one, the less time is lost waiting on approvals.

How long does enabling Temporal Nexus take?

Duration depends on scope, so no fixed figure applies to every cluster. A single team exposing one endpoint on a cluster with existing mTLS and identity integration is a much smaller task than several teams, several endpoints, a custom authorization model and failover testing. Timelines are set by the number of endpoints, the number of approval steps and how quickly your teams provide access and owners. Ask for the phases, the dependencies and the test exit criteria in the scope document, and check whether each phase has a named owner. Any duration should appear only in the written scope, not in a general estimate.

Does Temporal Cloud change the cost and effort picture?

It changes who runs the service, which changes what you pay for. On self-hosted clusters you pay for infrastructure, persistence and visibility stores, staff time for operations and upgrades, and the Nexus enablement work itself. On Temporal Cloud, Temporal Technologies sells the managed service, with pay-as-you-go pricing that starts at 50 US dollars per million actions according to Temporal's pricing page, and support tiers sold separately. Nexus configuration and endpoint design still need your engineers, but the server layer, failover mechanics and HTTP settings differ. Compare the two options against the same endpoint list before deciding, and confirm current Cloud terms with the vendor.

What should we ask for in a fixed-scope quote for Nexus enablement?

Ask for a written scope that lists the server version and deployment method, the number of teams and endpoints in scope, the authorization and identity integration to be covered, and the failover behavior to be tested. The quote should name each deliverable, such as endpoint design documentation, configuration changes, worker updates, test results and handover notes. It should state what the client must provide, the acceptance criteria and what is excluded, such as upgrades or changes to persistence. Ask how changes to scope are priced and approved. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and does not publish a price list, so the quote follows from that written scope.

How DeployOpen scopes and delivers Nexus on your cluster

DeployOpen plans, implements, tests, documents and supports Temporal on infrastructure you control, including the Nexus configuration that connects workflows across namespaces and teams. Each engagement starts from a written scope that names the server version, persistence and visibility stores, and the teams that will call and serve Nexus operations.

How we scope

  • Confirm the self-hosted server version and the Nexus HTTP API and callback settings that version supports before any design work starts
  • Map which namespaces and teams will expose Nexus endpoints and which will call them, with the data each call carries
  • Agree in writing how failover behavior across clusters will be tested, since engagements are fixed-scope with defined deliverables

How we build

  • Design endpoint naming, target namespaces and access rules so each Nexus endpoint has a single owning team and a documented contract
  • Configure the callback and HTTP settings for your server version in staging, with mTLS and authorization applied to Nexus traffic
  • Test caller and handler workers together, including retries, timeouts and what happens when the target namespace is unavailable

How we hand over

  • Deliver the endpoint catalog, configuration files and runbooks covering version-specific settings and each upgrade step
  • Walk your platform and security teams through the access model, audit evidence and the failover test results
  • Record open risks, such as features still in pre-release status, so your owners decide on them before go-live

How we support

  • Support is available as a retainer for upgrades across Temporal Server minor versions, one step at a time, with schema changes applied first
  • Continuous retesting of Nexus endpoints can follow each server, Helm chart or SDK change in your environment
  • Ongoing support scope, response expectations and fees are agreed in the retainer quote, based on the written scope

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.