40
Tech Talk: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds Donald Gall DevOps: Continuous Delivery CA Technologies Inc Principal Engineering Services Architect DO4T35T @TwitterHandle #CAWorld

Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Embed Size (px)

Citation preview

Page 1: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Tech Talk: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Donald Gall

DevOps: Continuous Delivery

CA Technologies Inc

Principal Engineering Services Architect

DO4T35T

@TwitterHandle

#CAWorld

Page 2: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

2 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Abstract

If you are using an infrastructure configuration management solution, and wondering how it fits with your Release Automation strategy, this session is for you.

Join us while we discuss how to get the most out of solutions like Chef and Puppet as part of your overall Continuous Delivery tool chain. Configuration Management solutions provide distinct capabilities to manage your infrastructure and can provide tremendous value alongside a release orchestration and automation solution like CA Release Automation.

In this session, we will demonstrate and discuss the unique strengths and overlapping capabilities of each solution and layout guidelines to help you determine the proper tool for each stage.

Donald Gall

CA Technologies Inc

Principal Engineering Services Architect

Page 3: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

3 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Agenda

CONFIGURATION MANAGEMENT WITH RELEASE AUTOMATION

CONFIGURATION MANAGEMENT & RELEASE AUTOMATION CORE USE CASES

CA RELEASE AUTOMATION CONFIGURATION MANAGEMENT-RELATED ACTION PACKS

CA RELEASE AUTOMATION 5.5.2 – CONFIGURATION MANAGEMENT UPDATES

1

2

3

4

CA RELEASE AUTOMATION & CONFIGURATION MANAGEMENT - SUMMARY5

Page 4: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Configuration Management withRelease Automation

Page 5: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Configuration Management

Dzone, “2014 Guide to Continuous Delivery Survey”

49% Use configuration management tools like Puppet, Chef and CFEngine

73% Still use manual scripts for at least half of their infrastructure changes.

Page 6: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Challenges of Building a Continuous Delivery Tool Chain

100s, 1000s, 10,000s machines

Provision and Configure

Middleware, databases, load balancers

Applications with 100s of artifacts in multiple repositories

Short release cycles

Multiple releases per day/week/month

Balancing speed with quality

Application Delivery is Complex

Page 7: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Which Tool is the Right Tool?

Infrastructure provisioning and configuration management tools can perform some continuous integration tasks

Application release automation tools can provision environments

Continuous integration can deploy and test applications

Page 8: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

The Ecosystem Is Complex

Build/CI Configure Test PromoteProvisionStore

Page 9: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Infrastructure as Code/Configuration Management

Automate IT infrastructure tasks

Build, deploy and manage

Reduce risk of failure due to configuration issues

Ensures a known state before deploying applications into environment

Build/CIStore

Deploy Test PromoteConfigureProvision

Page 10: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

PUSH-BUTTON SOFTWARE DEPLOYMENT ON-DEMAND

Orchestrate an end-to-end continuous delivery tool chain

Eliminate manual intervention by tightly integrating best-of-breed ALM solutions

Improve productivity and efficiency across all aspects of the application lifecycle

Orchestrating the Tool Chain

Automate and OrchestrateApplication Release

Environment

App, MW, DB

DEV, UAT, PROD

Build/CIStore

Test PromoteDeployConfigureProvision

Page 11: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Configuration Management & Release Automation Core Use Cases

Page 12: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

An Example – What are Chef and Puppet?

Automation platforms providing configuration

management across your environments

Build ManageDeploy In the data center+ in the cloud

Infrastructure + applications

Source: Chef and Puppet

Page 13: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Who Uses These Tools?

USER PERSONAE

TYPICAL CHEF/PUPPET USERS

Operations Teams

Dev/Ops Engineers

Platform Teams

RELEASE AUTOMATION USERS

Release Administrators/ Managers

Dev/Ops Engineers

Application Development Team members

Page 14: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Why Release Automation & Configuration Management?

Use configuration management solutions and release automation to make infrastructure configuration management an easy and seamless exercise for DevOps and Application Release teams within Continuous Delivery

Continuous Delivery teams need validation that systems are in a known state aligned to their application deployment baselines Configuration management solutions define

and maintain the state of servers

CA Release Automation

– Crosschecks configurations against the application and deployment baselines

– Determines drift across middleware, applications, and environments

COMBINED VALUE

Page 15: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

A Coordinated Approach

RELEASE AUTOMATION

Deployment of complex multi-tier applications across heterogeneous environments

Reusable deployment processes

Deploy an application to any number of disparate environments BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 1

APPLICATION TIER 2

APPLICATION TIER 3

CONFIGURATION MANAGEMENT

Prepares the server to host an application

Knows of only individual servers, not of tiered apps running ACROSS servers

Page 16: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

A Coordinated Approach

…or this QA environment

…or any environment (dev, test, etc.) with some tier or tiers virtualized or in the cloud

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging,

etc.)

APPLICATION TIER 1

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging,

etc.)

APPLICATION TIER 2

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging,

etc.)

APPLICATION TIER 3

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 1

BARE METAL

VirtualizedCloud-based

APPLICATION TIER 2

APPLICATION TIER 3

Page 17: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

A Coordinated Approach

…or a Production environment with multiple servers for each tier, load balancers being used, etc.

Load Balanced

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 1

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 1

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 1

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 1

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 2

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 2

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 2

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 2

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 3

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 3

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 3

BARE METAL

Install OS, patches, configurations (e.g. Win 2008 SP1, Security settings)

Install middleware (e.g. WebSphere, Tomcat, SAP, Oracle, etc. etc. etc.)

Middleware configuration (JDBC drivers, web server settings, DB logging, etc.)

APPLICATION TIER 3

BARE METAL

Page 18: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Configuration Management & Release Automation

