Temporal Cloud private connectivity with PrivateLink or Private Service Connect

Connect Temporal Cloud workers over AWS PrivateLink or GCP Private Service Connect, control which namespaces accept private traffic, and keep authentication in place.

On this page

Why teams route Temporal Cloud worker traffic privately

Teams route Temporal Cloud worker traffic privately when their workers run inside a regulated cloud network and security policy does not allow workflow traffic to cross the public internet. Workers poll task queues and report results to the Temporal Cloud frontend, so every workflow start, task poll and activity completion is a network call. AWS PrivateLink and GCP Private Service Connect provide a private endpoint inside the customer's own virtual network that reaches the Temporal Cloud service without a route over the public internet. Teams usually need them when their network policy requires private paths to SaaS control or data planes, when egress through a NAT gateway or proxy is hard to approve, or when they want to restrict inbound and outbound rules to known addresses.

The private path changes where traffic travels, not who may use it. A PrivateLink or Private Service Connect endpoint still carries requests that must be authenticated with namespace credentials, whether API keys or mTLS certificates, and Temporal Cloud still applies the access roles assigned to the caller. Any workstation or service inside the same network that can reach the endpoint can attempt calls, so the credential lifecycle and role design remain the main control over who can start or signal workflows. Teams should confirm with Temporal which connectivity rules are available for their namespace and region, how the private endpoint is registered to the namespace, and what the connectivity rule does when it is misconfigured. Setup details and the endpoints that workers use are covered in the sections that follow.

How worker traffic reaches Temporal Cloud privately

Workers run inside the customer's VPC or VPC network and open their gRPC connection to a private endpoint, either AWS PrivateLink or GCP Private Service Connect, rather than the public address. The private endpoint hands the connection to the Temporal Cloud namespace, which is the trust boundary the customer controls. The public path is shown as the alternative and should be disabled or restricted if the network rules require it. At the frontend, Temporal still checks the caller's credentials, so private traffic is not an authentication step.

Workers reach the namespace through a private endpoint, and the frontend still checks identity.

AWS PrivateLink or GCP Private Service Connect: how each fits

AWS PrivateLink gives workers in your VPC a private interface endpoint for reaching Temporal Cloud, so gRPC traffic stays on the AWS network instead of crossing the public internet. The endpoint is an elastic network interface that you create in your own account, in the subnets where your workers run. Temporal Cloud is the service provider, and your account is the consumer. Your team owns the VPC endpoint, its security group, route and DNS resolution, and the worker configuration that points at the endpoint hostname.

  • Endpoint in your account: you create an interface VPC endpoint in each VPC that hosts workers, and you choose the subnets and availability zones.
  • Connection approval on the Temporal side: Temporal Cloud must accept the connection from your account, typically through a connectivity rule in the console (confirm the current steps).
  • Security groups: the worker security groups must allow outbound traffic to the endpoint on the port Temporal documents, and the endpoint security group must allow inbound from the workers.
  • DNS resolution: confirm whether private DNS is enabled for the endpoint or whether you must set the namespace hostname yourself, because workers that resolve the public name will bypass the endpoint.
  • Cross-account and cross-region access: confirm with Temporal whether endpoints in other accounts or regions can reach the same namespace before you design a multi-account layout.

Before you create anything, confirm the endpoint service name, the approval flow and the supported regions in the Temporal Cloud documentation and console.

Connectivity options compared for Temporal Cloud workers

This table compares public and private paths from workers to Temporal Cloud, and the authentication and firewall work that remains under each. Read each row for the traffic path and fit, then check what the option leaves unchanged and what your Temporal account team or cloud network team must confirm before you choose it.

