Adding Google Cloud Platform data center
To access the cloud resources, you need to configure the cloud configuration. This information is used to validate the cloud configuration. When you add an Google Cloud Platform cloud data center, you enter a few details for the data center such as Project ID and Service Account like Client Emails, Private key if not autodetected. You need to enter details for region and bucket name also.
To add Google Cloud Platform data center
- Prerequisite:
Ensure that the Service Account which is used to add the Google Cloud Platform data center has the required API permissions.
Ensure that the subnet of the NIC with which Resiliency Manager can communicate with GCP having private Google Access should be turned on or should have internet access.
Ensure to enable Compute Engine, Cloud KMS, and Cloud Storage APIs.
- Navigate to Settings (menu bar) > Infrastructure > Details view.
- Select Datacenter +.
- Enter the geographical location and the name of the data center.
- Select Is Cloud Datacenter and then select Google Cloud Platform as cloud type. Click Next.
- In the Google Cloud Platform configurations window, on Service Account details for data center panel select any one option to enter the following information:
Continue with associated account
Provide another service account details
If you select Continue with associated account option, provide following information:
Enter the configuration name.
Provide a user friendly name to the configuration.
Project ID: This is (auto-detected)
Service Account:This is (auto-detected)
Region: Select from the dropdown.
Bucket: Select from the dropdown.
You can select or unselect the Discover the Shared VPC Resources checkbox.
Note:
If this checkbox is checked, at least one subnet from same region needs to be shared from host project with configured project. You need to configure few permissions for this checkbox. Refer API permissions required for Google Cloud Platform
If you select Provide another service account details option, provide following information:
Enter the configuration name.
Provide a user friendly name to the configuration.
Project ID: Enter the Project ID.
Client Email: Enter the Client Email.
Region: Select from the dropdown.
Bucket:Select from the dropdown.
You can select or unselect the Discover the Shared VPC Resources checkbox.
Note:
If this checkbox is checked, at least one subnet from same region needs to be shared from host project with configured project. You need to configure few permissions for this checkbox. Refer API permissions required for Google Cloud Platform
Enter Private Key. Click Verify to validate the private key.
This key can be extracted from Service account json. Refer Creating and managing service account keys
- Click Submit to complete the configuration.