此外,Compute Engine 和 Google Cloud VMware Engine 中的 VM 都能掛接相同的雲端磁碟區。以下圖表顯示 NetApp Cloud Volumes Service for Google Cloud 與 VMware Engine 和 Compute Engine 搭配使用的情形:
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[],[],null,["# Connecting workload VMs to Cloud Volumes Service\n================================================\n\n| **Important:** This document has been replaced by [Connecting workload VMs to Google Cloud NetApp Volumes](/vmware-engine/docs/vmware-ecosystem/howto-connect-workload-vm-to-netapp-volumes). Refer to that page for information on connecting NetApp Volumes to VMware Engine.\n\n[NetApp Cloud Volumes Service for Google Cloud](/solutions/partners/netapp-cloud-volumes) (CVS) speeds up the deployment of\ncloud-based applications through rapid provisioning of shared file services and\nstorage management features. Connecting Cloud Volumes Service to\nVMware Engine lets you mount CVS cloud volumes from within the guest\nOS of your workload virtual machines (VMs).\n\nHere are some common use cases for using cloud volumes with\nVMware Engine:\n\n- Virtual desktop infrastructure (VDI)\n- Creating VM home directories\n- Setting up file services\n- Shared file storage for applications and databases\n\nAdditionally, VMs in Compute Engine and Google Cloud VMware Engine can both mount\nthe same cloud volumes. Here's a diagram that shows NetApp Cloud Volumes Service for Google Cloud being used\nwith VMware Engine and Compute Engine:\n\nBefore you begin\n----------------\n\nThe steps in this document assume that you have done the following:\n\n- [Created a Cloud Volume](/solutions/partners/netapp-cloud-volumes/quickstart) with the selected 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.\n- [Created a private cloud](/vmware-engine/docs/private-clouds/howto-create-private-cloud) in the same region as your Cloud Volume.\n\nGet VPC network details\n-----------------------\n\nWhen creating a peering connection between VMware Engine and\nCloud Volumes Service, you need some details about the VPC network used by\nCloud Volumes Service:\n\n1. In the Google Cloud console, go to the **VPC Network peerings** page.\n\n [Go to VPC Network peerings](https://console.cloud.google.com/vmwareengine/network-peerings)\n2. Click **Select a project** and then select the organization, folder, or project that\n contains the peering connection.\n\n3. Select the peering connection created for your Cloud Volume that corresponds\n to your private cloud. The CVS-Performance [service type](/architecture/partners/netapp-cloud-volumes/service-types)\n uses connections named \"netapp-cv-nw-customer-peer\", and the CVS service type\n uses connections named \"netapp-sds-nw-customer-peer\".\n\n | **Note:** You might see multiple peering connections with the same name if you have more than one peered VPC network for a service type. The person who set up the VPC Network Peering connections can help you determine which connection to use for VMware Engine.\n4. Copy the **Peered project ID** field, which ends with *-tp*.\n\n### Create a peering connection for standard networks\n\nTo establish a connection between VMware Engine and\nCloud Volumes Service create a [VPC Network Peering](/vpc/docs/vpc-peering)\nbetween the tenant host project and the VMware Engine network using the details you copied previously.\n\n1. Create a new [VPC Network Peering](/vpc/docs/vpc-peering).\n2. Select **Peered VPC type**: NetApp Cloud Volumes.\n3. In the **NetApp tenant project ID** field, enter the *peered project ID*.\n\nExpect the VPC peering status of your new private connection to\nstay in the *Inactive* state for up to 72 hours while VMware Engine\nservices and validates the peering request.\n\nMount a volume\n--------------\n\nOnce the peering status of your private connection is listed as *Active*, you\ncan mount your cloud volume. Perform the mounting process from within the guest\nOS of your VMware VM.\n\nTo mount an NFS volume, do the following:\n\n1. In the Google Cloud console, go to **Cloud Volumes \\\u003e Volumes**.\n\n [Go to the Volumes page](https://console.cloud.google.com/netapp/cloud-volumes/volumes)\n2. Click **Select a project** and then select the organization, folder, or project that\n contains the volume.\n\n3. Click the NFS volume for which you want to mount NFS exports.\n\n4. Click **More**\n *more_vert* , and then click\n **Mount Instructions**.\n\n5. Follow the instructions in the **Mount Instructions for NFS** window that\n appears. The mounting instructions might be slightly different depending on\n which NFS protocol you have configured for the volume.\n\nTo mount an SMB volume, do the following:\n\n1. In the Google Cloud console, go to **Cloud Volumes \\\u003e Volumes**.\n\n [Go to the Volumes page](https://console.cloud.google.com/netapp/cloud-volumes/volumes)\n2. Click **Select a project** and then select the organization, folder, or project that\n contains the volume.\n\n3. Click the SMB volume for which you want to map an SMB share.\n\n4. Click **More**\n *more_vert* , and then click\n **Mount Instructions**.\n\n5. Follow the instructions in the **Mount Instructions for SMB** window\n that appears.\n\nAfter you mount your cloud volume, you can manage the volume using the standard\ninterfaces described by [Workflow for managing cloud volumes](/solutions/partners/netapp-cloud-volumes/workflow).\n\nWhat's next\n-----------\n\n- Learn about [Using NFS volumes hosted by CVS as vSphere datastores](/vmware-engine/docs/vmware-ecosystem/howto-cloud-volumes-service-datastores)."]]