Forum Archive

Creating/Destroying VPS with Pythonista

gregr

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:

http://www.rassoc.com/gregr/weblog/2016/01/25/web-development-with-ipad-pro/

Or go right to the code if you'd rather:

https://gist.github.com/greinacker/0a4f2b0a64b7c5b13a48

Hopefully this is useful for someone!

gregr

Here are similar scripts to start/stop instances on EC2 - I use them for the same purposes, to start/stop a development instance.

http://www.rassoc.com/gregr/weblog/2016/02/10/pythonista-scripts-for-ec2/

innovative

VPS is virtual machine which is sold as service by the Internet hosting service provider. Here, it is easy to run own copy of operating system and the customer’s having super level access to that operating system instantly. If you are looking to get such service then Innovative hosting corporation is one of best service provider.

https://www.innovativehostingcorp.com/vps/