From Monitoring to Automated Testing of Your Infrastructure Code

Thursday, June 07, 2018 - 10:00 am10:55 am

Jesse Reynolds, Puppet, Inc.

Abstract: 

Don't have time to write automated tests for your infrastructure code? Don't see the point? Or don't know where to start? This talk is for you.

Now we're writing code to manage our infrastructure with tools like Puppet, Chef, Ansible etc, we are effectively developing software. One of the wonderful aspects to this is that we have the world of software development quality best practices to draw on in order to achieve a high rate of change while not compromising on reliability. Writing tests for infrastructure code (and having them execute automatically as part of a continuous integration pipeline) is a key element to this, and is the focus for this talk.

But how do you get started on this? What are some tools to help? How should we think about this problem? This talk will provide an overview of the different types of tests that can be written, from small unit tests to integration and acceptance testing. It will focus on integration testing where existing monitoring checks can come in handy, or at least provide a crossover or an entry point. In some cases the tests can also be used as checks in the monitoring system.

Open Access Media

USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

BibTeX
@conference {214945,
author = {Jesse Reynolds},
title = {From Monitoring to Automated Testing of Your Infrastructure Code},
year = {2018},
publisher = {USENIX Association},
month = jun
}

Presentation Video 

Presentation Audio