DevOps. Building a Continuous Delivery Pipeline



Similar documents
DevOps Course Content

Building a Continuous Integration Pipeline with Docker

Using DevOps Tools to Achieve Continuous Integration

Continuous Integration and Delivery at NSIDC

Continuous Integration and Automatic Testing for the FLUKA release using Jenkins (and Docker)

Source Code Management for Continuous Integration and Deployment. Version 1.0 DO NOT DISTRIBUTE

Jenkins and Chef Infrastructure CI and Application Deployment

Jenkins World Tour 2015 Santa Clara, CA, September 2-3

Timofey Turenko. Kirill Krinkin St-Petersburg Electrotechnical University

Continuous Delivery on AWS. Version 1.0 DO NOT DISTRIBUTE

Developing Plugins for Cloud Scale

Jenkins: The Definitive Guide

DevOoops Increase awareness around DevOps infra security. Gianluca

How Bigtop Leveraged Docker for Build Automation and One-Click Hadoop Provisioning

A central continuous integration platform

Automation and DevOps Best Practices. Rob Hirschfeld, Dell Matt Ray, Opscode

Continuous Delivery of Debian packages. Michael Prokop

Azure Day Application Development

Continuous Delivery for Alfresco Solutions. Satisfied customers and happy developers with!! Continuous Delivery!

Modern Web development and operations practices. Grig Gheorghiu VP Tech Operations Nasty Gal

Paul Barham Program Manager - Java. David Staheli (dastahel@microsoft.com) Software Development Manager - Java

Practicing Continuous Delivery using Hudson. Winston Prakash Oracle Corporation

GETTING STARTED WITH CONTINUOUS DELIVERY. Lana wcgp.co

Chef Integration. Chef Integration. with IDERA s Uptime Cloud Monitor. Simple, Smart, Seamless May 10, 2013 IDERA

Simple and powerful site deployment with capistrano

How To Install Eucalyptus (Cont'D) On A Cloud) On An Ubuntu Or Linux (Contd) Or A Windows 7 (Cont') (Cont'T) (Bsd) (Dll) (Amd)

Database Build and Release will get started soon

OpenStack CI: flow, tools and more

ACCELERATE DEVOPS USING OPENSHIFT PAAS

November 12 th 13 th London: Mastering Continuous Integration with Jenkins

Version Control Your Jenkins Jobs with Jenkins Job Builder

CPSC 491. Today: Source code control. Source Code (Version) Control. Exercise: g., no git, subversion, cvs, etc.)

Cloud Hosting. QCLUG presentation - Aaron Johnson. Amazon AWS Heroku OpenShift

Continuous Delivery by example.net

Automating Big Data Benchmarking for Different Architectures with ALOJA

DevOps Stack. Reid Holmes. Chris Parnin:

JAVA IN THE CLOUD PAAS PLATFORM IN COMPARISON

Escaping the Works-On-My-Machine badge Continuous Integration with PDE Build and Git

Ironfan Your Foundation for Flexible Big Data Infrastructure

Continuous Delivery: Automating the Deployment Pipeline. Solution Brief

AWS CodePipeline. User Guide API Version

Application Release Automation (ARA) Vs. Continuous Delivery

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

CHEF IN THE CLOUD AND ON THE GROUND

Continuous Integration using Docker & Jenkins

HOW OPEN SOURCE IS DRIVING DEVOPS INNOVATION. Gordon William Cloud & DevOps Product Strategy, Red Hat 17 August 2015

DO NOT DISTRIBUTE. Automating Applications with Continuous Delivery on AWS. Student Guide. Version 1.0

HOPS: Hadoop Open Platform-as-a-Service

Creating a dynamic software deployment solution using free/libre software

NXTware Remote. Advanced Development and Maintenance Environment for OpenVMS and other Strategic Platforms

Using Vagrant for Magento development. Alexander

Testing Spark: Best Practices

Ansible. Configuration management tool and ad hoc solution. Marcel Nijenhof

The Tools For Continuous Delivery

DIY Device Cloud Documentation

Platform as a Service and Container Clouds

Jenkins on Windows with StreamBase

How To Manage Change In Jeepers

Whitepaper. Continuous Integration Tools Applying Best Practices to the Toolchain

My DevOps Journey by Billy Foss, Engineering Services Architect, CA Technologies

@CodenvyHQ

Java PaaS Enabling CI, CD, and DevOps

Razvoj Java aplikacija u Amazon AWS Cloud: Praktična demonstracija

Automated Configuration of Open Stack Instances at Boot Time

Deploy Big Data Extensions on vsphere Standard Edition

Servers. Servers. NAT Public Subnet: /20. Internet Gateway. VPC Gateway VPC: /16

Continuous Integration and Bamboo. Ryan Cutter CSCI Spring Semester

Continuous Delivery. Ariel Alonso, IPC

