Configure a Kong Mesh global control plane on Universal with the Konnect UI

Uses: Kong Mesh
TL;DR

In the Konnect UI, create a global control plane from Service Mesh, then create a zone with the Universal configuration type and follow the steps shown in the UI to deploy the zone control plane on your VM or bare metal machine.

Prerequisites

This tutorial requires a Konnect Plus account. If you don’t have a Konnect account, you can get started quickly with our onboarding wizard.

Using Konnect UI, you can create a global control plane and connect a Universal (VM or bare metal) zone. This guide creates a global control plane and connects a Universal zone control plane using the Konnect UI.

To deploy services and test traffic across the mesh, see Configure a Kong Mesh global control plane on Kubernetes with the Konnect UI.

Create a global control plane in Konnect

Before you can add services or apply configurations, you must create a global control plane.

  1. In the Konnect sidebar, click Service Mesh.
  2. Click Create a service mesh.
  3. In the Name field, enter example-cp.
  4. Click Save.

The global control plane is now created but has no functionality until you connect a zone.

Create a zone in the global control plane

Add a zone to connect a data plane and receive configuration updates.

  1. In the Konnect sidebar, click Service Mesh.
  2. Click example-cp.
  3. Click Create zone.
  4. Select Universal as the configuration type.
  5. In the Name field, enter zone-1.

    The zone name must use lowercase alphanumeric characters or hyphens, and start and end with an alphanumeric character.

  6. In the Token field, enter your Konnect personal access token.
  7. Follow the steps shown in the UI to deploy the zone control plane on your machine.

    Konnect automatically provisions a system account access token for the zone and includes it, along with the control plane ID and address, in the deployment steps. You don’t need to create a token manually.

  8. Once the zone is connected, click Continue.

Validate

Confirm the zone is connected to your global control plane:

  1. In the Konnect sidebar, click Service Mesh.
  2. Click example-cp.
  3. Confirm that zone-1 appears in the list of zones with an Online status.

Cleanup

Stop the zone control plane running on your machine:

pkill -f kuma-cp
  1. In the Konnect sidebar, click Service Mesh.
  2. Click example-cp.
  3. From the control plane’s actions menu, select Delete and confirm.

Deleting the control plane also removes its zone and the system account access token that Konnect provisioned for it.

Remove the files and binaries created during setup:

rm -rf ~/kuma-cp kong-mesh-*

FAQs

Each zone control plane authenticates to the Konnect-managed global control plane with an access token. When you create a zone with the UI wizard, Konnect provisions this token for you as a system account access token and includes it in the generated deployment instructions, so you don’t need to create one manually.

Konnect supports two types of access tokens:

  • Personal access token (PAT): Prefixed with kpat_ and tied to an individual user account. Use a PAT for interactive or one-off tasks.
  • System account access token (SAT): Prefixed with spat_ and tied to a system account rather than a person. We recommend system account tokens for zone authentication and automation because they aren’t tied to a user who might leave the organization.

If you provision zones with automation instead of the UI wizard, such as with Terraform, create a system account, assign it the Connector role on the control plane, and generate a system account access token to authenticate the zone. For a full example, see Deploy Kong Mesh using Terraform and Konnect.

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!