OptionTraffic path and when it fitsWhat it does not changeWhat to confirm
Public endpoint with namespace mTLS certificatesWorkers connect over the public internet with TLS and a client certificate. Fits teams with no private network requirement and outbound access already approved.Traffic still crosses the public internet. Certificates still need issuance, storage and rotation.Whether your egress policy allows the public endpoint and how certificate renewal will be run.
Public endpoint with API keysWorkers connect over the public internet using a key tied to a user or service account. Fits teams that want role-based access managed through accounts.The network path stays public. Keys must be stored securely and rotated on a schedule you set.Which roles the key carries, how keys are scoped to namespaces, and who can create them.
Private endpoint through AWS PrivateLinkWorkers in your AWS VPC reach Temporal Cloud through a VPC endpoint. Fits AWS-hosted workers whose security policy bars public egress for workflow traffic.Authentication still applies. The endpoint does not replace mTLS or API keys, and DNS and routing must be set up in your VPC.Region and plan availability, endpoint setup steps, and whether endpoint addresses stay fixed for your rules.
Private endpoint through GCP Private Service ConnectWorkers in your Google Cloud VPC reach Temporal Cloud through a Private Service Connect endpoint. Fits GCP-hosted workers under the same no-public-egress policy.Authentication still applies. Firewall rules, DNS and endpoint ownership remain your responsibility.Region and plan availability, the endpoint configuration Temporal supports, and address stability for firewall rules.
Hybrid setup with private and public pathsSome workers use a private endpoint while on-premises or other-cloud workers use the public endpoint. Fits migrations or mixed estates where not every worker can reach a private endpoint.Each path needs its own firewall rules and authentication review. Namespace access must be checked for every path.Which workers and namespaces use each path, and whether the two paths share the same certificate or key policy.
Stable IP addresses for firewall allow listsOutbound connections go to fixed addresses that on-premises firewalls can allow-list. Fits sites whose firewalls only accept known destinations.Fixed addresses do not replace authentication, and they do not make the path private.Whether Temporal publishes fixed addresses for your region and endpoint type, and how changes are announced.

Setting up private connectivity in the order that avoids outages

This sequence moves workers from the public Temporal Cloud endpoint to a private path one step at a time, with a check at each step and the public path kept open until a test workflow proves the private route works.

  1. Confirm the cloud region and namespace

    Before anything is created, record the cloud provider, the region where the Temporal Cloud namespace runs, and the cloud region where your workers run. Private connectivity through AWS PrivateLink or GCP Private Service Connect is set up per region, so a mismatch here is the most common reason the later steps fail. List every namespace and every worker group that will use the private path, and confirm which team owns each one. Done means you have a written table of namespace, Temporal Cloud region, worker region and owner, reviewed by the platform and network teams. Confirm the exact provider options for your account in the Temporal Cloud documentation and console, since they change over time.

  2. Create the private endpoint in your cloud account

    In your own AWS or GCP account, create the private endpoint that points to the Temporal Cloud service for the region confirmed in the previous step. Your network team owns this work, and it should run in the VPC or VPC network where the workers run, with DNS for the Temporal endpoint resolving inside that network. Check that the endpoint reaches an available state and that a DNS lookup of the Temporal namespace address from a worker subnet returns a private address. Record the endpoint ID and the private IP addresses, because they will be needed for firewall rules and the connectivity rule. The public path must still work at this point, so nothing has been switched yet.

  3. Register the connectivity rule in Temporal Cloud

    In Temporal Cloud, register a connectivity rule that references the endpoint created in your cloud account and associate it with the namespace or namespaces in scope. The platform owner performs this step in the Temporal Cloud console or through the supported management interface your team uses. Check that the rule shows as active and that it is linked to the correct namespace, and export the rule details to your change record. Registering the rule does not by itself stop public traffic, so verify the public path still responds from a test host before continuing. Note who can edit or delete connectivity rules, because those changes are logged in the account audit trail.

  4. Point a test worker at the private endpoint

    Start one non-production worker in the same network as the private endpoint and configure it to connect to the namespace using the private address and the namespace's existing credentials. Keep production workers on the public path during this step. Use a dedicated task queue for the test worker so its activity does not mix with production work. The check is that the worker starts, registers with the namespace and appears in the task queue poller list in the Temporal Cloud console, and that connection logs show the private address rather than a public one. If the worker cannot connect, leave the rule in place, fix DNS, routing or security group settings, and retry before moving any production worker.

  5. Verify private traffic with a test workflow

    Run a small test workflow on the dedicated task queue, with one activity that does no external work, and confirm it completes from start to finish. Then confirm from network telemetry or the endpoint's flow data that the traffic travels over the private path rather than the public internet. Also confirm that the authentication you already use, such as an API key or namespace mTLS certificate, is still required and accepted, because private connectivity controls the network path, not identity. Record the workflow ID, the completion time and the connection evidence. Verification passes only when the test workflow completes and the traffic evidence shows the private path.

  6. Move production workers in stages

    Move production worker groups to the private endpoint one group at a time, starting with the group that has the least business impact. After each group switches, watch workflow task latency, failed workflow starts and worker poll errors in your existing dashboards and in Temporal Cloud metrics for a period your operations team agrees on in advance. Keep the public endpoint configuration in each deployment template so a single revert is possible. Done means every in-scope worker group reports healthy polling over the private path and no new errors appear that were not present before the switch.

  7. Restrict the public path only after sign-off

    Once all in-scope workers have run on the private path and the owners sign off, decide whether to remove public access. Confirm first that no other clients, CI jobs, scripts or remote users depend on the public endpoint, using your inventory and access logs. If you restrict the public path, change the rule or network policy in a controlled change and retest with the test workflow. Keep the rollback plan until sign-off: if verification fails at any stage, revert the affected workers to the public endpoint, leave the connectivity rule in place for investigation, and rerun the earlier checks before trying again. Record the final state and the stable IP addresses you need for downstream firewall allow lists.

