ON-PREM CHOREO CLOUD BOTH

What you will learn

  • Follow how an on-prem environment is created, from the console form to a running gateway
  • Say what the script does and what Agent Manager does
  • Explain how a new gateway registers itself and connects back to AMS
  • Know that adding the environment to a pipeline is a separate step

Before you start

On this page

A new environment is more than a name. It is a place where agents run, and it needs its own gateway for their traffic and its own sign-in service for their identities. On-prem you create all three with one command that the console prepares for you.

What you get

When the command finishes you have three things for the new : the environment itself in OpenChoreo, an that will hold agent identities, and an that has connected back to AMS. The default setup creates one gateway.

Component

Environment (OC Environment)

Shared or other Other BOTH

An environment is a place agents are deployed to, such as development, staging or production. In OpenChoreo it is an Environment resource that points at a data plane and carries a few settings: whether it is production (isProduction), an optional isolation tier (gvisor or kata, for stronger sandboxing) and the address its agents are published on. Each environment also has its own API Platform Gateway and its own environment ThunderID.

The twelve steps

Flow

Create an environment and its gateway

F5 12 steps ON-PREM

The console prepares a command that you run in a terminal. It creates the environment through Agent Manager, installs a dedicated sign-in service for it, then installs a gateway that registers itself and connects back.

You can group the steps into four moves.

  1. The console prepares the command

    While you fill in the form, the console checks that the sign-in handle you want for the environment’s ThunderID is still free. It then writes a ready-made command with your choices filled in. The console does not build anything itself.

  2. The environment is created

    The script asks AMS, with your token, to create the environment. AMS checks that you may create environments, then creates the Environment in OpenChoreo. It starts out as an empty room with no pipeline step pointing to it.

  3. The environment gets its own sign-in service

    The script reserves the environment’s sign-in address with AMS, so a clash fails fast. It creates a service password and hands AMS a copy, which AMS stores encrypted. Then it installs a small, separate ThunderID for this environment, told to trust tokens from the platform sign-in.

  4. The gateway registers and connects back

    The script installs the gateway with Helm. A one-off signs in as a service account, registers the gateway with AMS and asks for a . The token is stored as a Kubernetes Secret in the gateway’s namespace. The then installs the real gateway programs, and the connects to AMS using the token and keeps the connection open.

Component

APG gateway-controller

Data side Gateway BOTH

The gateway-controller is the local control brain of one gateway. It connects to AMS over a WebSocket, downloads the definitions of LLM providers, proxies and agents, and turns them into configuration for the router and policy engine. It stores state in a small database.

What is easy to miss

  • The script does not add the environment to a pipeline. That is a separate API step. Until it is done, the environment is an empty room that no project can reach.
  • The gateway dials AMS, not the other way round. The gateway-controller opens a WebSocket over TLS to AMS’s internal door and shows the registration token in an api-key header. It sends no certificate of its own.
  • Two identity servers are involved. The setup job signs in at the platform ThunderID, and the new environment ThunderID is a different, per-environment service.

On Choreo Cloud

On you do not run a script. Choreo Labs’ provisioning services create the gateway and the identity service for each organisation and environment. Lesson L12.1.1 follows that path.

Your turn

Open Try it and play flow F5. Which step is a script talking straight to a Kubernetes install, and which steps are calls to AMS? Then open the matcher and pair each part with its job.

Recap

  • The console prepares a command, and you run it. It creates the environment through AMS, installs an environment ThunderID, then installs a gateway.
  • The gateway registers itself with AMS through a setup job, which gets a registration token.
  • The gateway-controller then dials AMS with that token and holds the connection open.
  • The script does not add the environment to a deployment pipeline. That is a separate step.

Try it

Follow one request

What to do: press Play, or use Next, to walk through the request step by step.

Loading the diagram...

The diagram

What to do: look at the highlighted boxes, then click one. "Reset view" shows the whole diagram.

Loading the diagram...

Match them up

What to do: pick an item on the left, then its partner on the right.

Loading the matching game...

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)