Click the desired cloud provider and follow the installation and configuration instructions:Documentation Index
Fetch the complete documentation index at: https://controlplanecorporation-eric-mk8s-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
- Amazon Web Services (AWS)
- Microsoft Azure
- Google Cloud Platform (GCP)
- Running locally in Docker
- Kubernetes (k8s) Cluster
AWS
Overview
Follow the steps below to install and configure an agent within your Amazon Web Services (AWS) environment.Prerequisites
- Review the Agent reference page.
- Amazon Web Services (AWS) account.
Step One - Create an Agent
Follow the Create an Agent guide to define an agent and generate the bootstrap config file that will be used in step two.Step Two - Create a Launch Template in AWS
-
If you already have the
Userdata Script, you can skip this step. In the Control Plane UI, clickAgentsin the left menu, select your agent, then chooseDownload Scriptsfrom theActionsmenu. Paste your bootstrap token and copy the YAML from theUserdata Scripttab. - Log in to the AWS Console. Once logged in, select the AWS Region at the navigation bar in the top-right corner. Choose the same region where the services it will access are located.
-
In the AWS Console, navigate to
EC2. In the left sidebar, under Instances, selectLaunch Templatesand then clickCreate launch template. -
Enter a unique name for the launch template. (e.g.,
cpln-agent-launch-template). -
Under the
Auto Scaling guidancesection, check the box to use this template with EC2 Auto Scaling. -
Under the
Application and OS Imagessection, selectQuick Startand chooseUbuntu(Ubuntu Server 24.04 LTS recommended). -
For
Instance type, selectt3.smallort3.mediumfor testing purposes. In production environments, refer to the Agent Sizing Guidance to select the appropriate instance type for running an agent. An instance with at least 2 vCPUs and 4 GiB of memory is recommended for optimal performance. -
Optional:Under theKey pair (login)section, select or create a new key pair to enable SSH access to the agent. A key pair is necessary only for accessing the agent during troubleshooting. -
Under the
Networkingsection, selectDon't include subnet in the launch template, subnets are configured by EC2 Auto Scaling. Attach a security group and make sure it belongs to the VPC you plan on using when creating the Auto Scaling Group in Step 3 below.Note:The VPC must have anInternet Gatewayattached. To verify, navigate toVPC, clickInternet Gateways, find the gateway associated with your VPC, and confirm the state isAttached.
-
Expand the
Advanced detailssection. Scroll to the bottom and paste theUserdata Scriptcopied in Step 1 into theUser datatextbox. -
Click
Create launch template.
Step Three - Create an Auto Scaling Group in AWS
-
In the AWS Console, navigate to
EC2. In the left sidebar, scroll down to Auto Scaling, selectAuto Scaling Groups, then clickCreate Auto Scaling groupin the right corner. -
Enter a name for the Auto Scaling Group. (e.g.,
cpln-agent). -
For the Launch template, select the name you created in Step Two (e.g.,
cpln-agent-launch-template), and clickNext. -
Under the
Networksection, select the VPC used in your launch template from Step Two. For Availability Zones and subnets, select at leastonesubnet and set Availability Zone distribution toBalanced best effort.Note:Confirm your subnet has Auto-assign public IPv4 address by navigating back toVPCand clickingSubnetsin the AWS console. If it is not enabled, you can also expandAdvanced network configurationand clickAdd network interface, then setAuto-assign public IPtoEnable.
-
Optional:Leave all settings as default and clickNext. -
For testing, set Desired, Min, and Max capacity all to 1. For production, set Desired capacity to 2, Min capacity to 2, and Max capacity to at least 4. This way you can scale up to multiple agents as needed. Leave all other settings as default, then click
Skip to review.Note:You can also scale down to 0 or scale up to multiple agents for redundancy and reliability.
-
Review your settings, then scroll down and click
Create Auto Scaling groupin the bottom-right corner.
Agents in the left menu, select your agent, and you will see a green heartbeat pinged recently. It may take up to 2-3 minutes to appear after the agent starts.
Next Steps
Now that you have an agent configured and running, it can be used within an identity to allow your workload to connect to your internal AWS resources.Azure
Overview
Follow the steps below to install and configure an agent within your Microsoft Azure environment.Prerequisites
- Review the Agent reference page.
- Microsoft Azure account.
Step One - Create an Agent
Follow the Create an Agent guide to define an agent and generate the bootstrap config file that will be used in step two.Step Two - Create a Virtual Machine Scale Set in Azure
-
If you already have the
Userdata Script, you can skip this step. In the Control Plane UI, clickAgentsin the left menu, select your agent, then chooseDownload Scriptsfrom theActionsmenu. Paste or import the bootstrap config, clickNext, and copy or download the YAML from theUserdata Scripttab. ClickDone. - Log in to the Azure Console.
-
In the Azure console, navigate to
Virtual machine scale setsand clickCreate. -
Select your
SubscriptionandResource Group. If needed, create a new resource group before proceeding. -
Under the
Scale set detailssection, enter a unique name for the Virtual Machine Scale Set. (e.g.,cpln-agent). -
Select the Region where your Azure resources are located and set
Availability Zonesto Zones 1, 2, and 3. -
Under the
Scaling modesection, selectAutoscaling, then set the Image to aUbuntu Server 24.04 LTS(recommended). -
For
Size, selectStandard D2s v3for testing purposes. An instance with at least 2 vCPUs and 4 GiB of memory is recommended for optimal performance. -
Leave the Username as
azureuser. For SSH Key Type, select an existing key or generate a new one. -
Click
Next, skip the Spot section, and clickNext: Disks. -
For
OS Disk Type, select Premium SSD then clickNext: Networking. -
Select your
Virtual Network,Subnet, andNetwork interface, or create new ones if they do not exist. -
Under
Load balancing, selectNone, then clickNext: Management. -
Leave the defaults and click
Next: Health. -
Leave the defaults and click
Next: Advanced. -
Under the
Custom data and cloud initsection, paste theUserdata Scriptfrom Step 1 into theCustom Datafield, then clickCreate. If you created a new key pair, clickDownload private key and create resource.
Agents in the left menu, select your agent, and you will see a green heartbeat pinged recently. It may take up to 2-3 minutes to appear after the agent starts.
Next Steps
Now that you have an agent configured and running, it can be used within an identity to allow your workload to connect to your internal Azure resources.GCP
Overview
Follow the steps below to install and configure an agent within your Google Cloud Platform (GCP) environment.Prerequisites
- Review the Agent reference page.
- Google Cloud Platform (GCP) account.
Step One - Create an Agent
Follow the Create an Agent guide to define an agent and generate the bootstrap config JSON file that will be used in step two.Step Two - Create an Instance Template in GCP
- If you already have the
Startup script, you can skip this step. In the Control Plane Console UI, clickAgentsin the left menu, select your agent, then chooseDownload Scriptsfrom theActionsmenu. Paste your bootstrap token and copy the script shown in theStartup scripttab. TheStartup scriptis used to automatically install and configure the Control Plane agent on your VM upon startup.
- Log in to the GCP Console. To the left of the search bar, select your target project.
-
In the GCP Console, navigate to
Compute Engine. In the left sidebar, under Virtual Machines, selectInstance templates, then clickCreate instance template. -
Enter a name for the Instance template. (e.g.,
cpln-agent-instance-template). -
Under the
Locationsection, selectRegional, and choose your preferred region.Note:The region needs to match where your internal resources are located, as the agent must be in the same VPC and region to connect to them.
-
For the
Machine configuration, selectC4for testing purposes. In production environments, refer to the Agent Sizing Guidance to select the appropriate instance type for running an agent. -
Under the
Machine Typesection, selectc4-standard-2(2 vCPUs, 7 GB memory) orc4-standard-4(4 vCPUs, 15 GB memory). An instance with at least 2 vCPUs and 4 GiB of memory is recommended for optimal performance. -
Under the
Boot disksection, set the operating system toUbuntuand selectUbuntu 26.04 LTS Minimal, then clickSelect. -
Scroll to the bottom of the page and expand
Advanced Options, then expandManagement. Paste theStartup scriptfrom Step 1 into theAutomationfield and clickCreate.
Step Three - Create an Instance Group in GCP
-
In the GCP Console, navigate to
Compute Engine. In the left sidebar, scroll down to Instance groups, selectInstance groups, then clickCreate instance group. -
Choose
New Managed Instance Group (Stateless)and enter a name for the instance group. (e.g.,cpln-agent). -
For the Instance template, select the name you created in Step Two (e.g.,
cpln-agent-instance-template). -
Under the
Locationsection, selectMultiple zonesand choose your preferred regions. -
For the Target distribution shape, select
Balancedto support active-active configuration and evenly distribute instances across all selected zones. -
Under the
Autoscalingsection, clickConfigure Autoscaling. Set theAutoscaling ModetoOn. Update the Minimum and Maximum number of instances as needed, and add any additional autoscaling signals if required.- For testing, set Minimum and Maximum capacity to 1.
- For production, set Minimum to 2 and Maximum to at least 4.
Note:You can also scale down to 0 or scale up to multiple agents for redundancy and reliability.
-
Click
Createin the bottom-left corner.
Agents in the left menu, select your agent, and you will see a green heartbeat pinged recently. It may take up to 2-3 minutes to appear after the agent starts.
Next Steps
Now that you have an agent configured and running, it can be used within an identity to allow your workload to connect to your internal GCP resources.Running locally in Docker
Overview
Follow the steps below to install and configure an agent within your private network.Prerequisites
Step One - Create an Agent
Follow the Create an Agent guide to define an agent and generate the bootstrap config file that will be used in step two.Step Two - Launch agent locally
- Open a new shell and execute the following command. Use the bootstrap file that was created in step one.
- The agent will now be running, connecting to the Control Plane servers, and ready to process requests.
Agents in the left menu, select your agent, and you will see a green heartbeat pinged recently. It may take up to a minute to appear after the agent starts.
Next Steps
Now that you have an agent configured and running, it can be used within an identity to allow your workload to connect to your local resources.Kubernetes (k8s) Cluster
Overview
Follow the steps below to install and configure an agent within your Kubernetes cluster.Prerequisites
Step One - Create an Agent
Follow the Create an Agent guide to define an agent and generate the bootstrap config file that will be used in step two.Step Two - Launch agent within a K8s cluster
-
Prepare your k8s manifests by going to your agent’s page in Control Plane. Select
Download Scriptsfrom theActionsmenu. Paste the bootstrap token you saved earlier and copy the YAML that shows in theK8S Manifeststab. There you can optionally configure a namespace and number of replicas. The recommended number of replicas is 2. -
Assuming you have saved the manifest to a file locally just apply it with
kubectl:
- Within a few minutes, the agent pods will be ready to handle requests.