Storage pools in Google Cloud NetApp Volumes let you provision shared capacity, performance, and configuration settings for your volumes. You can create a storage pool by using the Google Cloud console or the Google Cloud CLI.
Before you begin
Consider the following requirements before you create a storage pool:
You must complete the following steps before you can create a storage pool:
Select or create a project in Google Cloud and enable billing.
Enable private services access for the Virtual Private Cloud (VPC) network that you want to use. You can also enable private services access as part of the storage pool creation if you're using the Google Cloud console.
If you want to use customer-managed encryption keys (CMEK), create a CMEK policy first.
If you want to use Active Directory, create an Active Directory policy first.
You can assign a CMEK policy only during storage pool creation. To encrypt existing volumes in a region with a CMEK policy after creation, use the
EncryptVolumesfunction.You can change only the description, capacity, and labels after creation.
After you attach an Active Directory policy to a storage pool, you can't detach it.
Storage pool capacity is subject to a location-based quota of 25 TiB. If you need more capacity, request a quota increase for the Storage pool capacity (GiB) per location quota. For more information, see NetApp Volumes quotas.
Create a storage pool
Use the following instructions to create a storage pool by using the Google Cloud console or the gcloud CLI.
Console
Go to the NetApp Volumes page in the Google Cloud console.
Click Storage pools.
Click Create.
In the Storage pool details section, complete the following actions:
In the Name field, enter a name for the pool. The name must be unique for each project.
Optional: In the Description field, enter a description for the pool.
Select a location for the pool.
Select a service level:
Flex
Standard
Premium
Extreme
For the Flex service level, configure the following options:
- Type: select File or Unified.
ONTAP Mode: For the Flex Unified service level, click Enable ONTAP Mode to enable ONTAP-mode.
Availability: Select either zonal or regional availability.
For zonal availability, specify the zone that you want to use.
For regional availability, specify a primary zone and a replica zone.
Optional: For a zonal Flex Unified storage pool, select the Large volume checkbox to create large capacity volumes. The pool configuration that the large volume option creates depends on your project access:
By default, the option creates a large capacity pool with six endpoints.
For approved projects, the option creates a large capacity pool with 12 endpoints in allow-listed GA. To request access, contact sales.
For more information about the capacity and performance limits of each pool type, see Service levels.
Enter the capacity for the storage pool in the Capacity field.
Optional: For the Flex Unified and Flex File service levels in regions that support custom-performance, complete the following steps for the storage pool:
In the Throughput field, enter the throughput for the storage pool.
In the IOPS field, enter the IOPS for the storage pool.
In the VPC list, select the VPC network that you want to use. If you haven't peered your VPC, click Set up connection and complete the following steps:
Enable the Service networking API.
Click Use an automatically allocated IP range or to choose a CIDR manually, click Select one or more existing IP ranges or create a new one.
Review your selections.
Click Create connection.
After peering is complete, a notification appears that indicates VPC peering is successful.
In the Active Directory policy section, complete the following steps:
Select the Assign an Active Directory policy to the storage pool checkbox to provision a storage pool for volumes that use LDAP, Kerberos, or any SMB protocol variations.
Select a policy from the Active Directory policy list.
For Flex Unified in ONTAP-mode, configure Active Directory at the ONTAP level.
If you plan to use NFS protocol combinations, select the Enable LDAP checkbox. When you select this option, you can create only LDAP-enabled NFS volumes in the pool. You must also configure Active Directory LDAP to provide UNIX user information. If you want to create NFSv3 or NFSv4 volumes that use regular
AUTH_SYSauthentication, don't select the Enable LDAP checkbox.For Flex Unified in ONTAP-mode, configure the LDAP setting at the ONTAP level.
In the Encryption section, complete the following steps:
Select Google-managed encryption key or Customer-managed encryption key (CMEK).
If you select Customer-managed encryption key (CMEK), select a CMEK policy.
To enable auto-tiering, select the Allow auto-tiering checkbox.
For Premium and Extreme pools: You can enable auto-tiering during pool creation or for existing pools. For volumes that you create in these pools, you can enable auto-tiering on a per-volume basis. By default, auto-tiering is disabled. Standard pools don't support auto-tiering.
For Flex Unified and Flex File custom-performance zonal pools: You must enable auto-tiering during pool creation. All volumes in the pool are automatically created with auto-tiering enabled unless you disable it during volume creation. In the Hot tier threshold field, enter the hot tier size. For more information, see Performance and hot tier sizing.
Optional: To automatically increase the hot tier when it reaches capacity, select the Enable hot tier auto-increase checkbox. You can't decrease the hot tier threshold.
Optional: In the Labels section, click Add label to enter relevant labels for reporting and querying purposes.
Click Create.
gcloud
Create a Standard, Premium, or Extreme storage pool
Create a storage pool:
gcloud netapp storage-pools create POOL_NAME \ --project=PROJECT_ID \ --location=LOCATION \ --capacity=CAPACITY \ --service-level=SERVICE_LEVEL \ --network=name=NETWORK_NAME
Replace the following information:
POOL_NAME: The name of the pool you want to create. Your pool name must be unique per location.PROJECT_ID: The name of the project you want to create the storage pool in.LOCATION: The location of the pool you want to create.CAPACITY: The capacity of the pool in GiB.SERVICE_LEVEL: The service level for your storage pool: Standard, Premium, or Extreme.NETWORK_NAME: The name of the VPC.
Create a Flex Unified storage pool that uses auto-tiering
Create a storage pool:
gcloud netapp storage-pools create POOL_NAME \ --project=PROJECT_ID \ --location=LOCATION \ --capacity=CAPACITY \ --service-level=Flex \ --network=name=NETWORK_NAME \ --type=UNIFIED \ --mode=MODE \ --total-iops=IOPS \ --total-throughput=THROUGHPUT \ --allow-auto-tiering=true \ --hot-tier-size=HOT_TIER_SIZE \ --enable-hot-tier-auto-resize=ENABLE_HOT_TIER_AUTO_RESIZE
Replace the following information:
POOL_NAME: The name of the pool you want to create. Your pool name must be unique per location.PROJECT_ID: The name of the project you want to create the storage pool in.LOCATION: The location of the pool you want to create. For zonal pools, specify a zone name. For regional pools, specify a region name and include primary and standby zones by using the--zoneand--replica-zoneflags.CAPACITY: The capacity of the pool in GiB.NETWORK_NAME: The name of the VPC.MODE: To create an ONTAP-mode pool, specify--modeasONTAP. For Default-mode pools, specify--modeasDEFAULTor omit this flag.THROUGHPUT: The throughput of the storage pool in MiBps.IOPS: The IOPS of the storage pool.HOT_TIER_SIZE: The hot tier size in GiB.ENABLE_HOT_TIER_AUTO_RESIZE: Optional: Set totrueto enable auto-resizing of the hot tier.
To create a large capacity pool, add the --scale-type=scaleout flag. Large
capacity pools are zonal only. By default, the --scale-type=scaleout flag
creates a large capacity pool with six endpoints. For approved projects, this
flag creates a large capacity pool with 12 endpoints in allow-listed GA.
For more information about additional optional flags, see Google Cloud SDK documentation about storage pool creation.