Configuration Management solutions could also be used to: Deploy applications Deploy application configurations

Release Automation solutions could also be used to: Deploy middleware Deploy middleware configurations Install OS, patches etc.

However, it is easier to use the solutions together and leverage their strengths as opposed to forcing edge cases

OVERLAPPING CAPABILITIES

Page 19: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Configuration Management & Release Automation

Release management analysis

Artifact management tracking

Configuration drift reporting across environments, applications and deployments over time

Pre-deployment verification of environments

Ensure known state

Identify points of failure

CORE COMBINED USE CASES

Page 20: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

CA Release Automation

Configuration Management Related Action Packs

Page 21: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Enterprise Solution with Strong Ecosystem Integrations

CA RELEASE AUTOMATION PROVIDES OVER 125 ACTION PACKS AND 1800 ACTIONS

In-depth out-of-the-box, ready-to-use actions with no scripting required

Rapid Development Kit for quick, consistent code generation and packaging for customizing your environment

Page 22: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Configuration Management Related Action PacksExtensive Action Support for Automated Activity

CHEF 37 actions ranging

from Chef User to Node management

Extensive configuration data variables

PUPPET 24 RAKe actions and

and 22 RESTful API actions

Discover, Bootstrap, File and Node actions etc.

CFEngine CFEngine-created

Action Pack via the RDK

Supports Discover, Bootstrap, File and Node actions etc.

Page 23: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

CA Release Automation 5.5.2 – Configuration Management Updates

Out-of-Box Configuration Management Capabilities with Chef/Puppet

Page 24: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Use Chef/Puppet and CA Release Automation to make infrastructure configuration management an easy and seamless exercise for DevOps and Application Release teams in a Continuous Delivery environment

Targeted at allowing Release Admins/ Managers from the release and application teams to work with Chef Recipes and Cookbooks, and Puppet Modules put in place by experienced Chef/Puppet Admins

Supports an Author and User approach for large scale adoption

No Need to be a MASTER with all

Page 25: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Setup and Connectivity

Includes OOB integration to Chef and Puppet Enterprise Servers and

Organizations from within CA Release AutomationDefine, login and use multiple Chef and Puppet Instances within the UI of RA

Page 26: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Setup and Connectivity

Provide Release Automation server type and environment mapping to Chef/Puppet role and environment mapping

Chef Recipes and Cookbooks, and Puppet Modules selection by environment for deployments as part of the SDLC

Page 27: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Application /Deployment Baselines

Association of Chef Cookbooks and Recipes, and Puppet Modules by environment to an application/deployment baseline

Understands changes that might break the expected version due to lack of communication between Chef/Puppet Admins and App teams

Baseline establishes the set point for configuration drift reporting across environments and deployments

Page 28: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Integrated status within ROC

Deployment Overview

State propagated up into Deployment Overview and Pipeline Overview

Environment Configuration Stage as part of Pre-Deployment

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Page 29: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Enhanced Deployment Comparison ReportIncludes a new Environment Configuration section

Chef: Highlights differences in Cookbooks and Recipes including version changes, by server

Puppet: Roles and Node List

Reporting and Analysis

Page 30: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

# and Type of Configuration changes over time

Support for either individual or composite views of Applications, Releases and Environments

Detailed view of infrastructure recipes and cookbooks changes that occurred

New Configuration Drift Key Performance Indicator Widgets

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Page 31: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Support for either individual or composite views

of Applications, Releases and Environments

New Configuration Drift Key Performance Indicator Widgets

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Page 32: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Out-of-Box CA Release Automation

Chef/Puppet Integration and Capabilities

Configuration Drift Key Performance Indicator Widget

Number and Type of Configuration changes over time

Key information for deployment failure analysis

Page 33: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

CA Release Automation & Configuration Management – Summary

Page 34: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

SummaryInfrastructure Configuration Management and Release Automation

Complimentary NOT competitive: Leverages strengths of each product’s capabilities and of organizations involved

Download CA white paper: Integrating Configuration Management Into Your Release Automation Strategy

http://www.ca.com/us/collateral/white-papers/na/integrating-configuration-management-

into-your-release-automation-strategy.aspx.

Page 35: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

35 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Recommended Sessions

SESSION # TITLE DATE/TIME

DO4X213L

Hands-On Lab: Build Integrations You Need with CA

Release Automation Rapid Development Kit (RDK) and

Software Development Kit (SDK)

11/19/2015 at 3:00 pm

DO4X159SCase Study: TIAA-CREF Transforms Its Application

Delivery with a Relentless Pursuit of Automation11/19/2015 at 3:45 pm

FGH456IJCase Study: Euroclear Adopts Continuous Delivery for

New Customer-facing Application11/19/2015 at 4:30 pm

Page 36: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

36 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Must See Demos

CA Release Automation

CA Release Automation

Theater 4

Cloud & SaaS Deployments

CA Release Automation

Theater 4

CA RA Rapid Dev. Kit, SDK

CA Release Automation

Theater 4

App Release Mastermind

CA Continuous Delivery Director

Theater 4

Page 37: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

37 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

Follow On Conversations At…

Smart Bar

CA Continuous Delivery Director

Theater 4

Smart Bar

CA Release Automation

Theater 4

Page 38: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

38 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD

© 2015 CA. All rights reserved. All trademarks referenced herein belong to their respective companies.

The content provided in this CA World 2015 presentation is intended for informational purposes only and does not form any type of

warranty. The information provided by a CA partner and/or CA customer has not been reviewed for accuracy by CA.

For Informational Purposes Only

Terms of this Presentation

Page 39: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

Q & A

Page 40: Integrate Infrastructure Configuration Management with Release Automation for the Best of Both Worlds

For More Information

To learn more, please visit:

http://cainc.to/Nv2VOe

CA World ’15