Rubyists, this is for you!

48 views
Skip to first unread message

Sebastian Stadil

unread,
Feb 4, 2013, 7:31:08 PM2/4/13
to scalr-...@googlegroups.com
Hi all,

Today, Scalr user BranchOut (career networking on facebook) released its first open-source code under its Github account, Rscalr – a Ruby implementation of Scalr's API.

The code allows them to script site release procedures, which is a Very Good Thing for a few reasons:
  • Saves a ton of repetitive typing and clicking around web interfaces
  • Creates consistent, repeatable operations and eliminates fat-finger mistakes
  • Allows for automated status and sanity checks to find problems faster
Scalr provides a number of API client examples in different languages, but didn't have a Ruby example. Since a lot of their cloud management code is already in Ruby (via Chef), they thought having a Ruby client would be convenient, and a fun way to improve the author's Ruby proficiency.

You can checkout Rscalr here: https://github.com/branchout/rscalr or just install the gem via RubyGems: gem install rscalr

This is the first of many contributions that BranchOut Engineering is making to the open-source community, so we encourage you to follow them.

Cheers,
Sebastian

--


Follow us: Twitter - Facebook - Blog

Thomas Orozco

unread,
Mar 28, 2013, 7:02:25 PM3/28/13
to scalr-...@googlegroups.com
Hi Nate, 


I was curious to know how you guys are using this library you built at Branchout!

Is this a tool that you're using to interface with the Scalr API from Ruby applications? 
Are you using it as a developer tool for "CLI access" to Scalr (like https://github.com/Scalr/pecha would?)
Probably something else!

Thanks!

On Monday, February 4, 2013 9:56:29 PM UTC-8, Nate Smith wrote:
Thanks, Sebastian!

Very much a work in progress (especially the domain model code), but something I hope to continue to improve. I added support for environments this evening, so pull down 0.0.7 if you use multiple environments.

Best, 
nate

Nate Smith

unread,
Apr 11, 2013, 2:15:58 PM4/11/13
to scalr-...@googlegroups.com
Hi Thomas, 

The goal is to use rscalr in two ways: 

1. Connective tissue between our Jenkins CI targets and Scalr (e.g. to automatically deploy staging builds)
2. As a set of scripts to automate our site release process (ability to role a new WAR gradually across multple servers, etc.)

And a distant 3: To provide a unified internal web interface for controlling steps 1 and 2.

Hope that helps. 
nate

Thomas Orozco

unread,
Apr 11, 2013, 2:22:41 PM4/11/13
to scalr-...@googlegroups.com
Got it, thanks for the details!

Cheers, 
--
You received this message because you are subscribed to a topic in the Google Groups "scalr-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/scalr-discuss/ynu1mkv-BhQ/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to scalr-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages