Uploading Images to the Project
Note
You must use the following commands to upload images to the project as the MULTI_IP_SUBNET
flag is currently not available in the GCP user interface.
To deploy vNIOS for GCP, complete the following:
Download the NIOS GCP ddi.tar.gz image from Infoblox Support site.
Use the following commands to log in to the Google Cloud CLI:
gcloud auth login <use your gcloud account>
gcloud config set project <project name>
Use the following link to create a bucket in Google Cloud Storage:
https://cloud.google.com/storage/docs/gsutil/commands/mbUse the following command to upload the image to the GCP project bucket:
gsutil cp "<NIOS GCP ddi.tar.gz file>" gs://<path to gcp bucket>
Example:gsutil cp nios-8.4.0-EA-379714-2019-01-14-12-19-23-ddi.tar.gz gs://nios-bucket
Use the following command to create an image from the NIOS tarball. You can use the image to create a NIOS instance in later steps:
gcloud compute images create "<image name>" --guest-os-features MULTI_IP_SUBNET --source-uri gs://<bucket path>/<NIOS GCP ddi.tar.gz filename>
Example:gcloud compute images create "nios-840-ea" --guest-os-features MULTI_IP_SUBNET --source-uri gs://nios-bucket/nios-8.4.0-EA-379714-2019-01-14-12-19-23-ddi.tar.gz