Connectivity rules, stable IPs and firewall allow lists

A connectivity rule is the Temporal Cloud object that decides which private endpoints may reach a namespace. Creating a PrivateLink or Private Service Connect endpoint on your side is not enough on its own: the endpoint must also be admitted through a connectivity rule that is attached to the namespace. Treat the rule as the control point for private access. Ask Temporal to confirm in writing how rules are created, which account roles can change them, and whether a rule can be scoped to one namespace or applies more broadly, because that scope determines how far a single compromised endpoint can reach.

Stable addresses matter because most enterprise firewalls and egress policies are written as IP allow lists, and cloud-side private endpoints receive addresses from your own network ranges rather than from Temporal's public range. Confirm with Temporal which addresses or ranges, if any, are presented to your network for a given connection path, and whether they change when Temporal rotates infrastructure. On your side, verify that the endpoint subnet, route tables, security groups or firewall rules, and any egress proxy all allow the gRPC port the workers use, and that DNS for the Temporal Cloud namespace endpoint resolves to the private address from every worker subnet, not only from the account where the endpoint was created.

Before go-live, run a short written checklist with the platform team and the network team. Confirm the endpoint is in the expected region and availability zones, that DNS resolution is tested from each worker environment, that outbound rules are written against the address set Temporal documents for your connection, and that a fallback path is either absent by design or explicitly approved. Ask Temporal for the connectivity rule identifiers, the list of allowed endpoints, the change history for rules, and the process and notice period for any address change. Keep those answers with the network change record so an auditor or security reviewer can trace why a path is open.

Authentication still applies on a private path

A private network path changes where traffic travels, not who is allowed to use the namespace. Every worker and client still authenticates to Temporal Cloud, and the controls below decide who can connect, what they can do and how the credentials stay current.

API keys or mTLS certificates

Workers reaching Temporal Cloud over PrivateLink or Private Service Connect still present a credential for the namespace. Depending on how the namespace is set up, that is an API key or a namespace mTLS client certificate. A private endpoint limits network reach, so a worker that can route to it still needs a valid credential before it can start or poll workflows. Confirm which method each namespace uses before you design the network.

Security docs

Namespace RBAC and service accounts

Use a dedicated service account for each worker fleet or automation job rather than a personal user identity. Grant the least role that lets the workers poll and complete tasks in their namespace, and keep operator access separate. Review who holds namespace-level roles after each network change, because a private path makes it easy to forget that a broad role still grants broad reach.

Audit logging of connectivity changes

Changes to private endpoints, allowed connections and related connectivity rules are control plane events. Confirm that you can see who created, edited or removed them and when. Record the approval for each change in your own change system, so a reviewer can match an endpoint change to a ticket during an assessment. Check with Temporal which audit events cover connectivity and which data plane events are not included.

DNS and endpoint policy

