# Google Cloud Platform

## Customer-Hosted GCP Storage Environment <a href="#customer-hosted-gcp-storage-environment" id="customer-hosted-gcp-storage-environment"></a>

To use GCP as your storage environment to back up metadata and data objects, configure it within the Vault application as follows:

1. Navigate to the **Backup Environment** tab under the **Settings** module.
2. Select **GCP** as the Storage Type.
3. Enter a **Label Name** for your environment.
4. Enter your **Cloud Storage Bucket Name**. To create a bucket:
   1. In the Google Cloud Console, go to the **Cloud Storage Browser**.
   2. Click **Create bucket**.
   3. On the bucket creation page, complete the following:
      * **Name**: Choose a valid name following [bucket naming requirements](https://cloud.google.com/storage/docs/naming-buckets).
      * **Location**: Select a [Location type and region](https://cloud.google.com/storage/docs/locations).
      * **Storage class**: Pick a [default storage class](https://cloud.google.com/storage/docs/storage-classes).
      * **Access control**: Choose an appropriate [access model](https://cloud.google.com/storage/docs/access-control).
      * Optional: Configure labels, [retention policy](https://cloud.google.com/storage/docs/bucket-lock), and [encryption](https://cloud.google.com/storage/docs/encryption).
      * Click **Create**.
   4. In the **Project ID** field, enter the relevant project ID (visible under **Settings** in your GCP Console). To create a project:
      * Go to the **Manage resources** page.
      * Click **Create Project**.
      * Enter a **name**, **billing account**, and **location**.
      * Click **Create**.

<figure><img src="/files/ggQLAqPCXFHlsWnTOtS9" alt="Creating a GCP Project"><figcaption><p>Create GCP Project</p></figcaption></figure>

5. Upload the **GC Storage Credential File** (.json) for your GCP service account. To create one:
   * Go to the **Service Accounts** page.
   * Select a project and click **Create Service Account**.

<figure><img src="/files/4GXFPsmMf8W7pujSN7wZ" alt="Creating a GCP service account"><figcaption><p>Create Service Account</p></figcaption></figure>

```
- Provide a name and optional description.
- Click **Done**, or **Create** to proceed with role assignment.
```

<figure><img src="/files/4pz4O0Q6oJGjnHRDQfae" alt="GCP service account info form" width="298"><figcaption><p>Service Account Details</p></figcaption></figure>

```
- Optionally assign IAM roles and service account users/admins.
- Click **Done**.
- Under **Actions**, choose **Manage Keys**.
```

<figure><img src="/files/DMgzHoe5La5RcHU2G7iv" alt="Manage keys for service account" width="563"><figcaption><p>Manage Service Account Keys</p></figcaption></figure>

```
- Go to **Add Key > Create new key**.
- Choose **JSON** and click **Create** to download the key.
```

<figure><img src="/files/GsHh0ooxr3WNNSBdihDF" alt="Create and download GCP service account key" width="546"><figcaption><p>Download JSON Key</p></figcaption></figure>

```
- Upload this JSON file under the **GC Storage Credential File** field.
```

6\. In **Region**, choose the region where your GCP bucket resides. 7. Click **Save Settings**.

***

## Vault Hosted Backup Environment <a href="#vault-hosted-backup-environment" id="vault-hosted-backup-environment"></a>

To use Vault’s hosted environment for backups:

1. Check the box: [**AR Vault Hosted Backup Environment**](https://www.autorabit.com/products/vault-data-backup-recovery/).
2. Select the desired **Region** for your data.
3. Click **Save Settings**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.autorabit.com/product-guides/vault/configuring-vault/configure-backup-environment/google-cloud-platform.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
