Welcome!

@DevOpsSummit Authors: Yeshim Deniz, Zakia Bouachraoui, Pat Romanski, Liz McMillan, Elizabeth White

Related Topics: @DevOpsSummit, Apache

@DevOpsSummit: 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.

@DevOpsSummit Stories
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Addteq is a leader in providing business solutions to Enterprise clients. Addteq has been in the business for more than 10 years. Through the use of DevOps automation, Addteq strives on creating innovative solutions to solve business processes. Clients depend on Addteq to modernize the software delivery process by providing Atlassian solutions, create custom add-ons, conduct training, offer hosting, perform DevOps services, and provide overall support services.
Contino is a global technical consultancy that helps highly-regulated enterprises transform faster, modernizing their way of working through DevOps and cloud computing. They focus on building capability and assisting our clients to in-source strategic technology capability so they get to market quickly and build their own innovation engine.
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addresses many of the challenges faced by developers and operators as monolithic applications transition towards a distributed microservice architecture. A tracing tool like Jaeger analyzes what's happening as a transaction moves through a distributed system. Monitoring software like Prometheus captures time-series events for real-time alerting and other uses. Grafeas and Kritis provide security polic...
DevOpsSUMMIT at CloudEXPO will expand the DevOps community, enable a wide sharing of knowledge, and educate delegates and technology providers alike. Recent research has shown that DevOps dramatically reduces development time, the amount of enterprise IT professionals put out fires, and support time generally. Time spent on infrastructure development is significantly increased, and DevOps practitioners report more software releases and higher quality. Sponsors of DevOpsSUMMIT at CloudEXPO will benefit from unmatched branding, profile building and lead generation opportunities.