1. Achieving DevOps Success with
Chef Automate
Nicole Johnson – Manager, Solutions Architects – East NA
2. Chef Commercial
Product
Chef InSpec Habitat Open Source
Products
Cloud & Infrastructure Automation
Delivery Workflow
Visibility
Compliance
Application Automation
Chef Platform
3. Barriers to Enterprise Adoption of DevOps
Anti-pattern = stitching together disparate tool chains
Thrashing on the shape of the workflow across that
tooling, lack of skills, training and cultural adoption (can
take years)
Siloed centers for DevOps
Security and compliance are an afterthought
4. New Capabilities Accelerate and De-risk DevOps
Adoption
Chef Compliance: Compliance as Code – just like Apps as Code and
Infrastructure as code
Chef Automate: Full stack collaboration
platform manages complex changes across:
• Infrastructure as Code
• Containers as Code
• Applications as Code
• Compliance as Code
New: Enterprise Transformation Practice
5. Go Fast Safely: Allow Teams to Build Code and Automate
Systems
• Infrastructure as
Code
• Containers as Code
• Policy as Code
• Process as Code
• Applications
Reinforce the right
behaviors to collaborate
safely on code at
velocity
Culture
Automation
Governance
Build, deploy, and
manage infrastructure
and applications
anywhere
Operate safely and in
compliance with internal
controls and regulatory
requirements
version
collaborate
consistently
test
automatically
Deploy Anywhere
● On-premise
● Cloud
● Hybrid-Cloud
Configuration
Automation
Workflow
ApplicationInfrastructure
6. Chef is Infrastructure as Code
•Programmatically provision
and configure components
•Treat like any other code
base
•Reconstruct business from
code repository, data
backup, and compute
resources
http://www.flickr.com/photos/louisb/4555295187/
7. Automate infrastructure & applications with Chef
On Linux based OSes:
package "httpd" do
action :install
end
template ”/var/www/index.html" do
source ”index.html.erb”
mode "0644"
end
service "httpd" do
action [ :enable, :start ]
end
8. Building Blocks: What is a Resource?
•A Resource is a system state you define
• Example: Package installed, state of a service, configuration file existing
•You declare what state you want the resource in.
• Chef automatically determines HOW that state is achieved
On Linux based OSes: On Windows based OSes:
9. Chef Workflow and Test-Driven Infrastructure
...
...
...
Targets/Workloads
Collaborative Dev
Chef Visibility
Production
Chef Server
Chef server
Chef
Supermarket
Assessment
Chef Compliance
Search
Audit
Discover
Deploy
Chef Workflow
Local Dev/
Remediation
Model
Build
Test
Chef DK
Chef Client & Cookbooks
10. Documentation
SSH supports two different protocol versions. The original
version, SSHv1, is subject to a number of different security
vulnerabilities.
Please use the more secure SSHv2 to avoid these
vulnerabilities
12. control 'cis-3.1' do
impact 0.7
title 'Set Daemon umask’
desc 'Set the default umask for all processes
started at boot time.'
describe file('/etc/sysconfig/init') do
its('content') {should match 'umask 027'}
end
end
InSpec Testing Framework
16. One path for change
Test the ArtifactsTest the Code
VERIFY BUILD
ACCEPTANC
E
REHEARSA
L
DELIVERE
D
UNION
Submit
Change
17. One path for change
VERIFY BUILD ACCEPTANCE
REHEARSA
L
DELIVEREDUNIONAPPROVE DELIVER
Lint
Syntax
Unit
Security
Quality
Publish
Lint
Syntax
Unit
Provision
Deploy
Smoke
Functional
Provision
Deploy
Smoke
Functiona
l
Provision
Deploy
Smoke
Functional
Provision
Deploy
Smoke
Functional
Submi
t
Chang
e
Does this
code
change
look
good?
Do we
want
to ship
this?
18. One path for change
VERIFY BUILD ACCEPTANCE
REHEARSA
L
DELIVEREDUNIONAPPROVE DELIVER
Lint
Syntax
Unit
Security
Quality
Publish
Lint
Syntax
Unit
Submi
t
Chang
e
Does this
code
change
look good?
19. One path for change
VERIFY BUILD ACCEPTANCE
REHEARSA
L
DELIVEREDUNIONAPPROVE DELIVER
Lint
Syntax
Unit
Security
Quality
Publish
Lint
Syntax
Unit
Provision
Deploy
Smoke
Functional
Submi
t
Chang
e
Does this
code
change
look
good?
Do we
want
to ship
this?
20. Shared Workflow
Workflow’s pipeline is shared across projects and teams
SUBMIT
CHANGE
VERIFY
APPROVE
CHANGE
DELIVER
CHANGE
ACCEPTANCEBUILD
UNION REHEARSAL DELIVERED
COOKBOOK Y
APPLICATION Y
COOKBOOK X
APPLICATION X
21. Subscription
Includes:
• Premium Features
• 24x7 Support
• Supported Content
Infrastructure
Automation Application Automation Compliance Automation
Workflow Visibility Compliance
HighAvailability
Content (Chef Cookbooks, Habitat Plans, Compliance Profiles)
Premium
Features
Open
Source
Software