Add an instance and a cloud account for Google Cloud Spanner.
Procedure
-
From the navigation pane, go to Protect > Databases.
The Instances page appears.
-
Click Add instance, and then select Cloud database service.
The Add Cloud DB Instance page appears.
-
From the Vendor options, select Google Cloud Platform and then click Next.
The Configure Google Cloud Database page appears.
-
From the Select A Database Service options, select Cloud spanner, and then click Next.
The Configure Google Cloud database - Cloud spanner page appears.
-
In the Plan section, select a backup plan, and then click Next.
The Cloud Account page appears.
-
From the Cloud Account list, select an existing cloud account or create a new cloud account by clicking the + icon.
-
To add a new cloud account, beside the Cloud account list, click +.
The Add cloud account appears.
-
In the Name box, type the name for the account.
-
From the Credential list, select an existing credential or add a new credential.
Steps to add a new credential
-
Click the + icon beside the Credentials list.
The Add Credential dialog box appears.
-
From the Credential Vault list, select a credential vault to store credentials for different types of accounts.
-
In the Credential name box, enter a name for the credential.
-
Beside Private key file field, click Upload to choose your JSON key file.
-
In the Description box, enter the details of the credential.
-
Click Save.
-
-
From the Access node list, select an existing credential or add a new access node.
Steps to add a new access node
-
Click the + icon beside the Access node list.
The Add a new Access node dialog box appears.
-
From the Deployment type, you can select the following two types:
-
Vendor Native Deployment
-
Manual Deployment
-
-
From the Platform list, you can select the following two platforms:
-
Windows
-
Linux
-
-
Under Instance name, enter a name for the access node.
-
Under Project ID box, specify the project ID.
-
Under Zone, specify the deployment zone.
-
Under Subnet URL, specify the subnet URL or path.
-
Under VPC Network URL, specify the URL or path of the VPC network.
-
Click Close.
-
-
Click Next.
The Instance Details page appears.
-
From the Instance name list, select an instance.
-
Select Automatically select staging path if you want an optimal Google Cloud Spanner bucket to be created and used for backup and recovery.
-
Click Next.
The Backup Content page appears.
-
In the Backup Content box, click Edit.
The Browse backup content dialog box appears.
-
Select the content to be backed up, and then click Save.
-
Click Next.
The Summary page appears.
-
Click Finish.
Results
The instance contains a default database group. You cannot delete the default database group.