# Add an Instance and a Cloud Account for Google Cloud Spanner

Add an instance and a cloud account for Google Cloud Spanner.

## Procedure

1. From the Command Center navigation pane, go to Protect > Databases.

   The Overview page appears.

2. In the upper-right corner, click Add instance, and then select Cloud database service.

   The Add Cloud DB Instance page appears.

3. Select the vendor as Google Cloud and then click Next.

   The Configure Google Cloud Database page appears.

4. Select the database service as Cloud spanner and click Next.

   The Configure Google Cloud Database - Cloud Spanner page appears.

5. In the Service Account section, you can choose to either create a new service account or use an existing one, and then click Next.

   Steps to create a new service account

   1. Select the Create service account option.

   2. Click the create new button .

      The Add credential screen appears.

      Note

      The Vendor type, Authentication type, and Credential Vault fields are automatically populated.

   3. Enter a name for the credential in the Credential name field.

   4. For JSON file path, select the JSON file for service account authentication that you downloaded when you created the GCP service account for the associated project.

      Note

      The Service account ID field is automatically populated when you upload the JSON file.

   5. Click Save

   OR

   Steps to use an existing service account

   1. Select the Use existing service account option.

   2. Select an existing credential from the drop-down.

6. In the Configure Access Nodes section, you can choose to either select an existing access node from the drop-down or add a new one.

   Steps to add a new access node

   1. Click the icon beside the Access node list.

      The Add a new Access node dialog box appears.

   2. From the Deployment type, you can select the following two types:

      - Vendor Native Deployment

      - Manual Deployment

   3. From the Platform list, you can select the following two platforms:

      - Windows

      - Linux

   4. Under Instance name, enter a name for the access node.

   5. Under Project ID box, specify the project ID.

   6. Under Zone, specify the deployment zone.

   7. Under Subnet URL, specify the subnet URL or path.

   8. Under VPC Network URL, specify the URL or path of the VPC network.

   9. Click Close.

7. In the Plan section, select a plan from the list and then click Next.

8. In the Cloud Account section, choose whether to use an existing cloud account or create a new account, as follows:

   1. Select a cloud account from the Cloud account list.

   2. To create a new cloud account, do the following:

      1. Click the add button .

         The Add cloud account dialog box appears.

      2. Enter a name for the account in the Name field.

      Important

      The Credential and Access node fields are automatically populated based on your previous selections.

      1. Click Save.

9. Click Next.

   The Cloud Database Instance Details page appears.

10. In the Instance field, the selected cloud account is displayed.

11. From the Project list, select a project.

12. Optional. Move the Automatically select staging path toggle key to the right to define the staging bucket path automatically.

13. If you do not select Automatically select staging path, in the Staging bucket path field, enter the location to use for staging backups of the instance.

14. Click Next.

    The Backup Content page appears.

15. In the Backup Content section, click Edit to browse and select instances, labels, and regions of the selected cloud project.

    Important

    If you do not specify the backup content, all tables in all datasets in the project are included in the backup content.

16. Click Next.

    The Summary page appears.

17. Click Finish.

×

Loading...