To set up VSP One SDS Block, you need to configure a Google Cloud environment.
Prerequisites for configuring a Google Cloud environment are as follows:
-
The following tools must be installed.
-
gcloud CLI: Version 498.0.0 or later
-
Terraform: Version 1.5.7 or later
-
Terraform-provider-google: Version 6.12.0 or later
-
terraform-provider-null: Version 3.2.3 or later
-
terraform-provider-random: Version 3.7.1 or later
-
-
A Google Cloud project has already been created.
-
The controller node can access various services of Google Cloud.
-
Cloud Storage buckets and folders where error message files or dump log files are to be stored must have been created.
-
If the controller node is a Compute Engine instance, it should be configured to run the gcloud CLI and Terraform (e.g., set Access scopes to Allow full access to all Cloud APIs).
-
Do not include dots (".") in Cloud Storage bucket names.
-
When you create a Cloud Storage bucket, verify that the hierarchical namespace is disabled.
Configure a Google Cloud environment in the following flow.
Procedures for Creating a role for storage cluster management and Assigning a role for storage cluster management to a Google account must be performed by a user with administrative privilege.
-
Creating a role for storage cluster management
-
Assigning a role to a Google account
-
Creating a virtual network
-
Creating subnets
-
In this procedure, the following files (within a cloud configuration file package) indicated in Various files provided as downloads are used.
All file names for each resource creation are the same, but their respective directory names differ.
Name Directory name File name Template files for creating a role for storage cluster management IAMConfiguration/ backend.auto.tfvars
terraform.tfvars
main.tf
variable.tf
Template files for creating a virtual network VNetConfigurationFile/ backend.auto.tfvars
terraform.tfvars
main.tf
variable.tf
Template files for creating subnets SubnetConfigurationFile/ backend.auto.tfvars
terraform.tfvars
main.tf
variable.tf
-
The value you specify for parameters (such as namePrefix) when creating a resource in this procedure is set as a part of the name of the resource to be created. (Example: When creating a subnet, if you set "vsp-one" for namePrefix, the name of the control subnet created will be "vsp-one-control-subnet.")