Private connectivity depends on the endpoint name resolving to the private address from every worker network. A worker that resolves the public name may send traffic outside the intended path, and a stale record can break polling after a change. Set private DNS zones, test resolution from each subnet and write down which endpoint policy applies, so the path your firewall expects is the path traffic actually takes.

Network segmentation for worker subnets

Place workers in subnets that only need outbound access to the Temporal Cloud endpoint and to the systems their activities call. Keep those subnets separate from user-facing and general application networks. The Temporal deployment guidance for self-hosted services recommends hosts not reachable from the public internet, and the same principle helps here: restrict who can reach the worker subnets, not only the endpoint.

Secret rotation without downtime

Plan credential rotation before the first production deployment. For API keys, create the new key, deploy it to workers, confirm polling succeeds, then revoke the old key. For mTLS certificates, issue the replacement certificate ahead of expiry and roll it across the worker fleet in steps. Test the rotation in a non-production namespace, and keep the rotation runbook next to the network runbook so both change together.

Questions teams ask before private connectivity work

How much effort does private connectivity setup take?

The endpoint itself is the small part. Effort grows with the number of cloud accounts, networks, regions, namespaces and environments that need a private path to Temporal Cloud. Each worker network needs its own routing and DNS checks, each firewall or security group on the path needs a rule, and each environment (development, staging, production) needs the same work repeated and tested. Teams that already run private endpoints for other services usually move faster because the pattern is familiar. Ask for a written inventory of accounts, regions, worker subnets and environments before any quote, because that inventory sets the scope and the number of tests.

Can an internal team set up PrivateLink or Private Service Connect alone?

A team with cloud networking experience can build the connection in house, provided it has the time, a named owner and access to the Temporal Cloud account settings. The harder part is usually coordination: the platform team, network team, security team and the owners of each worker pool all have to agree on routes, DNS and rules before traffic moves. If the internal team has not built private endpoints before, budget time for learning the provider's endpoint model and for a test run in a non-production account. DeployOpen works from a written scope with agreed deliverables and timelines, so the split between your team and an outside partner can be set out before work starts. Confirm the current connectivity steps against Temporal's own documentation, since those steps are the reference your team will follow.

What do networking and security staff need to provide?

Networking and security staff own the parts of the path that the Temporal project does not control. Networking provides the VPC or VNet layout, subnet placement for workers, DNS zones, egress and firewall rules, and approval for creating private endpoints. Security reviews which principals can create or change those endpoints and which firewall rules open. Security also confirms that authentication still applies after the network path changes. A private path limits who can reach the service on the network, but workers still present credentials to Temporal Cloud, so API keys or namespace mTLS certificates, their storage and their rotation need the same review as before. Ask for these responsibilities to be written into the scope with named contacts on each team.

How long does a cutover take with many workers?

No duration is supplied for this step, so treat any number you hear as unverified until it is written into a scope. The cutover time depends on how many worker pools exist, how each pool is configured with its Temporal Cloud address, how workers are rolled out and drained, and how many namespaces share those pools. A staged approach is common: move one namespace and one worker pool, watch task latency and errors, then move the rest in groups. Keep the existing public path available until each group has run cleanly, so a rollback is a configuration change rather than a rebuild. Ask the partner or internal lead to list the worker pools, the rollout method for each, the validation checks and the rollback step, and to show the expected order of cutover in the written timeline.

What recurring costs appear in the customer cloud account?

Costs fall into two groups. The first is the cloud provider's charges for the private endpoint or service connection and for data that crosses it, which appear in your AWS or GCP bill. Check the current provider pricing for the endpoint type you plan to use, because those charges depend on the provider and the number of zones and endpoints. The second is Temporal Cloud itself. The pricing page lists pay-as-you-go rates starting at 50 US dollars per million actions, active storage at 0.042 US dollars per GB-hour and retained storage at 0.00105 US dollars per GB-hour, according to Temporal's pricing page. Setup labor is one-time, while endpoint and data charges recur. Ask any quote to list each endpoint, the zones it spans, the expected traffic and which charges are included.

Does private connectivity change the Temporal Cloud SLA?

