Welcome!

Apache Authors: Elizabeth White, Pat Romanski, Liz McMillan, Christopher Harrold, Janakiram MSV

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.

IoT & Smart Cities Stories
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the competition, or worse, just keep up. Each new opportunity, whether embracing machine learning, IoT, or a cloud migration, seems to bring new development, deployment, and management models. The results are more diverse and federated computing models than any time in our history.
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
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.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
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 addr...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...