Generate a key pair (public and private keys) in the
PEM format. See the Oracle Cloud documentation for
more information about the required keys.
Create an API Key.
Log in to the OCI web interface.
Open the User menu and select
Add Public Key
Paste the public key you created in the previous step
into the Public Key field.
Modify the terraform.tfvars file for your OCI environment
to allow the template to access and deploy the specified resources.
The terraform.tfvars file consists of the following components:
tenancy_ocid—the identifier of your Oracle Cloud
tenant. You can locate the tenancy OCID by selecting
compartment_ocid—the identifier of your OCI compartment.
You can locate the compartment OCID by selecting
user_ocid—the identifier of the user account you will be
using with the Terraform template. You can locate the user OCI by
fingerprint—The fingerprint of the public key added in the
user API Keys section of the OCI console. You can locate the fingerprint
in the OCI web interface by selecting
private_key_path—Each OCI user requires a keypair to access
OCI and deploy resources. The private key is located on your computer
and you need to provide the path to that key in the terraform.tfvars
region—The region where you are deploying the VM-Series firewall.
If your private key requires a password, you must add
the password to the Terraform template files in three places.
Replace the OCID next to the region as shown below.
Save your changes.
) You can change other values in the
template files to suit your deployment. These values include the
display name of the VM-Series firewall instance, the instance shape,
the VCN CIDR block, etc. The provided templates have default values
For example, the default VCN CIDR block is 10.1.0.0/16.
You can change this value in the variables.tf file.
Save any changes you have made to your template files.