omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Creating/Destroying VPS with Pythonista

    Pythonista
    2
    3
    3028
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gregr
      gregr last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • gregr
        gregr last edited by

        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/

        1 Reply Last reply Reply Quote 0
        • innovative
          innovative last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors