In this section...
This Terraform Module orchestrates the HA SBC pair with HFE in the GCP.
Before executing the Terraform module, ensure that you:
Make sure the following files are present under main source directory:
Main Source Directory
File Name | Comment |
---|---|
common_modules | Contains all the sub-modules used to create the resources like VPCs, Subnets, Firewalls, and so on. |
hfe_module | Contains all the files needed to bring up HFE. |
sbc_module | Contains all the files needed to bring up SBC. |
sbc_stand_alone | Main directory used to create a Standalone SBC. |
sbc_hahfe | Main directory used to create a SBC HA pair with HFE. |
To create a Standalone SBC, modify the terraform.tfvars under sbc_stand_alone/ and run the terraform commands mentioned below.
A screenshot of terraform.tfvars is shown here. The highlighted parameters need to be changed depending on the user account/requirements. Other parameters can be modified according to deployment. The description of each parameter can be found in variables.tf.
terraform.tfvars for Standalone SBC
To create an HA SBC with HFE, modify the terraform.tfvars under sbc_sbc_hahfe/ and run the terraform commands mentioned below.
A screenshot of terraform.tfvars is shown here. The highlighted parameters need to be changed depending on the user account/requirements. Other parameters can be modified according to deployment.
The description of each parameter can be found in variables.tf.
terraform.tfvars for HA SBC With HFE
After all the parameters are updated, run the following commands:
terraform init terraform validate terraform plan terraform apply