Create a Z4M storage-optimized instance

To deploy high-throughput, low-latency self-managed storage for your clustered GPU workloads in AI Hypercomputer, create Compute Engine instances that use the Z4M storage-optimized machine types (z4m-highmem-192-cd or z4m-highmem-192-metal-cd). Each Z4M instance includes 168,000 GiB of local Titanium SSD storage, up to 400 Gbps of standard Virtual Private Cloud networking, and up to 400 Gbps of Cloud RDMA networking.

When you create a reservation-bound Z4M instance, you can target a specific reservation block, which represents an availability domain for Z4M. By placing storage nodes in different blocks, you isolate them from correlated hardware failures and scheduled maintenance events so that your parallel file system remains highly available.

Limitations

Before you create a Z4M instance, consider the following limitations:

  • Z4M machine types are available only in select regions and zones. For more information, see Available regions and zones.
  • You can't attach GPUs to Z4M instances, use confidential computing, or modify the number of vCPUs, memory, or attached local Titanium SSD disks.
  • Z4M instances don't support live migration or suspending and resuming. Configure the host maintenance policy to TERMINATE (--maintenance-policy=TERMINATE) with automatic restart enabled (automaticRestart: true) so that instances restart in place with local Titanium SSD data persistence after host maintenance or repairs.
  • You must use a Google Cloud Hyperdisk Balanced (hyperdisk-balanced) volume for the boot disk.
  • Z4M instances support only the reservation-bound provisioning model with a future reservation. They don't support Spot VMs, Flex-start VMs, calendar mode, or on-demand provisioning.
  • When you configure Cloud RDMA (IRDMA) network interfaces, the following restrictions apply:
    • You must specify at least one GVNIC interface (for z4m-highmem-192-cd VMs) or IDPF interface (for z4m-highmem-192-metal-cd bare metal instances) before you specify any IRDMA interfaces, and you can't configure more IRDMA interfaces than GVNIC or IDPF interfaces.
    • Each Z4M instance supports up to two IRDMA interfaces. When you configure two IRDMA interfaces on a z4m-highmem-192-cd VM, you can configure up to eight GVNIC interfaces (ten total network interfaces). On a z4m-highmem-192-metal-cd bare metal instance, you can configure up to two IDPF interfaces and up to two IRDMA interfaces, for a total of four network interfaces.
    • IRDMA interfaces and Falcon VPC networks support IPv4 addresses only. They don't support Cloud Next Generation Firewall rules, packet mirroring, or external IP addresses.

Before you begin

  1. Obtain capacity for your Z4M instances by requesting a future reservation.

  2. Select the tab for how you plan to use the samples on this page:

    Console

    When you use the Google Cloud console to access Google Cloud services and APIs, you don't need to set up authentication.

    gcloud

    Install the Google Cloud CLI, and then sign in to the gcloud CLI with your federated identity. After signing in, initialize the Google Cloud CLI by running the following command:

    gcloud init

    REST

    To use the REST API samples on this page in a local development environment, you use the credentials you provide to the gcloud CLI.

      Install the Google Cloud CLI, and then sign in to the gcloud CLI with your federated identity.

    For more information, see Authenticate for using REST in the Google Cloud authentication documentation.

Required roles

To get the permissions that you need to create a Z4M `-cd` instance, ask your administrator to grant you the following IAM roles on the project:

For more information about granting roles, see Manage access to projects, folders, and organizations.

You might also be able to get the required permissions through custom roles or other predefined roles.

Overview

To create and configure a Z4M -cd instance, complete the following steps:

  1. Optional: Set up VPC networks for Cloud RDMA
  2. Identify a reservation block (availability domain)
  3. Create a Z4M -cd instance
  4. Format and mount local Titanium SSD disks

Optional: Set up VPC networks for Cloud RDMA

