fly volumes create

Create a new volume for an app.

Usage

fly volumes create <volume name> [flags]

Options

-a,  --app                   Application name 
     --auto-confirm          Accept all confirmations 
-c,  --config                Path to application configuration file 
-n,  --count                 The number of volumes to create 
     --cpus                  Number of CPUs 
     --host-dedication-id    The dedication id of the reserved hosts for your organization (if any) 
-j,  --json                  JSON output 
     --memory                Memory (in megabytes) to attribute to the VM 
     --no-encryption         Do not encrypt the volume contents. Volume contents are encrypted by default. 
-r,  --region                The target region (see 'flyctl platform regions') 
     --require-unique-zone   Place the volume in a separate hardware zone from existing volumes to help ensure availability 
-s,  --size                  The size of volume in gigabytes 
     --snapshot-id           Create the volume from the specified snapshot 
     --snapshot-retention    Snapshot retention in days 
     --vm-cpu-kind           The kind of CPU to use ('shared' or 'performance') 
     --vm-cpukind            The kind of CPU to use ('shared' or 'performance') 
     --vm-cpus               Number of CPUs 
     --vm-gpu-kind           If set, the GPU model to attach (a100-pcie-40gb, a100-sxm4-80gb, l40s, a10) 
     --vm-gpukind            If set, the GPU model to attach (a100-pcie-40gb, a100-sxm4-80gb, l40s, a10) 
     --vm-gpus               Number of GPUs. Must also choose the GPU model with --vm-gpu-kind flag 
     --vm-memory             Memory (in megabytes) to attribute to the VM 
     --vm-size               The VM size to set machines to. See "fly platform vm-sizes" for valid values 
-y,  --yes                   Accept all confirmations 

Global Options

  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output