Skip to main content

Temporal

Temporal is the workflow engine used by Cogrion to handle long-running cloud provisioning operations — creating VPCs, Kubernetes clusters, managed databases, and IAM roles on the tenant's cloud account.

What It Does

When a tenant creates a workspace or modifies cloud-level infrastructure, the Control Plane triggers a Temporal workflow. Temporal handles the execution durably: if a step fails, it retries. If the worker restarts mid-run, the workflow resumes from where it left off. The Control Plane does not need to manage retries or partial failures itself.

Scope

Temporal only handles cloud-level infrastructure — resources provisioned via the cloud provider API (AWS, AliCloud). Everything that runs inside the Kubernetes cluster (Helm installs, Kubernetes manifests, Terraform in-cluster) is handled by the Cluster Agent, not Temporal.

How It Relates to Other Services

ServiceRelationship
Control PlaneTriggers Temporal workflows when workspace-level infrastructure changes are needed.
Cloud ProviderTemporal workers call the AWS or AliCloud API directly to provision resources.

Go Deeper