If you plan to use Cloud RDMA (IRDMA) to connect your Z4M storage instances to your clustered GPU instances, you must have the following VPC networks before you create the Z4M instance:

  • At least one regular VPC network for GVNIC (for z4m-highmem-192-cd VMs) or IDPF (for z4m-highmem-192-metal-cd bare metal instances) network interfaces. Each regular network interface must connect to a separate VPC network.
  • One Falcon VPC network (--network-profile=ZONE-vpc-falcon) with a separate IPv4 subnet for each IRDMA network interface (up to two IRDMA interfaces per instance). To communicate over Cloud RDMA with your clustered GPU instances, you can either attach the Z4M IRDMA interfaces to the same Falcon VPC network as your clustered GPU instances or create a dedicated Falcon VPC network for storage traffic.

To create two regular VPC networks (one for each standard GVNIC or IDPF interface when configuring two IRDMA interfaces) and a Falcon VPC network with two IPv4 subnets by using the Google Cloud CLI, run the following commands:

  1. Create two regular VPC networks, subnets, and firewall rules for standard (GVNIC or IDPF) traffic:

    for i in $(seq 0 1); do
      gcloud compute networks create NETWORK_PREFIX-$i \
          --subnet-mode=custom \
          --mtu=8896
    
      gcloud compute networks subnets create SUBNET_PREFIX-$i \
          --network=NETWORK_PREFIX-$i \
          --region=REGION \
          --range=192.168.$i.0/24
    
      gcloud compute firewall-rules create NETWORK_PREFIX-$i-allow-internal \
          --network=NETWORK_PREFIX-$i \
          --action=ALLOW \
          --rules=tcp:0-65535,udp:0-65535,icmp \
          --source-ranges=192.168.0.0/16
    
      gcloud compute firewall-rules create NETWORK_PREFIX-$i-allow-ssh \
          --network=NETWORK_PREFIX-$i \
          --action=ALLOW \
          --rules=tcp:22 \
          --source-ranges=SSH_SOURCE_IP_RANGE
    done
    

    Replace the following:

    • NETWORK_PREFIX: the name prefix for the regular VPC networks (creates NETWORK_PREFIX-0 and NETWORK_PREFIX-1). If you plan to configure only one IRDMA interface, you need only one regular VPC network.
    • SUBNET_PREFIX: the name prefix for the subnets in the regular VPC networks (creates SUBNET_PREFIX-0 and SUBNET_PREFIX-1).
    • REGION: the region where you plan to create the Z4M instance.
    • SSH_SOURCE_IP_RANGE: the IPv4 address range from which to allow SSH connections, in CIDR format.
  2. Create a Falcon VPC network and two IPv4 subnets for IRDMA network interfaces:

    gcloud compute networks create RDMA_NETWORK_NAME \
        --network-profile=ZONE-vpc-falcon \
        --subnet-mode=custom \
        --mtu=8896
    
    for i in $(seq 0 1); do
      gcloud compute networks subnets create RDMA_SUBNET_PREFIX-$i \
          --network=RDMA_NETWORK_NAME \
          --region=REGION \
          --range=192.168.$((i+2)).0/24
    done
    

    Replace the following:

    • RDMA_NETWORK_NAME: the name for the Falcon VPC network.
    • ZONE: the zone where you plan to create the Z4M instance (for example, us-central1-a).
    • RDMA_SUBNET_PREFIX: the prefix for the IPv4 subnets in the Falcon VPC network.
    • REGION: the region that contains ZONE.

Identify a reservation block (availability domain)

When you reserve Z4M capacity for z4m-highmem-192-cd VMs or z4m-highmem-192-metal-cd bare metal instances, AI Hypercomputer organizes the reserved capacity into one or more reservation blocks (reservationBlocks). Unlike accelerator machine series—where a block groups tightly coupled GPUs for network proximity—each Z4M reservation block maps to an availability domain (one or more isolated maintenance zones, typically a rack).

Placing Z4M instances in different blocks provides fault isolation and independent maintenance, similar to a spread placement policy, except that you explicitly choose the availability domain when you create each instance:

  • Isolate failures and maintenance across blocks: Instances in different Z4M blocks aren't subject to correlated rack or switch failures and undergo scheduled maintenance independently. Distribute your storage nodes across multiple blocks so your parallel file system stays available during hardware failures or maintenance.
  • Verify cluster-level proximity to GPUs: Each block also reports a physicalTopology.cluster value. To confirm that your Z4M reservation is in the same cluster as your clustered GPU reservation for low-latency Cloud RDMA traffic, compare the physicalTopology.cluster values. This value is not the same as physicalTopology.block, which is physically distinct between Z4M and accelerator families.

