CockroachDB BYOC Overview

On this page Carat arrow pointing down

CockroachDB Cloud supports a "bring your own cloud" (BYOC) deployment model, where CockroachDB Cloud Advanced is hosted in your own account rather than in an account managed by Cockroach Labs. This model allows you to take more control of security and take advantage of existing cloud service credits or discounts.

Note:

The BYOC Cloud deployment option is currently in Preview.

Shared responsibility model for BYOC

In any CockroachDB Cloud deployment, responsibility for a successful and healthy deployment is split between you and Cockroach Labs. In a BYOC deployment, all of the CockroachDB Cloud infrastructure except the control plane lives in an account under your control, which means that you incur additional responsibilities under the shared model.

The following table describes the split of responsibilities between you and Cockroach Labs in the shared responsibility model for BYOC:

Area Cockroach Labs responsibility Customer responsibility
Uptime Ensure 99.999% cluster uptime Ensure that clusters remain accessible
Deployments Automate cluster provisioning and scaling, provide hardware best practices Provision new cloud service accounts and grant IAM permissions for Cockroach Labs to create and manage clusters
Upgrades Provide automatic minor/patch upgrades and major upgrade automation via Terraform, APIs, or the Cloud Console Initiate major version upgrades, set maintenance windows if applicable
Workload Troubleshoot problems as they pertain to cluster availability Size clusters to manage workload requirements, tune performance, and adjust schema designs with support from Cockroach Labs
Backups Initialize a default backup schedule and write to customer-owned Cloud storage, ensure backup jobs run successfully Configure a backup schedule as needed to meet RPO/RTO requirements
Support Reactively and proactively identify and resolve availability-impacting incidents Ensure sufficient hardware is made available and appropriate IAM permissions are maintained at all times
Billing Meter vCPUs consumed, charge for vCPU consumption at the per-minute level Negotiate with cloud service provider, manage infrastructure spend and discounts

Next steps

CockroachDB supports BYOC deployments in Amazon Web Services, Microsoft Azure, and Google Cloud Platform. Read the corresponding deployment guides:

×