Build Automation for Mobile. or How to Deliver Quality Apps Continuously. Angelo Rüggeberg

Continuous Integration for XML and RDF Data

DevShop. Drupal Infrastructure in a Box. Jon Pugh CEO, Founder ThinkDrop Consulting Brooklyn NY

Iron Chef: Bare Metal OpenStack

OS Installation: CentOS 5.8

Continuous Integration For Fusion Middleware

Mastering Continuous Integration with Jenkins

Do DevOps on VMware vcloud Air Your Way, Without the Rework! Ashok Aletty, vcloud Air Solution Architect

1 Keystone OpenStack Identity Service

CoDe:U Git Flow - a Continuous Delivery Approach

White Paper: Localhost is Killing Software Delivery

McAfee Public Cloud Server Security Suite

OpenShift Enterprise PaaS by Red Hat. Andrey Markelov RHCA Red Hat, Presales Solution Architect

DEPLOYING DRUPAL USING CAPISTRANO

Utilizing Ansible to Manage a Highly Available MySQL Environment

Automation & Open Source. How to tame the Cloud?

SUSE Cloud 2.0. Pete Chadwick. Douglas Jarvis. Senior Product Manager Product Marketing Manager

Firenze. Iottly, open source Internet of Things distribution

Git Branching for Continuous Delivery

A Baseline for Web Performance

Hosting Drupal on Amazon Web Services (AWS) Heather Wozniak, Ph.D. Web Developer, UW College of Arts & Sciences hwozniak@uw.edu

Transcription:

DevOps Building a Continuous Delivery Pipeline

Who Am I Bobby Warner Founder & President @bobbywarner

What is the goal?

Infrastructure as Code Write code to describe our infrastructure Never manually execute a command on a Linux server Support multiple primary Linux distributions with different package managers Ubuntu uses apt, Centos uses yum

Continuous Integration Checking code into source control kicks off a build Builds automatically run tests Builds automatically publish results

Continuous Delivery Creates all infrastructure components required Picks up build artifacts from CI server and deploys to the infrastructure environment(s) Supports automatic releases or scheduled releases based on business needs

Continuous Delivery No longer SSH ing in to patch/configure servers Rather we release versions of our infrastructure Everything is stored in source-control

Process I thought DevOps was about getting Ops and Developers to work together? Yes, but this presentation is focused on tools

What are the tools?

Tools Git VirtualBox Vagrant Chef Jenkins

Git

Git Distributed version control that is now ubiquitous

Enterprise Git Atlassian Stash GitHub Enterprise

Git Flow

Git Demo Create a repo Commit a change Alias

VirtualBox & Vagrant

VirtualBox Do all your development in VMs Mirror your production environment Eliminate cross platform issues between developers

Vagrant Describe the type of machine and software that needs to be installed Store this file in source code control

Chef

What is Chef? Configuration management tool for your infrastructure Used to automate how you build, deploy, and manage your infrastructure Infrastructure becomes as versionable, testable, and repeatable as application code

Chef Testing Test Kitchen (test harness runner) ServerSpec (integration testing) ChefSpec (unit testing)

ServerSpec

What is AWS OpsWorks? AWS version of Chef Server Uses chef-client in local mode which launches a local in-memory Chef server called chef-zero

Chef Demo https://github.com/bobbywarner/devops-demo

Jenkins

What is Jenkins? Continuous integration server Create and monitor execution of repeatable jobs Used with many different languages and frameworks Excluding.NET, see Microsoft Team Foundation Server

Importance of Jenkins Future of Jenkins is a federated master model. No more single master enterprise installs of Jenkins. Jenkins is the orchestrator for your CI/CD pipelines, if it s down you won t be pushing any code

Jenkins Fail Don t create Jenkins jobs by hand though as there is no way to scale, audit, or track changes!

Jenkins Win Use Jenkins Job DSL plugin!

Jenkins Job DSL Plugin allows the definition of a job with Groovy code Offers a useful set of functions to configure common Jenkins items Jobs (i.e. Groovy code) can be stored in source code control

Jenkins Job DSL You can peer review job changes You can write tests for jobs You can make and extend classes of jobs

Jenkins Job DSL

Jenkins Chef DSL Example for getting started with the Jenkins Chef cookbook and the Jenkins Job DSL Automate Jenkins Infrastructure and Job management https://github.com/erichelgeson/jenkins-chef-dsl/

Wrap Up

Call to Action Install Chef DK and create a Chef Cookbook! https://downloads.getchef.com/chef-dk/ Setup Jenkins if you don t already use it! http://jenkins-ci.org/ Configure one job with the DSL plugin! https://wiki.jenkins-ci.org/display/jenkins/job+dsl+plugin

Conclusion Thanks for attending this talk! I hope you found it useful to get an introduction to some of the tools for DevOps! Please get in touch if you are looking for DevOps consultants here in the Twin Cities! info@agileorbit.com