> ## Documentation Index
> Fetch the complete documentation index at: https://cockroachlabs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CockroachDB BYOC Overview

export const InternalLink = ({version, path = "", children, ...props}) => {
  let detectedVersion = version || "stable";
  if (typeof window !== 'undefined' && !version) {
    const match = window.location.pathname.match(/\/docs\/([^/]+)/);
    if (match) {
      detectedVersion = match[1];
    }
  }
  const normalizedPath = path.startsWith("/") ? path.slice(1) : path;
  return <a href={`/docs/${detectedVersion}/${normalizedPath}`} {...props}>
      {children}
    </a>;
};

**This feature is in <InternalLink path="cockroachdb-feature-availability">preview</InternalLink>** and subject to change. To share feedback and/or issues, contact [Support](https://support.cockroachlabs.com).

CockroachDB CockroachDB Cloud supports a [Bring Your Own Cloud (BYOC) deployment model](https://www.cockroachlabs.com/product/cloud/bring-your-own-cloud/), where CockroachDB CockroachDB Cloud Advanced is hosted in your own cloud 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.

## Shared responsibility model for BYOC

In any CockroachDB CockroachDB Cloud deployment, responsibility for a successful and healthy deployment is <InternalLink path="production-checklist">split between you and Cockroach Labs</InternalLink>. In a BYOC deployment, all of the <InternalLink path="plan-your-cluster-advanced#advanced-cluster-architecture">CockroachDB CockroachDB Cloud infrastructure</InternalLink> 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 to CRL via cross-account IAM as documented in the corresponding [deployment guide](#next-steps)                                                       |
| 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 CockroachDB Cloud Console |            Initiate <InternalLink path="upgrade-cockroach-version">major version upgrades</InternalLink>, <InternalLink path="advanced-cluster-management#set-a-maintenance-window">set maintenance windows</InternalLink> if applicable           |
|   Workload  |                               Troubleshoot problems as they pertain to cluster availability                               | <InternalLink path="advanced-cluster-management#scale-your-cluster">Size clusters</InternalLink> to manage workload requirements, [tune performance](/docs/stable/performance-recipes), 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 to prevent scaling issues, including negotiating cloud resource quotas and availability with your cloud service provider. Maintain appropriate IAM permissions at all times              |
|   Billing   |    Meter vCPUs consumed, <InternalLink path="costs">charge for vCPU consumption</InternalLink> 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. To prepare your cloud account for a BYOC deployment, refer to the corresponding deployment guide:

* <InternalLink path="byoc-aws-deployment">Prepare a CockroachDB Cloud BYOC Deployment in Amazon Web Services</InternalLink>
* <InternalLink path="byoc-azure-deployment">Prepare a CockroachDB Cloud BYOC Deployment in Azure</InternalLink>
* <InternalLink path="byoc-gcp-deployment">Prepare a CockroachDB Cloud BYOC Deployment in Google Cloud Platform</InternalLink>

Once your cloud account is prepared for a BYOC deployment, cluster configuration and management is identical to a CockroachDB CockroachDB Cloud Advanced cluster. To learn more about CockroachDB CockroachDB Cloud Advanced cluster planning and management, refer to the following guides:

* <InternalLink path="plan-your-cluster-advanced">Plan an Advanced cluster deployment</InternalLink>
* <InternalLink path="cloud-api">Manage a cluster using the CockroachDB Cloud API</InternalLink>
* <InternalLink path="production-checklist">Prepare a deployment for production</InternalLink>
