Connecting workload VMs to NetApp Cloud Volumes Service

NetApp Cloud Volumes Service for Google Cloud (CVS) speeds up the deployment of cloud-based applications through rapid provisioning of shared file services and storage management features. Connecting Cloud Volumes Service to VMware Engine lets you mount CVS cloud volumes from within the guest OS of your workload virtual machines (VMs).

Here are some common use cases for using cloud volumes with VMware Engine:

  • Virtual desktop infrastructure (VDI)
  • Creating VM home directories
  • Setting up file services
  • Shared file storage for applications and databases

Additionally, VMs in Compute Engine and Google Cloud VMware Engine can both mount the same cloud volumes. Here's a diagram that shows NetApp Cloud Volumes Service for Google Cloud being used with VMware Engine and Compute Engine:

Architecture diagram of Cloud Volumes Service in relation to
          Google Cloud VMware Engine and Compute Engine

Before you begin

The steps in this document assume that you have done the following:

  • Created a Cloud Volume with the desired parameters (like allocated capacity and protocol type) in a given region. You can use NFSv3, NFSv4, or SMB volumes for the connection described in this document.
  • Created a private cloud in the same region as your Cloud Volume.

Get VPC network details

When creating a peering connection between VMware Engine and Cloud Volumes Service, you need some details about the VPC network used by Cloud Volumes Service:

  1. In the Google Cloud Console, select the Google Cloud project containing your Cloud Volume.
  2. Go to VPC network > VPC network peering.

    Go to VPC network peering

  3. Select the peering connection created for Cloud Volumes Service.

  4. Copy the Peered VPC network and Peered project ID fields, which begin with netapp and end with -tp, respectively.

Create a peering connection

To establish a connection between VMware Engine and Cloud Volumes Service, perform a one-time peering between the tenant host projects:

  1. In the Google Cloud Console, select the Google Cloud project containing your private cloud.
  2. Access the Google Cloud VMware Engine portal
  3. Go to Network > Private connection.
  4. Click Add Private Connection.
  5. For Service, select NetApp Cloud Volumes.
  6. In the NetApp tenant project ID field, enter the peered project ID of the Cloud project containing your Cloud Volume.
  7. In the Tenant VPC field, enter the name of the peered VPC network your Cloud Volume is in.
  8. Select the Region that contains your Cloud Volume and private cloud.
  9. Click Submit.

Repeat the above process for each region containing your Cloud Volumes and private clouds.

Mount a volume

Once the peering status of your private connection is listed as Active, you can mount your cloud volume. Perform the mounting process from within the guest OS of your VMware VM.

To mount an NFS volume, do the following:

  1. In the Cloud Console, go to Cloud Volumes > Volumes.

    Go to the Volumes page

  2. Click the NFS volume for which you want to mount NFS exports.

  3. Scroll to the right, click More , and then click Mount Instructions.

  4. Follow the instructions in the Mount Instructions for NFS window that appears. The mounting instructions might be slightly different depending on which NFS protocol you have configured for the volume.

To mount an SMB volume, do the following:

  1. In the Cloud Console, go to Cloud Volumes > Volumes.

    Go to the Volumes page

  2. Click the SMB volume for which you want to map an SMB share.

  3. Scroll to the right, click More , and then click Mount Instructions.

  4. Follow the instructions in the Mount Instructions for SMB window that appears.

After you mount your cloud volume, you can manage the volume using the standard interfaces described by Workflow for managing cloud volumes.