Rootconf 2017

On service reliability

Infrastructure as Code using Ansible, Jenkins and Testinfra

Submitted by Mayur Barge (@bargemb) on Monday, 6 March 2017

videocam
Preview video

Technical level

Intermediate

Section

Full talk of 40 mins duration

Status

Submitted

Vote on this proposal

Login to vote

Total votes:  +4

Abstract

Over the past few years, one of the major IT trends has been Automation. Infrastructure as Code(IaC) is a practice which includes provisioning and managing your computing infrastructure through automation.
This talk aims to cover the importance/need of IaC along with deployment and orchestration of virtulized environment. We will look at Ansible, Jenkins and Testinfra in more detail and how best they work together to solve IaC needs of enterprise software.

Outline

With rapid adoption of Continuous Integration and Continuous Delivery practices it’s important for developers to treat infrastructure as piece of software. I would like to emphasize on this particular point throughout the talk.

Here is the brief outline about talk -

Introduction

  • Infrastructure as Code - What ? Why ? How ?
  • IaC - The Big Picture
    • Programmable Infrastructure
    • Imperative Vs Declarative Paradigm
    • Advantages of IaC

Workflow Components

  • Ansible
  • Jenkins
    • Jenkins 2.0 with respect to Multibranch Pipeline
  • Testinfra

IaC Implementation for Enterprise Product

  • Best Practices - Project Layout
  • Playbooks and Custom Ansible Roles with respect to Jenkinsfile
  • Testing Infrastructure using Testinfra
    • Testing Testinfra - Using virtualenv

Q/A

Speaker bio

Mayur Barge is DevOps evangelist at Veritas Technologies LLC and is influenced by open source. With overall IT experience more than 3 years, primarily in DevOps, he has worked on CI/CD projects for enterprise products in Backup & Recovery domain. He is currently involed in ansiblizing entire infrastructure for enterprise product and end-end CI/CD pipeline for the same.

Links

Slides

http://www.slideshare.net/secret/olw4J95BP6OKEe

Preview video

https://youtu.be/ALYfctTUehU

Comments

  • 1
    saurabh hirani (@saurabh-hirani) a year ago

    Can you add any slides / preview video to shed more light on your content and approach? And when you as Infra-as-code - are you going to delve more into the provisioning or the validation aspect of it?

  • 1
    Mayur Barge (@bargemb) Proposer a year ago

    Hi Saurabh,
    I am planning to cover provisioning as well as validation aspect of it. Provisioning is covered with respect to Jenkins and VM’s. It also involes few intermittent steps using Vagrant.
    Validation of infrastructure is covered under Testinfra framework.

    I will upload slides and video tomorrow.

Login with Twitter or Google to leave a comment