Choreo Cloud
Choreo Cloud (SaaS)
The SaaS edition, run by Choreo Labs on five clusters. 85 components exist only in this edition. Below: its clusters on the diagram, how it is laid out and released, its flows and key lessons, and a card for each cluster.
Explore how it is laid out and released
-
Cluster map
Which clusters make up an environment and what runs on each. Includes a game: put each component on its cluster.
-
Release pipeline
Watch a change travel from a merge to dev, stage and the live customer environments.
-
Hotfix walkthrough
Make a hotfix step by step: who does what, and what each choice leads to.
SaaS flows
- F18a
SaaS onboarding, from sign-up to a running AI gateway
A new organization is created in the Platform IdP, which publishes an event. The first time someone opens Agent Manager, billing activates the subscription and announces it, the provisioner asks the orchestrator to run the agent-manager recipe, and the provisioner builds the environment's AI gateway.
- F18b
SaaS control calls, metering and suspension
In the cloud product Agent Manager reaches OpenChoreo only through platform-api, which checks quotas on the way. Platform-api also calls Agent Manager with an org-scoped token, an hourly job reports usage to billing, and a suspension event stops an organization's agents.
- F32
A merged change reaches dev
Merging to main of a source repository starts an automatic build. The build writes the new image tag into the deployment repository, and dev, which follows main, rolls it out. No further approval step is described after the merge.
- F33
Promote a tested commit to stage and production through a CR
A promotion moves one pointer, not images. A release candidate run decides which commit may go. A CR (change request) is handed to the SRE team, who run the promotion workflow. A pull request that moves the environment's pin is reviewed and merged, and Flux applies it. Production follows stage.
- F34
A hotfix reaches stage and production
A developer builds the fix on top of the commit the environment runs, tags it, and the build system makes the images. A CR (change request) goes to the SRE team, who run the hotfix workflow. A pull request moves the environment's pin, QA and a Platform Engineer approve it, and Flux applies it. Stage comes first, and the fix is backported to main afterwards.
- F35
SaaS identity data plane creation for an organization environment
The orchestrator asks the identity-platform-provisioner to build a per-organization ThunderID data plane. The provisioner applies a ResourceType, a Resource and a binding through platform-api, registers the data plane on the Identity Platform control plane, and announces the result on NATS.
- F36
SaaS environment creation and the gateway, through the orchestrator recipes
When an environment is created, platform-api hands it to the orchestrator, which replays the organization recipes. The agent-manager recipe has three steps: base, thunder through the identity provisioner, and the agent-manager step, where the provisioner builds the environment gateway.
- F37
SaaS gateway creation on stage and prod: the older platform-api hook
On the first generation environments the Agent Manager gateway is not made by the orchestrator. The platform-api hook applies the gateway objects, registers the gateway in Agent Manager and mints its token.
- F38
Agent Manager calls the Identity Platform control plane (CP_MANAGED mode)
In CP_MANAGED mode Agent Manager creates and promotes agent identities through the Identity Platform control plane under /iam/v1, with a token of its own client. In LEGACY_DIRECT mode it uses the environment ThunderID instead.
Key lessons
Lessons written for this edition. The lessons that cover both editions are on the Lessons page.
-
Agent Manager calls the Identity Platform
-
The Choreo Cloud map: five clusters, one job each
-
Environments: dev, stage, prod and the v2 family
-
cloud-cp: Choreo Labs' own control plane
-
Clusters 2 and 3: the customer control plane and data plane
-
Clusters 4 and 5: the workflow plane and the observability plane
-
Repositories, branches and image names
-
A merged change reaches dev
-
The release candidate: which commit may go to stage
-
Promotion: from a tested commit to stage and production
-
The image hotfix, step by step
-
Hotfix walkthrough: fix a bug on stage, then production
-
Challenge: where does my change run?
-
Challenge: which cluster?
The clusters
-
cloud-dp-oc-dp (customer data plane)
cloud-dp-oc-dp is the data plane for customer workloads on Choreo Cloud. It runs customer agents, one API Platform gateway for each organization and environment, the data halves of per-organization ThunderID instances, OpenBao and Valkey.
-
cloud-dp-oc-ob (observability plane)
cloud-dp-oc-ob is the observability plane on Choreo Cloud. It stores logs, traces and metrics for all customers, and it runs the observers, the organization-pinning proxy and the metering job.
-
cloud-cp (cloud control plane)
cloud-cp is the cluster that runs Choreo Cloud's own services. It is an OpenChoreo single cluster, with all four planes in one, and it hosts Platform IdP, platform-api, billing, the orchestrator, the consoles, and Agent Manager's service, console and provisioner. It is the control side of Choreo Cloud.
-
cloud-dp-oc-cp (customer control plane)
cloud-dp-oc-cp is the OpenChoreo control plane for customer workloads on Choreo Cloud. Each customer organization is one namespace here, named wc-<org8>-<hash8>. It also hosts the cluster-gateway the other plane clusters connect to, and secret-manager-api.
-
cloud-dp-oc-ci (workflow plane)
cloud-dp-oc-ci is the workflow plane on Choreo Cloud. It runs Argo Workflows for customer builds and for Agent Manager evaluation runs, and pushes built images to the customer's container registry.