Rackspace Cloudvent Calendar Day 6: Rumm: A CLI Tool For The Rackspace Cloud

In the spirit of the holiday season, I’m sharing some tips and features of our cloud that you may not know about. In this countdown I’ll have 24 posts for you, each covering a single topic or feature about Rackspace Cloud products. We’ll post one per day so keep checking back!

There are several python-*client tools out there that work with OpenStack services and also work with the Rackspace Cloud; the most frequently used is python-novaclient (+ our extensions). The tool I want to highlight today is called rumm, a Ruby-based command-line tool that works with all of our infrastructure services. Here is a list of commands available with rumm:

rumm login
rumm logout

rumm show images
rumm show images

rumm show servers
rumm show server :id
rumm create server
rumm update server :id
rumm destroy server :id
rumm ssh :id

rumm show loadbalancers
rumm show loadbalancer :id
rumm create loadbalancer
rumm update loadbalancer :id
rumm destroy loadbalancer :id

rumm show nodes on loadbalancer :loadbalancer_id
rumm show node :id on loadbalancer :loadbalancer_id
rumm create node on loadbalancer :loadbalancer_id
rumm update node :id on loadbalancer :loadbalancer_id
rumm destroy node :id on loadbalancer :loadbalancer_id

rumm show dbinstances
rumm show dbinstance :id
rumm create dbinstance
rumm update dbinstance :id
rumm destroy dbinstance :id

rumm show databases on dbinstance :instance_id
rumm show database :id on dbinstance :instance_id
rumm create database on dbinstance :instance_id
rumm update database :id on dbinstance :instance_id
rumm destroy database :id on dbinstance :instance_id

rumm show users on dbinstance :dbinstance_id
rumm show user :id on dbinstance :dbinstance_id
rumm create user on dbinstance :dbinstance_id

rumm show containers
rumm show container :id
rumm create container
rumm update container :id
rumm destroy container :id

rumm show files in container :container_id
rumm show file :id on container :container_id
rumm create file :id on container :container_id
rumm update file :id on container :container_id
rumm destroy file :id on container :container_id
rumm download file :id on container :container_id

rumm show volumes
rumm show volume :id
rumm create volume
rumm update volume :id
rumm destroy volume :id

rumm show attachments on server :server_id
rumm attach volume :id to server :server_id
rumm detach volume :id from server :server_id

With rumm you can create and destroy infrastructure without ever leaving the friendly confines of your terminal. You can read more about rumm by checking out the documentation on GitHub. Give it a shot today!

Be sure to check back each day in December for more tech tips and tricks. And check out previous Rackspace Cloudvent Calendar entries here.


Please enter your comment!
Please enter your name here