To view the blocks in your reservation and identify the block names to target:

  1. List the blocks in your Z4M reservation by running the gcloud compute reservations blocks list command:

    gcloud compute reservations blocks list RESERVATION_NAME \
        --zone=ZONE
    

    Replace the following:

    • RESERVATION_NAME: the name of your reservation. If the reservation is in a shared reservation owner project, add the --project=RESERVATION_OWNER_PROJECT_ID flag.
    • ZONE: the zone where the reservation exists.

    The output is similar to the following:

    ---
    creationTimestamp: '2026-10-15T12:00:00.000-07:00'
    count: 4
    id: '1234567890123456789'
    inUseCount: 0
    kind: compute#reservationBlock
    name: z4m-reservation-block-0001
    physicalTopology:
      block: 3e3056e23cf91a5cb4a8621b6a52c100
      cluster: us-central1-cluster-abcd
    reservationSubBlockCount: 1
    reservationSubBlockInUseCount: 0
    selfLink: https://www.googleapis.com/compute/v1/projects/example-project/zones/us-central1-a/reservations/z4m-reservation/reservationBlocks/z4m-reservation-block-0001
    selfLinkWithId: https://www.googleapis.com/compute/v1/projects/example-project/zones/us-central1-a/reservations/z4m-reservation/reservationBlocks/1234567890123456789
    status: READY
    zone: https://www.googleapis.com/compute/v1/projects/example-project/zones/us-central1-a
    
  2. Record the name field for each block that you want to target (for example, z4m-reservation-block-0001). Target different block names as you create storage instances to distribute them across availability domains.

  3. Optional: Compare the physicalTopology.cluster value with your clustered GPU reservation to confirm that both reservations are in the same cluster. For more information, see View the topology of a reservation and View topology of a compute instance.

  4. Optional: To list the physical hosts in a specific reservation block, run the following command:

    gcloud compute hosts list \
        --reservation=RESERVATION_NAME \
        --reservation-block=BLOCK_NAME \
        --zone=ZONE
    

    Replace BLOCK_NAME with the name of the reservation block from a previous step.

Create a Z4M -cd instance

To create a reservation-bound z4m-highmem-192-cd VM or z4m-highmem-192-metal-cd bare metal instance, select one of the following options. To place the instance in a specific block (availability domain), target the block resource path in the --reservation flag or reservationAffinity field:

Console

  1. In the Google Cloud console, go to the Create an instance page.

    Go to Create an instance

  2. In the Name field, enter a name for the instance, and select the Region and Zone where your reservation exists.

  3. In the Machine configuration section, click Storage-optimized, select the Z4M series, and then select z4m-highmem-192-cd or z4m-highmem-192-metal-cd in the Machine type list.

  4. In the Provisioning model section, configure the following settings:

    • In the VM provisioning model list, select Reservation-bound.

    • Expand VM provisioning model advanced settings, and then configure the following:

      • In the On VM termination list, select whether to Stop or Delete the instance when the reservation ends.
      • In the On host maintenance list, verify that Terminate VM instance is selected.
      • In the Automatic restart list, verify that On (recommended) is selected.
  5. In the navigation menu, click OS and storage, click Change, select an OS image that supports GVNIC (for VMs) or IDPF (for bare metal instances), verify that Boot disk type is set to Hyperdisk Balanced, and then click Select. For supported images, see Operating system details.

  6. In the navigation menu, click Networking, expand Network interfaces, and select the VPC network and subnet that you want to use. In the Network interface card list, select gVNIC (for z4m-highmem-192-cd VMs) or IDPF (for z4m-highmem-192-metal-cd bare metal instances) instead of using the default value.

  7. In the navigation menu, click Advanced. In the Reservations section, click Choose a reservation, select the reservation that you want to use, and then click Choose.

  8. Click Create.

gcloud

