Skip to main content

November 19, 2024

Upload the Unified Access Gateway image to Google Cloud Platform

To deploy a Unified Access Gateway instance to the Compute Engine, you must upload a Unified Access Gateway appliance disk image to the Google Cloud Platform.

Procedure

  1. Download the Unified Access Gateway.ova image file, version 2103 or later, from Customer Connect.

  2. Open a PowerShell command window and run the following command to extract the .vmdk file from the previously downloaded .ova file:

    expand-7zip ova-filename target-location
    
    • ova-filename is the .ova image file which is downloaded from the Downloads page in an earlier step.
    • target-location is the location to which the .vmdk file is extracted. For example: euc-unified-access-gateway-21.03.0.0-42741891_OVF10.ova is downloaded from the Customer Connect page, where 21-03 is the version number and 42741891 is the build number.

    To extract the .vmdk file to C:\temp, use the following command:

    expand-7zip C:\temp\euc-unified-access-gateway-21.03.0.0-42741891_OVF10.ova C:\temp\
    
  3. Set the following variables: image name ($gcImageFile), image folder ( $gcImageFolder), and image file ($gcImageFile).

    $gcImageFile is set with the extracted .vmdk file name. $gcImageFile is uploaded to the Google Cloud storage bucket.

    For example:

    
    $gcImageFolder="C:\temp"
    $gcImageFile="euc-unified-access-gateway-21.03.0.0-42741891-system.vmdk"
    $gcBucket="uag-appliance-images"
    $gcImageName=$gcImageFile.Replace("-system.vmdk","").Replace(".", "-")
    gcloud auth login
    gcloud config set project "my-project"
    
    
  4. Create a Google Cloud storage bucket by using the following command:

    gsutil mb -l us-east1 gs://$gcBucket
    

    Alternately, you can use an existing Google Cloud storage bucket.

  5. Upload the .vmdk image to the Google Cloud storage bucket by using the following command:

    gsutil cp $gcImageFolder\$gcImageFile gs://$gcBucket
    
  6. Create the appliance image in the Compute Engine from the uploaded .vmdk by using the following command:

    gcloud compute images import $gcImageName --source-file gs://$gcBucket/$gcImageFile --data-disk
    

    Considering the example mentioned in the previous steps, the appliance image created in the Compute Engine is euc-unified-access-gateway-21-03-0-0-42741891 where 21-03 is the version number and 42741891 is the build number.

    If the network is in custom subnet mode, then --subnet default must be specified.

    gcloud compute images import $gcImageName --source-file gs://$gcBucket/$gcImageFile --data-disk --subnet default
    

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…