Skip to main content

Automate buying VPS instances with Bitcoin

Project description

Build Status Cloudomate logo


Cloudomate is an unpermissioned open compute API which provides an automated way to buy VPS instances from multiple providers. The easiest way to use Cloudomate is via the command-line interface.


  • Python 2.7
  • python-lxml installed on the system
  • Works on Linux, Mac OSX, BSD
  • An active Electrum wallet with sufficient funds


The project can be installed through pip

apt-get install python-lxml
pip install cloudomate


Currently the following VPS providers are implemented:


This same list can be accessed through the list command.

cloudomate list


For some commands, mainly purchase, user configuration is required. The main way to do this is through a configruation file. For Linux, the default location for the configuration file is $HOME/.config/cloudomate.cfg.

A configuration file looks like this

email =
firstName =
lastName =
companyName =
phoneNumber =
password =

address =
city =
state =
countryCode =
zipcode =

rootpw =
ns1 =
ns2 =
hostname =

Section can be overridden for specific providers by adding a section, for example a [rockhoster] section can contain a separate email address only to be used for RockHoster.

Basic usage

usage: cloudomate [-h] {list,options,purchase,status,setrootpw,getip} ...


positional arguments:
    list                List providers
    options             List provider configurations
    purchase            Purchase VPS
    status              Get the status of the services.
    setrootpw           Set the root password of the last activated service.
    getip               Get the ip of the specified service.

optional arguments:
  -h, --help            show this help message and exit


List the options for RockHoster

$ cloudomate options rockhoster
Options for rockhoster:

  #    Name              CPU (cores)       RAM (GB)          Storage (GB)      Bandwidth (TB)    Connection (Mbps) Estimated Price (mBTC)
  0    Basic              1                1                 25                unmetered         500               3.47
  1    Premium            2                2                 50                unmetered         500               5.27
  2    Expert             3                4                 100               unmetered         500               9.3
  3    Maximum            4                8                 150               unmetered         500               16.25
  4    Basic              2                1                 40                unmetered         1000              5.27
  5    Premium            2                2                 80                unmetered         1000              8.41
  6    Expert             3                4                 150               unmetered         1000              14.23
  7    Maximum            4                8                 300               unmetered         1000              24.54


Use the purchase command to purchase a VPS instance. An account is created and the instance is paid through an Electrum wallet.

$ cloudomate purchase rockhoster 0
Selected configuration:
Name           CPU            RAM            Storage        Bandwidth      Est.Price
Basic          1              1.0            25.0           unmetered      4.99
Purchase this option? (y/N)


The following functions can be used to manage a purchased VPS instances

status              Get the status of the services.
setrootpw           Set the root password of the last activated service.
getip               Get the ip of the specified service.


To run the project’s tests

python -m unittest discover

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cloudomate, version 0.1.10
Filename, size File type Python version Upload date Hashes
Filename, size cloudomate-0.1.10-py27-none-any.whl (41.1 kB) File type Wheel Python version py27 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page