In this section:
In the Google Cloud Platform, the Terraform module orchestrates the SBC HA pair with either of the following:
Before executing the Terraform module, ensure that you:
accounts.json
file from your GCP account, and place it under the directory that contains the Terraform files. Refer to "Account Permissions for Terraform" of the page GCP Service Account Permissions for required permissions.HFE_GCE.sh
script to a bucket. For more information, refer to Create a Bucket in Cloud storage for HFE script upload.Ensure the following files are present under main source directory:
Do not create a router and a router-nat, if it already exists for the VPC network/subnet.
To create a new one, specify different VPC network/subnet to avoid an error.
If a router and router-nat containing all subnet ranges exists, you cannot create a new one.
To create a Standalone SBC, modify the terraform.tfvars
under the directory sbc_stand_alone/
, and execute the Terraform commands mentioned below.
A screenshot of terraform.tfvars
is shown below. Modify the highlighted parameters based on the user account/requirements. You may modify values for other parameters based on the deployment. The description of the parameters are in variables.tf
.
To create an HA SBC with HFE 2.0, modify the terraform.tfvars
under the directory sbc_hahfe_single/
, and execute the Terraform commands mentioned below.
A screenshot of terraform.tfvars
is shown below. Modify the highlighted parameters depending on the user account/requirements. You may modify the values of the other parameters based on the deployment.
The description of the parameters are available in variables.tf
.
To create an HA SBC with HFE 2.1, modify the terraform.tfvars
under the directory sbc_hahfe_split/
, and execute the Terraform commands mentioned below.
A screenshot of terraform.tfvars
is shown below. Modify the highlighted parameters depending on the user account/requirements. You may modify the values of the other parameters based on the deployment.
The description of the parameters are available in variables.tf
.
After all the parameters are updated, execute the following commands:
terraform init terraform validate terraform plan terraform apply