futel / asteriskserver

SIP server for Futel
Creative Commons Zero v1.0 Universal
25 stars 7 forks source link

fix volume creation/mounting #495

Closed kra closed 2 years ago

kra commented 2 years ago

see comments in README.md

probably update the strategy only create a new assets volume snapshot when asteriskserver assets usage has changed stage always unpickles and attaches to most recently created snapshot

storageserver: create volume snapshot when next stage deploy will need it

asteriskserver stage deploy: if there is a volume for the most recent snapshot, attach it if there is a snapshot more recent than a volume, unpickle and attach it

asteriskserver prod destruction: if no other instance attaches attached volume, destroy volume

redeploy old prod snapshot: create and attach to volume from relevant snapshot manually with digital ocean web interface