ON-PREM CHOREO CLOUD BOTH

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

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 . 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

GroupWhat runs on it
Agent ManagerThe Agent Manager service, the console and, on dev and the three v2 environments, the , as components of the agent-manager project
Core services (PAS), the , the billing service, the and a proxy for the secret manager
Identity PlatformThe 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 , 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.

  1. 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.

  2. 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.

  3. 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-cp is 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-cp also runs the CI/CD system for every environment.

Try it

The cluster map

What to do: pick an environment, then press a cluster to see what runs on it.

Loading the cluster map...

Wrap up

Recap

Tick each one when you could explain it to a colleague.

Finished?

Quick check

Loading the quick check...

Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)