Snapshot droplet without downtime?
I’ve seen comments throughout this community that droplets sized 1gb or greater can create a snapshot without first bringing the droplet offline. This appears to not actually be the case, so, assuming this, is there a recommended way of knowing when a droplet has been turned off so that the snapshot can occur, all through the API?
Obviously I could poll the droplet via the API and check when the status of the droplet changes. Same goes for the actual snapshot creation (to get the new ID). Is there a better way?
The use case here is scaling horizontally, where a simple
git pull isn’t enough to make sure all servers are in sync (there are symlinked files, assets, conf files, etc.)