DevOps-Ready Platform For Configuration Monitoring

ScriptRock Blog

Subscribe to ScriptRock Blog: eMailAlertsEmail Alerts
Get ScriptRock Blog: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Related Topics: DevOps Journal

Blog Post

Chef Recipes By @ScripRock | @DevOpsSummit [#DevOps #Containers #GuardRail]

Generating Chef Recipes from Existing Configs

Generating Chef Recipes from Existing Configs

We've covered the benefits and pitfalls of configuration management tools like Chef in many articles. But let's assume you've done your homework and decided Chef is the tool for you. How do you get started?

Funnily enough, one of the inspirations for ScriptRock was a not-so-successful Chef deployment. Only a poor craftsman blames his tools, so rather than pointing the finger at Chef we reflected on what we had done wrong. The problems we encountered trying to move a large, brown-field infrastructure to Chef, and to get culture, people, and processes to change at the same time, drove us to find a sound method for enterprise automation.

Essentially, we had put the cart before the horse: we started automating our infrastructure before we understood it. Without documentation of existing configuration state and scalable validation for the changes we were making, our automation efforts were bound to lead us in circles. 

So, what did we do? We came up with our "three waves" methodology: visibility, control, automation. While GuardRail is built to make those steps as easy possible, we think you'll benefit from following those steps regardless of what tooling you choose.

1. Visibility

The first step to making systemic changes to your infrastructure (or even just avoiding outages) is to know what you have. Historically this has been handled through barbaric methods like Word docs and spreadsheets. GuardRail starts by scanning nodes (Windows, *nix, cloud apps, etc) for configuration state, generating total state documentation that is completely up to date.

2. Control

Once you know what you have you want to be able to anticipate and validate changes to it. You expect test driven development from the dev team so why should there be a lesser standard for Ops? In GuardRail, this just means selecting the changed configuration items from a dev or QA environment and adding them to a policy. Scan data is turned into executable documentation to validate any changes so you know you're never going off the rails.

3. Automation

This is the golden ring, and if you've done the preparatory work you will reap your just reward. (The same goes if you rushed into automation without doing the prep work, but it will be an ironic Twilight Zone reward that's actually bad.) GuardRail has already captured the state of your development environment or existing infrastructure in a machine readable format, so now it's just a matter of selecting "Recipe" from a dropdown to get it as a Chef Recipe.

Get Started

If you want to compare Chef to other tools in your environment, GuardRail also exports to the syntaxes of PowerShell DSC, Puppet, Ansible, Salt, and Docker. You can see the whole thing in action in this video from TechEd 2014. It's free forever on up to five nodes and doesn't require a credit card to start. If you want to see it in action at ChefConf, come by and talk to us at booth #316.

Read the original blog entry...

More Stories By ScriptRock Blog

ScriptRock makes GuardRail, a DevOps-ready platform for configuration monitoring.

Realizing we were spending way too much time digging up, cataloguing, and tracking machine configurations, we began writing our own scripts and tools to handle what is normally an enormous chore. Then we took the concept a step further, giving it a beautiful interface and making it simple enough for our bosses to understand. We named it GuardRail after its function — to allow businesses to move fast and stay safe.

GuardRail scans and tracks much more than just servers in a datacenter. It works with network hardware, Cloud service providers, CloudFlare, Android devices, infrastructure, and more.