Fortinet black logo

GCP Administration Guide

Finding public FortiGate images

Finding public FortiGate images

Fortinet publishes official images in the fortigcp-project-001 project. This is a special public project. Any GCP user can list images available there using the following command: gcloud compute images list --project fortigcp-project-001

The names of official FortiGate images start with fortinet-fgt-[VERSION] for bring your own license (BYOL) images or fortinet-fgtondemand-[VERSION] for pay as you go (PAYG) images. Selecting the correct image is your responsibility if deploying using gcloud or templates. Some templates provided by Fortinet can automatically find the image name based on version and licenses properties.

You can use gcloud command filter and format options to get a clean list. For example, gcloud compute images list --project fortigcp-project-001 --filter="name ~ fortinet-fgtondemand AND status:READY" --format="get(selfLink)" retrieves a list of image URLs for FortiGate PAYG. FGT_IMG=$(gcloud compute images list --project fortigcp-project-001 --filter="name ~ fortinet-fgt- AND status:READY" --format="get(selfLink)" | sort -r | head -1) saves the URL of the newest BYOL image into the FGT_IMG variable.

When deploying a VM, you can reference the base image by:

  • Image project and image name
  • Image project and image family
  • Image URL

Finding public FortiGate images

Fortinet publishes official images in the fortigcp-project-001 project. This is a special public project. Any GCP user can list images available there using the following command: gcloud compute images list --project fortigcp-project-001

The names of official FortiGate images start with fortinet-fgt-[VERSION] for bring your own license (BYOL) images or fortinet-fgtondemand-[VERSION] for pay as you go (PAYG) images. Selecting the correct image is your responsibility if deploying using gcloud or templates. Some templates provided by Fortinet can automatically find the image name based on version and licenses properties.

You can use gcloud command filter and format options to get a clean list. For example, gcloud compute images list --project fortigcp-project-001 --filter="name ~ fortinet-fgtondemand AND status:READY" --format="get(selfLink)" retrieves a list of image URLs for FortiGate PAYG. FGT_IMG=$(gcloud compute images list --project fortigcp-project-001 --filter="name ~ fortinet-fgt- AND status:READY" --format="get(selfLink)" | sort -r | head -1) saves the URL of the newest BYOL image into the FGT_IMG variable.

When deploying a VM, you can reference the base image by:

  • Image project and image name
  • Image project and image family
  • Image URL