flyctl volumes create

Create new volume for app


Create new volume for app. --region flag must be included to specify region the volume exists in. --size flag is optional, defaults to 10, sets the size as the number of gigabytes the volume will consume.


flyctl volumes create <volumename> [flags]


  -a, --app string      App name to operate on
  -c, --config string   Path to an app config file or directory containing one (default "./fly.toml")
      --encrypted       Encrypt the volume (default: true) (default true)
  -h, --help            help for create
      --region string   Set region for new volume
      --size int        Size of volume in gigabytes, default 10GB (default 10)

Global Options

  -t, --access-token string   Fly API Access Token
  -j, --json                  json output
  -v, --verbose               verbose output

See Also