Got this question today that a customer was looking for a provisioning script that allowed them to create several hundred volumes with assigned prefixes and then add them to a Protection Group to help them scale out a deployment.

The below script helps with that workflow and provides a basis for other feature additions.


  • FlashArray IP/Name
  • Credentials, this can be automated using a previous blog post here.
  • Customer prefix, eg. XYZCorp
  • Volume size (GB)
  • # of volumes to create


Hope this is useful!