To create a reservation-bound Z4M instance in a specific reservation block (availability domain) with Cloud RDMA networking, use the gcloud compute instances create command:

gcloud compute instances create INSTANCE_NAME \
    --zone=ZONE \
    --machine-type=MACHINE_TYPE \
    --image-family=IMAGE_FAMILY \
    --image-project=IMAGE_PROJECT \
    --boot-disk-type=hyperdisk-balanced \
    --boot-disk-size=BOOT_DISK_SIZE \
    --provisioning-model=RESERVATION_BOUND \
    --reservation-affinity=specific \
    --reservation=projects/RESERVATION_OWNER_PROJECT_ID/reservations/RESERVATION_NAME/reservationBlocks/BLOCK_NAME \
    --maintenance-policy=TERMINATE \
    --restart-on-failure \
    --instance-termination-action=TERMINATION_ACTION \
    --network-interface=nic-type=NIC_TYPE,network=NETWORK_NAME_0,subnet=SUBNET_NAME_0 \
    --network-interface=nic-type=NIC_TYPE,network=NETWORK_NAME_1,subnet=SUBNET_NAME_1 \
    --network-interface=nic-type=IRDMA,network=RDMA_NETWORK_NAME,subnet=RDMA_SUBNET_NAME_0,no-address \
    --network-interface=nic-type=IRDMA,network=RDMA_NETWORK_NAME,subnet=RDMA_SUBNET_NAME_1,no-address

Replace the following:

  • INSTANCE_NAME: the name for the Z4M instance.
  • ZONE: the zone where the reservation exists.
  • MACHINE_TYPE: the Z4M machine type, either z4m-highmem-192-cd (VM) or z4m-highmem-192-metal-cd (bare metal).
  • IMAGE_FAMILY and IMAGE_PROJECT: the image family and project of a supported OS image—for example, rocky-linux-9-optimized-gcp in rocky-linux-cloud or a custom storage image that supports GVNIC (for VMs) or IDPF (for bare metal instances instances) and IRDMA. For supported images, see Operating system details (Networking) and Using the IRDMA Cloud RDMA driver.
  • BOOT_DISK_SIZE: the size of the Hyperdisk Balanced boot disk in GB (for example, 100GB).
  • RESERVATION_OWNER_PROJECT_ID: the project ID of the project that owns the reservation.
  • RESERVATION_NAME: the name of the reservation.
  • BLOCK_NAME: the name of the reservation block (availability domain) to target (for example, z4m-reservation-block-0001). To allow Compute Engine to place the instance in any available block in the reservation, omit /reservationBlocks/BLOCK_NAME and specify --reservation=projects/RESERVATION_OWNER_PROJECT_ID/reservations/RESERVATION_NAME.
  • TERMINATION_ACTION: the action to take when the reservation period ends: STOP or DELETE.
  • NIC_TYPE: the standard network interface type:
    • Specify GVNIC for z4m-highmem-192-cd VMs.
    • Specify IDPF for z4m-highmem-192-metal-cd bare metal instances.
  • NETWORK_NAME_0 and NETWORK_NAME_1: the names of the regular VPC networks for the standard network interfaces. You must specify at least as many GVNIC or IDPF interfaces as IRDMA interfaces, connect each standard interface to a separate VPC network, and place all GVNIC or IDPF interfaces before the IRDMA interfaces.
  • SUBNET_NAME_0 and SUBNET_NAME_1: the names of the subnets in the regular VPC networks.
  • RDMA_NETWORK_NAME: the name of the Falcon VPC network for the IRDMA network interfaces.
  • RDMA_SUBNET_NAME_0 and RDMA_SUBNET_NAME_1: the names of the IPv4 subnets in the Falcon VPC network for the IRDMA network interfaces. If you don't use Cloud RDMA, omit the IRDMA --network-interface flags.

REST

To create a reservation-bound Z4M instance in a specific reservation block (availability domain), send a POST request to the instances.insert method:

POST https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/instances

