What you will learn
- Say what runs on cloud-cp and what does not
- Name the Agent Manager parts that run there
- Explain how a call from Agent Manager reaches a customer's OpenChoreo from cloud-cp
- Say why the stage cloud-cp matters to every environment
Before you start
- Environments: dev, stage, prod and the v2 family Not started In progress Done
- Agent Manager on Choreo Cloud: what is new Not started In progress Done
On this page
cloud-cp is the first of the five clusters, and the one you will meet most often. It is the head office of Choreo Cloud. The services that Choreo Labs wrote to run the product live here.
OpenChoreo, used on itself
cloud-cp is itself a single-cluster OpenChoreoThe Kubernetes based developer platform that Agent Manager is built on. It stores organisations, projects and agents, builds them and runs the deployments.Analogy:The airport tower and its master plan.See it in the glossary. Choreo Labs’ own services are OpenChoreo components, in a project tree that the cluster’s Flux configuration syncs onto it. So the platform that hosts your agents also hosts the services that run the platform.
What runs on it
| Group | What runs on it |
|---|---|
| Agent Manager | The Agent Manager service, the console and, on dev and the three v2 environments, the ProvisionerA Choreo Cloud service that sets up Agent Manager for an organisation. It creates the AI gateway for each environment and registers it with AMS.See it in the glossary, as components of the agent-manager project |
| Core services | platform-api (PAS)The Choreo Cloud service that sits between Agent Manager and OpenChoreo. It works out each caller's organisation and forwards the call to the right place.See it in the glossary (PAS), the Platform IdPChoreo Cloud's sign-in service, a private build of ThunderID. It plays the role that the platform ThunderID plays in an on-prem install.See it in the glossary, the billing service, the OrchestratorChoreo Cloud's recipe engine. A recipe is a checklist of setup steps, and a step reuses its instance if one already exists.See it in the glossary and a proxy for the secret manager |
| Identity Platform | The Identity Platform’s management API, console and provisioner, as components of the identity-platform project. The provisioner sets up the Identity Platform of each organisation |
The Agent Manager service here is not a separate product. Lesson L12.1.1 showed that Choreo Cloud wraps the open source service in a small Choreo Labs program, the agent-platform shellThe Choreo Cloud program that imports the open source Agent Manager service and adds the parts only the hosted product needs, such as billing checks.See it in the glossary, which imports the open source service as a Go module at a pinned version and adds cloud packages for authentication, entitlement and more.
How a call leaves cloud-cp
When someone uses Agent Manager, the service on cloud-cp has to reach a customer’s OpenChoreo on another cluster. It does not call it directly.
Agent Manager calls platform-api through the internal gateway
The request goes to the internal gateway on
cloud-cp, which routes it to platform-api. It carries the caller’s own token. Background jobs may use a service token instead, but only in contexts that allow it.Platform-api finds the organisation's space
The gateway in front checks the token signature, and platform-api’s own middleware checks it again against the identity provider’s public keys, because the deployment sets their address. Then it reads the claims. For a user’s token it works out the organisation’s namespace name from the organisation id, so that caller does not name it. A service token has no organisation id, so the namespace is read from the request path, and only the methods and paths allowed for service tokens get through.
Platform-api swaps the token and forwards
It gets its own token from the data plane Thunder and sends the request on to OpenChoreo. That OpenChoreo runs on a different cluster, which the next lesson opens.
The system that builds and promotes
At the pinned commit, the CI/CD system, which builds images and runs the promotion and hotfix workflows, runs on the cloud-cp of the stage environment. It serves every environment, including prod-v2 and prod-v2-eu. This is one cluster that all of the delivery machinery depends on. The delivery lessons later in this chapter follow what it does.
Your turn
Open Try it. The cloud-cp card is already open for prod-v2. Read its list of components and find the three Agent Manager services. Then pick stage in the environment list and read its note: it says what the stage cloud-cp also runs.
Recap
cloud-cpis a single-cluster OpenChoreo that runs Choreo Labs’ own services as components.- Agent Manager’s service, console and provisioner run there, with platform-api, the Platform IdP, billing and the orchestrator.
- Customer agents do not run on
cloud-cp. They run on the customer data plane. - A call from Agent Manager to a customer’s OpenChoreo goes through platform-api, which finds the organisation’s namespace and swaps the token.
- The stage
cloud-cpalso runs the CI/CD system for every environment.
Wrap up
Recap
Tick each one when you could explain it to a colleague.
Finished?
Chapter complete. Every lesson in this chapter is done.
Progress cannot be saved in this browser, so it will be forgotten when you leave this page.
Quick check
Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)