Fortinet black logo

Create an image with the image file

Create an image with the image file

To create an image with an image file:
  1. In the Google Cloud platform, go to storage > Cloud Storage > Browser.
  2. Open the bucket you created. See, Create a bucket and upload the image file.

  3. Click the xxx.gcp.tar.gz image you uploaded to the bucket. The Object details page opens.

  4. Click the Activate Cloud Shell icon to prepare the image.
    1. Click to copy the gsutil URI.
    2. Ensure Your Cloud Platform project in this sessions is set to the correct project.

  5. To prepare the image, run the following command:

    gcloud compute images create <image_name> --source-uri <gsutil_URI> --guest-os-features MULTI_IP_SUBNET

    • <image_name> is the name of the new image.
    • <gsutil_URI> is the gsutil URI you copied in the previous step.

  6. To verify the image is ready, run the following command:

    gcloud compute images describe <image_name>

    Ensure the image type supports MULTI_IP_SUBNET.

Create an image with the image file

To create an image with an image file:
  1. In the Google Cloud platform, go to storage > Cloud Storage > Browser.
  2. Open the bucket you created. See, Create a bucket and upload the image file.

  3. Click the xxx.gcp.tar.gz image you uploaded to the bucket. The Object details page opens.

  4. Click the Activate Cloud Shell icon to prepare the image.
    1. Click to copy the gsutil URI.
    2. Ensure Your Cloud Platform project in this sessions is set to the correct project.

  5. To prepare the image, run the following command:

    gcloud compute images create <image_name> --source-uri <gsutil_URI> --guest-os-features MULTI_IP_SUBNET

    • <image_name> is the name of the new image.
    • <gsutil_URI> is the gsutil URI you copied in the previous step.

  6. To verify the image is ready, run the following command:

    gcloud compute images describe <image_name>

    Ensure the image type supports MULTI_IP_SUBNET.