{
  "name": "INSTANCE_NAME",
  "machineType": "projects/PROJECT_ID/zones/ZONE/machineTypes/MACHINE_TYPE",
  "disks": [
    {
      "boot": true,
      "autoDelete": true,
      "initializeParams": {
        "sourceImage": "projects/IMAGE_PROJECT/global/images/family/IMAGE_FAMILY",
        "diskType": "projects/PROJECT_ID/zones/ZONE/diskTypes/hyperdisk-balanced",
        "diskSizeGb": "BOOT_DISK_SIZE_GB"
      }
    }
  ],
  "scheduling": {
    "provisioningModel": "RESERVATION_BOUND",
    "onHostMaintenance": "TERMINATE",
    "automaticRestart": true,
    "instanceTerminationAction": "TERMINATION_ACTION"
  },
  "reservationAffinity": {
    "consumeReservationType": "SPECIFIC_RESERVATION",
    "key": "compute.googleapis.com/reservation-name",
    "values": [
      "projects/RESERVATION_OWNER_PROJECT_ID/reservations/RESERVATION_NAME/reservationBlocks/BLOCK_NAME"
    ]
  },
  "networkInterfaces": [
    {
      "nicType": "NIC_TYPE",
      "network": "projects/PROJECT_ID/global/networks/NETWORK_NAME_0",
      "subnetwork": "projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET_NAME_0"
    },
    {
      "nicType": "NIC_TYPE",
      "network": "projects/PROJECT_ID/global/networks/NETWORK_NAME_1",
      "subnetwork": "projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET_NAME_1"
    },
    {
      "nicType": "IRDMA",
      "network": "projects/PROJECT_ID/global/networks/RDMA_NETWORK_NAME",
      "subnetwork": "projects/PROJECT_ID/regions/REGION/subnetworks/RDMA_SUBNET_NAME_0"
    },
    {
      "nicType": "IRDMA",
      "network": "projects/PROJECT_ID/global/networks/RDMA_NETWORK_NAME",
      "subnetwork": "projects/PROJECT_ID/regions/REGION/subnetworks/RDMA_SUBNET_NAME_1"
    }
  ]
}

Replace the following:

  • PROJECT_ID: the ID of the project where you want to create the instance.
  • ZONE: the zone where the reservation exists.
  • INSTANCE_NAME: the name for the Z4M instance.
  • MACHINE_TYPE: z4m-highmem-192-cd (VM) or z4m-highmem-192-metal-cd (bare metal).
  • IMAGE_PROJECT and IMAGE_FAMILY: the project and image family of a supported OS image. For supported images, see Operating system details (Networking) and Using the IRDMA Cloud RDMA driver.
  • BOOT_DISK_SIZE_GB: the size of the Hyperdisk Balanced boot disk in GB (for example, 100).
  • TERMINATION_ACTION: STOP or DELETE.
  • RESERVATION_OWNER_PROJECT_ID: the project ID of the project that owns the reservation.
  • RESERVATION_NAME: the name of the reservation.
  • BLOCK_NAME: the name of the reservation block (availability domain) to target. To allow placement in any block in the reservation, omit /reservationBlocks/BLOCK_NAME.
  • NIC_TYPE: GVNIC (for z4m-highmem-192-cd) or IDPF (for z4m-highmem-192-metal-cd).
  • REGION: the region that contains ZONE.
  • NETWORK_NAME_0 and NETWORK_NAME_1: the names of the regular VPC networks for the standard network interfaces.
  • SUBNET_NAME_0 and SUBNET_NAME_1: the names of the subnets in the regular VPC networks.
  • RDMA_NETWORK_NAME: the name of the Falcon VPC network for the IRDMA network interfaces.
  • RDMA_SUBNET_NAME_0 and RDMA_SUBNET_NAME_1: the names of the IPv4 subnets in the Falcon VPC network for the IRDMA network interfaces. If you don't use Cloud RDMA, omit the IRDMA entries from networkInterfaces.

Format and mount local Titanium SSD disks

Every z4m-highmem-192-cd and z4m-highmem-192-metal-cd instance automatically includes 12 local Titanium SSD disks (14,000 GiB each, for a total of 168,000 GiB of local NVMe storage). Before your parallel file system or workload can use these disks, you must format and mount them on the instance:

What's next