Bluegreen deploys and volumes

Is there a way to automatically provision new volumes during a blue green deployment?

My apps need access to at least 10gb of temporary storage (file uploads, image processing etc) - to solve this I have created a volume per machine and setup the mounts in my fly.toml file. My deploys have been failing because the volumes are already claimed by the blue machines.

Is there a way to either:

  • have larger tmp storage per machine?
  • create and delete volumes during deploys?

Or do I constantly have to have 2x the number of volumes so that deploys will always succeed?

hi @dad

The bluegreen deploy strategy doesn’t work with volumes yet. (Finally, BlueGreen Deployments for AppsV2! 🚀 - #10 by kwaw)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.