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
-
Download the Unified Access Gateway
.ovaimage file, version 2103 or later, from Customer Connect. -
Open a PowerShell command window and run the following command to extract the
.vmdkfile from the previously downloaded.ovafile:expand-7zip ova-filename target-location- ova-filename is the
.ovaimage file which is downloaded from the Downloads page in an earlier step. - target-location is the location to which the
.vmdkfile is extracted. For example:euc-unified-access-gateway-21.03.0.0-42741891_OVF10.ovais downloaded from the Customer Connect page, where21-03is the version number and42741891is the build number.
To extract the
.vmdkfile toC:\temp, use the following command:expand-7zip C:\temp\euc-unified-access-gateway-21.03.0.0-42741891_OVF10.ova C:\temp\ - ova-filename is the
-
Set the following variables: image name ($gcImageFile), image folder ( $gcImageFolder), and image file ($gcImageFile).
$gcImageFile is set with the extracted
.vmdkfile 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" -
Create a Google Cloud storage bucket by using the following command:
gsutil mb -l us-east1 gs://$gcBucketAlternately, you can use an existing Google Cloud storage bucket.
-
Upload the
.vmdkimage to the Google Cloud storage bucket by using the following command:gsutil cp $gcImageFolder\$gcImageFile gs://$gcBucket -
Create the appliance image in the Compute Engine from the uploaded
.vmdkby using the following command:gcloud compute images import $gcImageName --source-file gs://$gcBucket/$gcImageFile --data-diskConsidering the example mentioned in the previous steps, the appliance image created in the Compute Engine is
euc-unified-access-gateway-21-03-0-0-42741891where21-03is the version number and42741891is the build number.
Was this page helpful?