Rootconf 2014

On devops and cloud infrastructure

Kamalika Majumder

@kamalikam

Testing Infrastructure Code using Test-kitchen, Docker and Chef-Zero

Submitted Jan 26, 2014

Testing the infrastructure code before it is used for deployments is very important for faster deployment cycles.This talk will help understanding how we can test devops code using Test-kitchen, Docker and Chef-Zero

Outline

With more and more use of automation for environment provision it has become very important that TDD is followed for Devops/Infrastructure code as it is followed application code.
The Session will describe how chef recipes,databags etc can be tested in local dev box environmnet before they are uploaded to chef server and used in deployments.
This session will aim towards using the combination of Test-kitchen gem with kitchen-docker plugin and chef-zero.
This will help understanding test driven development of devops code in an private environment without interrupting the working environment.

Requirements

Basic knowledge of linux, lxc and chef

Speaker bio

I am Senior Consultant working with Thoughtworks for 4+ years.I started working as a Sysadmin,moved to senior Network Admin role and currently working as a Devops and Infrastructure automation specialist.Have worked in various infrastructure automation in private and public cloud platforms and interested in private cloud , continuous integration and deployment and security.

  • www.kamalika.net

Comments

Login to leave a comment

  • SB

    Sreekandh Balakrishnan

    @gnuyoga

    Thanks for talking the call today. Summarizing our call.

    Test driven developmet for Infrastructure ( u heard it right not the code but infra). Showcase some customer issue.
    Code works in my machine and not in my server, we are solving this problem
    Production go live from 3 weeks to 1 week to multi deployment per week
    Overall testing time reduction went down by multifold. Build pipeline time cycle reduction.
    Prodcution live environment in less than 5 mins ? is a reality now
    Real client examples ? ( some screenshot of the build pipeline ).
    Demo ?

    Posted 10 years ago

Hosted by

We care about site reliability, cloud costs, security and data privacy