I wrote a script a few years ago to do the same thing with Digital Ocean floating IPs https://gist.github.com/rxall/5305bcaa008e51685998
I wrote a script a few years ago to do the same thing with Digital Ocean floating IPs https://gist.github.com/rxall/5305bcaa008e51685998