Support: 1-800-961-4454
Sales Chat
1-800-961-2888

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:

Authentication:
rumm login
rumm logout

Images:
rumm show images
rumm show images

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

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

Nodes:
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

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

Databases:
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

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

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

Files:
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

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

Attachments:
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.

About the Author

This is a post written and contributed by Hart Hoover.

Hart Hoover is a Cloud Strategist at Rackspace Hosting. Hoover started his career as a Racker in 2007 as a Linux Systems Administrator, providing technical support for dedicated servers. He moved to the cloud in 2009 to help design the Managed Cloud Servers support model. He has presented at various technical conferences, maintains and contributes to the Rackspace DevOps Blog, and advises Rackspace customers on best practices for cloud computing.


More

Leave a New Comment

(Required)


Racker Powered
©2014 Rackspace, US Inc.