Create a bucket and upload disk image

Store the Okta Access Gateway disk image in a bucket to use the image in Google Cloud.

Create a bucket

  1. Sign in to cloud.google.com.
  2. Click Console.
  3. Click Cloud Storage.
  4. Select your parent project from the projects dropdown list.
  5. Click Create Bucket.
  6. Enter a name for the bucket. Click Continue.
  7. Select an appropriate location type and location for the bucket. Click Continue.
  8. Choose the storage class for your bucket. Click Continue.
  9. Set Access control to Uniform or Fine-grained. Click Continue.
  10. Click Create.
  1. Sign in to Google Cloud, entering the appropriate credentials in the browser page that opens:

    gcloud auth login

  2. Optional. List all known projects:

    gcloud projects list

  3. Create a bucket:

    gsutil mb -p <project-name> -c <storage-class> -l <bucket-location> gs://<bucket-name>/

    where:

    • <bucket-name> is the name of the bucket
    • <project-name> is the name of a project from the projects list
    • <storage-class> is a valid storage class identifier
    • <bucket-location> is a valid bucket location identifier.

    For example:

    gsutil mb -p accessgateway -c NEARLINE -l us-east1 gs://oagbucket

Copy disk image to a bucket

  1. Sign in to cloud.google.com.
  2. Click Console.
  3. Click Cloud Storage.
  4. Click the bucket where you want to upload the image file.
  5. Drag the file that you downloaded to the browser or click Upload files and select the file. The time required to upload the file depends on the upload speed.

Copy the image file to a bucket:

gsutil cp <file> gs://<bucket-name>

where:

  • <file> is the fully qualified path to the image file downloaded from the Okta Admin Console
  • <bucket-name> is the bucket where you want to upload the file

For example, to upload the file oag-2022.1.0 to the bucket named oagbucket, you'd enter:

gsutil cp ./oag-2022.1.0.ova gs://oagbucket

See About Cloud Storage buckets for more information about Google Cloud Storage buckets.