Prepare Image for deployment to Google Cloud

Google Cloud cannot import the Access Gateway OVA unchanged.
To prepare the image we must:

  • Import the image into Virtual Box
  • Configure Virtual Box Image Settings
  • Export the image

 

Import the and configure Virtual Box Image Settings:

  1. Start VirtualBox
  2. Import the OVA
    1. Choose File > Import Appliance
    2. Navigate to the directory containing the downloaded Access Gateway OVA file, and click Open
    3. Click Continue.
    4. Set the following VM Options:
      1. Assign the VM a meaningful name.
      2. Specify Generate New MAC addresses for all network adapters.
      3. Uncheck Import hard drives as VDI. Note that Google Public Cloud requires disks be created in VMDK format.
      Virtual Box import applications settings dialog with options highlighted.
    5. Click Import.
      Wait for the import to complete.
  3. From the virtual machine list, select the name of the Virtual Machine just imported.
  4. Right click the VM name and choose Start > Normal Start.
    Wait for the Access Gateway instance to start.
  5. Export the updated OVA
    1. In the Access Gateway command console enter 5 - System
    2. Select 6 - Shutdown.
    3. Enter y to confirm the shutdown.
      Wait as the gateway appliance shuts down.
    4. Right click and choose Export to OCI.
    5. Select Open Virtualization Format 2.0.
    6. Ensure that the file name for the export ends in OVA.
    7. Under MAC Address Policy, select Include all network adapter MAC addresses.
    8. Click Continue
    9. Click Export.
  6. Exit Virtual Box