release automation & puppet pdf

17
Release Automation & Puppet

Upload: ngotruc

Post on 03-Jan-2017

220 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Release Automation & Puppet PDF

Release Automation & Puppet

Page 2: Release Automation & Puppet PDF

Why Automate Release Activities?

> ...to enable Continuous Delivery of software

○ Short delivery cycles> quickly deliver value & obtain feedback

○ Streamlined and automated software delivery> Rapid, reliable, repeatable, efficient> High quality

Page 3: Release Automation & Puppet PDF

How to Achieve Continuous Delivery

> Environment and deployment automation> Automated builds and continuous integration> Managed releases (standard processes, collaboration)> Automated testing> Data management

Page 4: Release Automation & Puppet PDF

Create a Strategy

> Create a short, medium, and long term plan:○ Determine the optimal level of automation

> server configuration?> environment provisioning?> code build, deployment, and/or test?> database changes?

○ Determine the optimal rate of release> Consider user & technical needs> Daily? Weekly? Monthly? Quarterly?

Page 5: Release Automation & Puppet PDF

Know Your Current & Future Level of Maturity

> Regressive - process unrepeatable, poorly controlled, and reactive

> Repeatable - process documented and partly automated

> Consistent - automated, standard processes applied across entire software development lifecycle

> Quantitatively managed - process measured and controlled

> Optimizing - focus on process improvement

Page 6: Release Automation & Puppet PDF

ORIS Strategic Plan

> Cross-Platform, multi-Product, scalable, flexible> First...

○ Environment/deployment automation & process improvement

> Next…○ Test automation, application monitoring,

environment provisioning, & data management> Iteratively enhance tools and process

Page 7: Release Automation & Puppet PDF

ORIS - Where we are now

> Automation with Puppet○ Automated server configuration

> install & configure packages, setup security, etc.○ Automated software build & deployment

> Release management process improvement

Page 8: Release Automation & Puppet PDF

Environment and Deployment Automation

> High-level Software Development/Release Process

Page 9: Release Automation & Puppet PDF

A Puppet TourSean VaughanORIS Systems Engineer

Page 10: Release Automation & Puppet PDF

Agenda

> What is Puppet?> Puppet Tour

○ WordPress Blog> Closing

Page 11: Release Automation & Puppet PDF

What is Puppet?

> Open Source> Server Configuration Management and Automation> Linux, Windows, other platforms> Similar Software

○ chef○ ansible○ salt

Page 12: Release Automation & Puppet PDF

What makes Puppet special?

> Declarative Domain Specific Language (DSL)○ Model-based state declaration○ Not orchestrating deployment scripts○ What not How

> Can function “headless” or centrally with a puppet master

Page 13: Release Automation & Puppet PDF
Page 14: Release Automation & Puppet PDF

Other Puppet Attributes

> Facter: System Information> Puppet Forge> Common Puppet Code Pattern:

○ Package → Config → Service> Roles & Profiles puppet class abstraction

Page 15: Release Automation & Puppet PDF
Page 16: Release Automation & Puppet PDF

Puppet Demo

> Apache, Mysql, WordPress> Yay, a terminal!

Page 17: Release Automation & Puppet PDF

Closing

> Release Automation can increase agility> Puppet is Configuration Management and

Automation Software> Puppet can be used to manage tens of thousands of

servers