The supplied pricing facts do not say whether a private path changes the SLA, so confirm this with Temporal in writing before you rely on it. The published figures are a 99.9 percent SLA, or 99.99 percent with High Availability, on the pricing page linked above. Ask Temporal whether those terms cover traffic that arrives over a private endpoint, and whether any part of the path that you operate, such as your endpoints, DNS or firewall rules, falls outside the vendor commitment. Support terms are separate from the SLA. Business support includes a 2-hour P0 response in business hours, while Enterprise and Mission Critical offer 30-minute and 15-minute P0 response around the clock, according to the same pricing page. Record the answer and the support tier in your change ticket.

What usually breaks after a private endpoint is misconfigured?

Most failures trace to a small set of causes. DNS for the Temporal Cloud address may still resolve to a public address, so workers quietly keep using the old path. A security group or firewall may block the port or the destination the endpoint needs. The endpoint may sit in a subnet or region that the workers cannot reach, or workers in one zone may have no route to the endpoint. Authentication failures can look like network failures, so check credentials and certificate validity separately. Test from each worker subnet, not from a single bastion host, and confirm the DNS answer from inside each network. Keep the public path open until each test passes. Ask Temporal's documentation which endpoints and ports the workers must reach, and put that list in the runbook.

What to verify after the cutover

The first check is that workers are polling Temporal Cloud over the private path. Confirm from your own network records, flow logs or endpoint metrics that worker connections resolve to the private endpoint you created, and that task queues are being served with normal poll activity. Run this check per namespace and per region, because a worker pool that was missed during the change can keep working over the public path and hide the gap until something fails. Confirm the exact endpoint names, DNS behavior and allowed principals with your cloud provider's documentation and the Temporal Cloud connectivity settings for your account, since those details depend on your setup.

The second check is that the public path carries no traffic during steady state. If you intend to block or restrict public ingress from workers, verify that the restriction is in place and that a worker started from a host outside the private network fails as designed. Then watch the public path over a full business cycle, including scheduled jobs and batch runs that may only start at certain hours. Any residual public traffic is a finding to trace to a specific client, not a reason to widen the rules. Alert on connection failures to the Temporal Cloud endpoint and on sudden drops in worker poll rates, so that a broken private route is noticed by the on-call team rather than by a stalled business process.

Finally, write down and rehearse the rollback. Record the previous worker endpoint configuration, the firewall and route changes, and who has authority to approve reverting them. Test the rollback in a non-production namespace before the cutover window, and confirm that reverting does not disturb workflow state, since workflows keep running on whichever workers poll them. Keep the rollback path open until the monitoring has run cleanly for an agreed period that your change board sets. Your own engineers should own these checks, and any outside partner should only be engaged for them within a written scope.

How DeployOpen scopes and delivers Temporal Cloud connectivity

DeployOpen plans Temporal Cloud private connectivity around the network paths your workers actually use, from the AWS or GCP account that hosts them to the Temporal Cloud namespaces they call. The work is delivered as a fixed-scope engagement in your own cloud accounts, with the written scope agreed before any change is made.

How we scope

  • Inventory which workers, namespaces and cloud accounts need private paths to Temporal Cloud and which must stay on public endpoints.
  • Confirm your cloud provider, regions, DNS model and whether PrivateLink or Private Service Connect is the right path for each environment.
  • Agree in writing the connectivity rules, firewall changes, identity checks and test cases that form the scope and deliverables.

How we build

  • Provision the endpoints, DNS records and routing in your AWS or GCP accounts using your infrastructure-as-code conventions.
  • Restrict the connectivity rules to the namespaces and regions in scope, and document the stable IP ranges your firewalls need to allow.
  • Test worker connections from each environment, confirm that authentication still rejects unauthorized callers, and record the results.

How we hand over

  • Deliver architecture diagrams, runbooks for adding namespaces or regions, and the configuration committed to your repositories.
  • Walk your platform and security teams through the verification steps so they can repeat them after future changes.
  • Document open items, such as provider-side limits or account approvals, that your team must confirm with Temporal Cloud or the cloud provider.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering changes to endpoints, regions and network policy.
  • Retesting after changes to firewall rules, DNS, identity providers or worker deployments can be included in the retainer scope.
  • Support boundaries, response expectations and review cadence are set in the written agreement before work begins.

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.