As a cloud administrator, you can create a Google Cloud Platform (GCP) cloud account for account regions to which your team will deploy vRealize Automation cloud templates.
Prerequisites
- Verify that you have the required administrator credentials and have enabled HTTPS access on port 443. See Credentials required for working with cloud accounts in vRealize Automation.
- Verify that you have the required user role. See What are the vRealize Automation user roles.
- Verify that you have access to the Google Cloud Platform JSON security key.
- Verify that you have required security information for your Google Cloud Platform instance. You can obtain most of this information from your instance or from the Google documentation.
- If you do not have external Internet access, configure an Internet server proxy. See How do I configure an Internet proxy server for vRealize Automation.
Procedure
Results
The account is added to vRealize Automation, and the selected regions are available for the specified cloud zone.
What to do next
Create infrastructure resources for this cloud account.
The following paragraphs provide some information on deploying a Google Cloud Platform virtual machine from Cloud Assembly.
When you add a Google Cloud Platform cloud account to a Cloud Assembly cloud template, you can use the useSoleTenant
YAML property to indicate that you want to deploy a virtual machine to a sole tenant node. This configuration enables you to isolate virtual machines for security, privacy or others issues.
To facilitate this functionality, Google Cloud Platform node affinity labels are converted to tags in Cloud Assembly, and these tags are applied on relevant vRealize Automation availability zones where node groups reside. When the useSoleTenant
property is set to true, constraint tags must be one of the node affinity labels. Also, to deploy a machine in sole tenant mode, you must include the useSoleTenant
property in the cloud template as well as the constraint tags.
Before using this feature, you must create the appropriate node template and node affinity labels inGoogle Cloud Platform and then create a node group.
The following YAML example shows how the useSoleTenant
property can be used in Cloud Assembly cloud templates. The constraint tags are the node affinity labels that were auto-collected from your Google Cloud Platform server.
resources: Cloud_GCP_Machine_1: type: Cloud.GCP.Machine properties: image: ubuntu flavor: c2-family name: demo-vm useSoleTenant: true constraints: -tag: 'env:prod' -tag: 'region:asia-east1'