Fortinet black logo

GCP Administration Guide

Creating a FortiGate custom image

Creating a FortiGate custom image

Note

This process uses environment variables with the GCloud SDK CLI commands.

To create a FortiGate custom image:
  1. Obtain and place the latest FortiGate-VM 7.0 image in your desired bucket:
    1. Download the FortiGate-VM image from the Fortinet Support site. For more information, see Obtaining the deployment image.
    2. Place the obtained image in your desired bucket. For more information, see Uploading the deployment image to Google Cloud.
  2. Create a custom image via the Google Cloud CLI SDK. Assign environment variables with your project ID, the bucket where you placed the FortiGate-VM image, and the image name. This example uses the full name of the file downloaded from the Fortinet Support site in the image variable:
    project=<your project id>
    bucket=<name of your bucket>
    source_image=FGT_VM64_GCP-v7.0.X.F-buildXXXX-FORTINET.out.gcp.tar.gz
    image_name=doc-fortigate-vm-image
    
    gcloud compute images create $image_name \
    --project=$project \
    --source-uri=https://storage.googleapis.com/$bucket/$source_image \
    --storage-location=us

Creating a FortiGate custom image

Note

This process uses environment variables with the GCloud SDK CLI commands.

To create a FortiGate custom image:
  1. Obtain and place the latest FortiGate-VM 7.0 image in your desired bucket:
    1. Download the FortiGate-VM image from the Fortinet Support site. For more information, see Obtaining the deployment image.
    2. Place the obtained image in your desired bucket. For more information, see Uploading the deployment image to Google Cloud.
  2. Create a custom image via the Google Cloud CLI SDK. Assign environment variables with your project ID, the bucket where you placed the FortiGate-VM image, and the image name. This example uses the full name of the file downloaded from the Fortinet Support site in the image variable:
    project=<your project id>
    bucket=<name of your bucket>
    source_image=FGT_VM64_GCP-v7.0.X.F-buildXXXX-FORTINET.out.gcp.tar.gz
    image_name=doc-fortigate-vm-image
    
    gcloud compute images create $image_name \
    --project=$project \
    --source-uri=https://storage.googleapis.com/$bucket/$source_image \
    --storage-location=us