Customer-Controlled BYOC Governance¶
Customers retain control over the access your generated control plane has to their BYOC infrastructure. They can restrict permissions in AWS BYOC accounts or revoke and restore the agent connection to a BYOC On-Premise cluster. These controls govern operational access to the customer environment, rather than user access to your SaaS product.
AWS BYOC¶
For AWS BYOC PrivateLink accounts, the customer account owner manages account access and permissions together on the account's Governance Controls tab. These settings form one requested governance configuration and are applied together through the customer-owned AccountConfigSetup CloudFormation stack.
Account governance settings¶
| Governance control | Default | What it controls |
|---|---|---|
| Account Access for your service provider | Enabled | Connects or disconnects Omnistrate account access. Disconnecting does not delete customer workloads or infrastructure. |
| Allow Support Debug Access | Disabled | Allows the SaaS Provider to reach the Kubernetes API through the BYOC PrivateLink debug path for support and troubleshooting. |
| Allow AWS Infrastructure Changes | Enabled | Allows Omnistrate agents to create, update, and delete AWS resources for workload lifecycle operations. Disabling it preserves read-only inspection. |
The three controls are saved and applied as a single set. Turning off account access overrides the effective debug-access and infrastructure-mutation permissions without discarding their saved values. Those preferences are available again when account access is restored.
Restricting account access, debug access, or infrastructure mutation can prevent provisioning, updates, scaling, repairs, monitoring, and deletion operations that require those permissions.
Update account governance settings¶
Every governance change uses the same two-step process: save the requested settings in Omnistrate, and then apply those settings in the customer AWS account. Saving settings in Omnistrate does not by itself change access or permissions in AWS.
Save the requested settings¶
- In the Customer Portal, open BYOC Cloud Accounts.
- Select the account that you want to update and open its Governance Controls tab.
- Change one or more governance controls. The form always saves the three controls as one requested configuration.
- Select Save Changes. To discard edits that have not been saved, select Discard instead.
When the saved settings differ from the settings currently applied in AWS, the account enters PENDING_UPDATE. A Pending AWS update badge identifies each control whose requested value has not yet been applied.
When account access is disabled, the support debug access and AWS infrastructure change controls cannot be edited. Their saved values are retained and become effective again after account access is restored.
Update account onboarding¶
After saving a change, the Pending AWS Update panel displays the command for the customer-owned AccountConfigSetup stack.
- Select Open AWS CloudShell to open CloudShell in the AWS console.
- Copy the command from the Pending AWS Update panel, paste it into the CloudShell prompt, and run it without changing its generated account and governance parameters.
- Wait for the existing
AccountConfigSetupCloudFormation stack to reachUPDATE_COMPLETE. The command updates that stack with the necessary governance settings; it does not create a replacement stack.
The generated update includes all currently requested governance settings, not only the control that was most recently changed.
Omnistrate waits for the CloudFormation update and verifies the applied settings automatically. No separate confirmation is required:
- When disconnecting, the account moves from
PENDING_UPDATEtoDISCONNECTEDafter Omnistrate confirms that access has been revoked. - When connecting, the account moves from
PENDING_UPDATEtoREADYafter verification succeeds. Reconnecting also redeploys the affected deployment cells to restore dataplane connectivity. - For other governance changes, the account moves from
PENDING_UPDATEtoREADYafter Omnistrate observes the requested settings in the CloudFormation stack.
The generated update maps the shared governance settings to these CloudFormation parameters:
| Governance setting | CloudFormation parameter |
|---|---|
| Account access enabled | AccountAction=Connect |
| Account access disabled | AccountAction=Disconnect |
| Support debug access | K8sDebugAccessEnabled |
| AWS infrastructure changes | AgentInfrastructureMutationEnabled |
Disconnect and reconnect¶
After the disconnect update to the customer-owned AccountConfigSetup CloudFormation stack reaches UPDATE_COMPLETE, Omnistrate verifies that account access has been revoked and sets the account to DISCONNECTED. Disconnecting revokes bootstrap access, disables the dataplane agent's AWS permissions, and scales the dataplane agent down on the account's BYOC PrivateLink host clusters. Existing customer workloads and infrastructure continue running.
After the reconnect update to the customer-owned AccountConfigSetup CloudFormation stack reaches UPDATE_COMPLETE, Omnistrate verifies the account and redeploys the affected deployment cells to restore dataplane-agent capacity. The account returns to READY after verification succeeds.
Warning
Complete or cancel active host-cluster deployment and deletion operations before disconnecting the account. While an account is disconnected, lifecycle operations that require AWS or Kubernetes access cannot complete.
AccountAction affects only BYOC PrivateLink accounts. Other deployment models ignore this parameter and retain their existing access configuration.
Related targeted Kubernetes controls¶
The DataplaneKubernetesAccessRole, DataplaneKubernetesAccessTargets, and K8sDebugAccessTargets CloudFormation parameters provide lower-level, targeted controls for individual host clusters or AWS regions. They are separate from the three shared account governance settings. For their values, targeting formats, and verification steps, see AWS CloudFormation Account Controls. For the private connectivity model, see BYOC PrivateLink.
BYOC On-Premise¶
For BYOC On-Premise, the customer controls control plane access through the dataplane agent Helm release in their Kubernetes cluster. The agent initiates an outbound connection to your generated control plane; customers do not need to expose the Kubernetes API server publicly.
- Revoke access: Uninstall the
dp-agentHelm release from thedataplane-agentnamespace. This disconnects the agent without uninstalling the customer's product workloads, but the control plane can no longer monitor or perform lifecycle operations in the cluster. - Grant or restore access: Generate a fresh install kit for the customer onboarding instance and run the Helm install command included in the kit. The generated
values.yamlcontains the account-specific agent configuration, so use the kit for the intended account and cluster.
For the commands and verification steps, see Control Plane Access.