|
1 | 1 | --- |
2 | | -title: Prepare a CockroachDB Cloud BYOC Deployment in GCP |
| 2 | +title: Prepare a CockroachDB Cloud BYOC Deployment in Google Cloud Platform |
3 | 3 | summary: Prepare a cloud service account to self-host a CockroachDB Cloud deployment with the BYOC model |
4 | 4 | toc: true |
5 | 5 | keywords: deployment, byoc |
6 | 6 | --- |
7 | 7 |
|
8 | | -CockroachDB {{ site.data.products.cloud }} supports a "bring your own cloud" (BYOC) deployment model, where CockroachDB {{ site.data.products.cloud }} {{ site.data.products.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. |
| 8 | +This page describes how to prepare a cloud service account to host a [BYOC deployment]({% link cockroachcloud/byoc-overview.md %}) of CockroachDB {{ site.data.products.cloud }} {{ site.data.products.advanced }} in Google Cloud Platform (GCP). |
9 | 9 |
|
10 | 10 | {{site.data.alerts.callout_info}} |
11 | 11 | The BYOC {{ site.data.products.cloud }} deployment option is currently in [Preview]({% link {{ site.current_cloud_version }}/cockroachdb-feature-availability.md %}). |
12 | 12 | {{site.data.alerts.end}} |
13 | 13 |
|
14 | | -This page describes how to prepare a cloud service account to host a BYOC deployment of CockroachDB {{ site.data.products.cloud }} {{ site.data.products.advanced }} in GCP. |
15 | | - |
16 | | -## Shared responsibility model for BYOC |
17 | | - |
18 | | -{% include cockroachcloud/byoc/byoc-responsibility-model.md %} |
19 | | - |
20 | 14 | ## Prerequisites |
21 | 15 |
|
22 | 16 | {% include cockroachcloud/byoc/byoc-common-prerequisites.md %} |
@@ -56,7 +50,22 @@ Follow these steps to create the intermediate service account: |
56 | 50 |
|
57 | 51 | ## Step 3. Create the CockroachDB {{ site.data.products.cloud }} cluster |
58 | 52 |
|
59 | | -In BYOC deployments, CockroachDB clusters are deployed with the {{ site.data.products.cloud }} API and must use the {{ site.data.products.advanced }} plan. Follow the API documentation to [create a CockroachDB {{ site.data.products.cloud }} {{ site.data.products.advanced }} cluster]({% link cockroachcloud/cloud-api.md %}#create-an-advanced-cluster). |
| 53 | +In BYOC deployments, CockroachDB clusters can be deployed in the {{ site.data.products.cloud }} Console or with the [{{ site.data.products.cloud }} API]({% link cockroachcloud/cloud-api.md %}). |
| 54 | + |
| 55 | +### Create a cluster with the {{ site.data.products.cloud }} Console |
| 56 | + |
| 57 | +Follow these steps to create a CockroachDB cluster in the {{ site.data.products.cloud }} console: |
| 58 | + |
| 59 | +1. Open the {{ site.data.products.cloud }} and select the organization that has been enabled for BYOC. |
| 60 | +1. Click **Create cluster** |
| 61 | +1. Under **Select a plan**, click **{{ site.data.products.advanced }}. |
| 62 | +1. Under **Cloud & Regions**, click **Bring Your Own Cloud** and select Google Cloud. |
| 63 | +1. Under **Cloud account**, click **Select your cloud account > Add new cloud account**. Enter the service account email associated with your intermediate service account. |
| 64 | +1. Follow the rest of the **Create Cluster** steps to configure your cluster's regions, capacity, and features as desired. Read the [Plan a CockroachDB {{ site.data.products.advanced}} Cluster]({% link cockroachcloud/plan-your-cluster-advanced.md %}) documentation for more details. |
| 65 | + |
| 66 | +### Create a cluster with the {{ site.data.products.cloud }} API |
| 67 | + |
| 68 | +Send a `POST` request to the the `/v1/clusters` endpoint to [create a CockroachDB {{ site.data.products.cloud }} {{ site.data.products.advanced }} cluster]({% link cockroachcloud/cloud-api.md %}#create-an-advanced-cluster). |
60 | 69 |
|
61 | 70 | The following example request creates a 3-node {{ site.data.products.advanced }} cluster in the `us-east1` region, specifying the `service_account_email` associated with the intermediate service account you created: |
62 | 71 |
|
|
0 commit comments