Fortinet white logo
Fortinet white logo

OCI Administration Guide

(Optional) Bootstrapping FortiGate-VM on the OCI GUI at initial bootup

(Optional) Bootstrapping FortiGate-VM on the OCI GUI at initial bootup

This section explains how to add bootstrapping of FortiGate CLI commands and a BYOL license at the time of initial bootup as part of instance creation on the OCI GUI console.

To bootstrap a FortiGate-VM on the OCI GUI at initial bootup:
  1. Refer to sample text content available on GitHub. This content is in MIME format.
  2. This example uses the following CLI commands:

    config system global

    set timezone 03

    end

    This example CLI sets the timezone as GMT-9 Alaska. You can replace these lines with your own set of CLI commands.

  3. Download a FortiGate-VM license file from Customer Service & Support after registering your product code. In the sample text found in step 1, find the following lines:

    20 -----BEGIN FGT VM LICENSE-----

    21 Replace with your own

    22 -----END FGT VM LICENSE-----

    Replace these lines with the license file content. FortiGate-VM license content resembles the following:

  4. You will copy and paste this content into the OCI GUI during instance creation in Advanced Options > Management > User data. See steps 2h in To create the FortiGate-VM instance: or 5e in Creating an instance by selecting an OCI partner image.

(Optional) Bootstrapping FortiGate-VM on the OCI GUI at initial bootup

(Optional) Bootstrapping FortiGate-VM on the OCI GUI at initial bootup

This section explains how to add bootstrapping of FortiGate CLI commands and a BYOL license at the time of initial bootup as part of instance creation on the OCI GUI console.

To bootstrap a FortiGate-VM on the OCI GUI at initial bootup:
  1. Refer to sample text content available on GitHub. This content is in MIME format.
  2. This example uses the following CLI commands:

    config system global

    set timezone 03

    end

    This example CLI sets the timezone as GMT-9 Alaska. You can replace these lines with your own set of CLI commands.

  3. Download a FortiGate-VM license file from Customer Service & Support after registering your product code. In the sample text found in step 1, find the following lines:

    20 -----BEGIN FGT VM LICENSE-----

    21 Replace with your own

    22 -----END FGT VM LICENSE-----

    Replace these lines with the license file content. FortiGate-VM license content resembles the following:

  4. You will copy and paste this content into the OCI GUI during instance creation in Advanced Options > Management > User data. See steps 2h in To create the FortiGate-VM instance: or 5e in Creating an instance by selecting an OCI partner image.