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 berta
From source:
git clone https://github.com/the-berta-project/berta.git
cd berta
gem install bundler
bundle install
Config files can be located in:
~/.berta/berta.yml
/etc/berta/berta.yml
PATH_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>