Creating/Destroying VPS with Pythonista
I've recently been doing a lot of web development using an iPad Pro, using a remote VPS as a development server. I wrote some Pythonista scripts to create and destroy VPS's from saved images, so I can tap a button on my iPad, and the VPS is up and running in about a minute. And since no one wants to keep paying $0.015/hr :-), another tap tears down the VPS.
Right now the scripts are for Linode, and I have some similar ones for AWS/EC2 I'll upload when I get a chance.
Anyway, the scripts are here, including some commentary on how to customize them for your own use:
Or go right to the code if you'd rather:
Hopefully this is useful for someone!
Here are similar scripts to start/stop instances on EC2 - I use them for the same purposes, to start/stop a development instance.
This post is deleted!last edited by