Cosmic is a Ruby library and commandline tool for service deployment automation. Please find the Cosmic documentation here.