Berta cleans cloud from unused vms. She sets expiration to all virtual machines and when expiration is close she will notify owners. Berta is developed as ruby gem.
From rubygems:
gem install bertaFrom source:
git clone https://github.com/the-berta-project/berta.git
cd berta
gem install bundler
bundle installConfig files can be located in:
~/.berta/berta.yml/etc/berta/berta.ymlPATH_TO_GEM_DIR/config/berta.yml
Berta needs access to opennebula backend. To do that she needs to know opennebula
secret and endpoint. This can be specified in config file, as command line options or
by creating one_auth file in ~/.one.
To run berta simply type:
berta
# or if backend and secret are not set
berta --opennebula-secret=<secret> --opennebula-endpoint=<endpoint>