Skip to content

Section 2: Deploy A/P FortiGate cluster

Step 2.1: Deploy FortiGate cluster using Terraform

Click the link below using the same browser you used to log in to OCI.

The link redirects you to the Oracle Resource Manager Stacks service, which uses Terraform behind the scenes.

Create Lab Environment
Deploy to Oracle Cloud

The template creates the following infrastructure:

  • 3 VCNs:
    • 2 Spoke VCNs
    • 1 FortiGate VCN
  • Required subnets, route tables, and security lists
  • 2 FortiGate-VM instances using FortiOS 8.0.0 BYOL images

On the Stacks management page, select:

text
I have reviewed and accept the Oracle Terms of Use

Accept Oracle Terms of Use

Make sure your assigned student compartment is selected, then click Next at the bottom-left corner.

Select Student Compartment

On the next page, define a PREFIX and paste the specific compartment OCID value for your deployment.

Each group uses a different student ID and compartment so that the resources for each study group can be identified easily.

Important

This step is mandatory. If the prefix or compartment OCID is not configured correctly, the deployment will fail.

After entering the required values, click Next at the bottom-left corner, then click Create.

Configure Prefix and Compartment OCID

Enter the FortiFlex token values provided for both FortiGate VMs.

Enter FortiFlex Token Values

The deployment takes a few minutes to complete.

When the deployment is complete, the job status is shown as:

text
SUCCEEDED

OCI Stack Deployment Succeeded


Step 2.2: Verify deployment

The FortiGate VMs should be deployed and shown as Running under:

text
Compute > Instances

Verify FortiGate VMs Are Running

There should be three VCNs deployed for the lab.

Verify Three Lab VCNs

FortiGate OCI Hands-on Lab Guide