scaling your devops with chef (december 15th 2016)

35
DevOps with Chef. [email protected] @anthonyhodson Anthony Hodson – Solution Architect

Upload: anthony-hodson

Post on 12-Apr-2017

71 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Scaling Your DevOps with Chef (December 15th 2016)

DevOps with [email protected]@anthonyhodson

Anthony Hodson – Solution Architect

Page 2: Scaling Your DevOps with Chef (December 15th 2016)

About MeSolution Architect Enterprise Israel, Europe and UK

Page 3: Scaling Your DevOps with Chef (December 15th 2016)

Our Talk Today:“Every business needs to be able to deliver new products to market fast.Chef and Manageware will discuss how a combination of a change in culture along with collaborative tools, can enable your IT teams to deliver the changes your customers want consistently, faster and with more confidence.” 

Page 4: Scaling Your DevOps with Chef (December 15th 2016)

Our Talk Today:“Every business needs to be able to deliver new products to market fast.Chef and Manageware will discuss how a combination of a change in culture along with collaborative tools, can enable your IT teams to deliver the changes your customers want consistently, faster and with more confidence.” 

Page 5: Scaling Your DevOps with Chef (December 15th 2016)

Our Talk Today:“Every business needs to be able to deliver new products to market fast.Chef and Manageware will discuss how a combination of a change in culture along with collaborative tools, can enable your IT teams to deliver the changes your customers want consistently, faster and with more confidence.” Fast:

Increased Release Frequency Decreased Lead TimesDecreased Time to Recover from IssuesDecreased number of Issues

Page 6: Scaling Your DevOps with Chef (December 15th 2016)

Why Care?State of DevOps Report 2016:1. High-performing IT organizations deploy 200x more

frequently than low performers, with 2,555x faster lead times.2. They have 24x faster recovery times and 3x lower change failure

rates. 

Source: Dr Nicole Forgren - state of DevOps report 2016

Page 7: Scaling Your DevOps with Chef (December 15th 2016)

State of DevOps Report 2016:1. High-performing IT organizations deploy 200x more

frequently than low performers, with 2,555x faster lead times.2. They have 24x faster recovery times and three times lower change

failure rates.3. High-performing IT teams spend 50% less time remediating

security issues. 4. They spend 22% less time on unplanned work and rework.

Source: Dr Nicole Forgren - state of DevOps report 2016

Page 8: Scaling Your DevOps with Chef (December 15th 2016)

State of DevOps Report 2016:1. High-performing IT organizations deploy 200x more

frequently than low performers, with 2,555x faster lead times.2. They have 24x faster recovery times and three times lower change

failure rates.3. High-performing IT teams spend 50% less time remediating

security issues. 4. They spend 22% less time on unplanned work and rework.5. Employees in high-performing teams were 2.2x more likely to

recommend their organization as a great place to work.6. Lean product development predicts higher IT performance and

less deployment pain.Source: Dr Nicole Forgren - state of DevOps report 2016

Page 9: Scaling Your DevOps with Chef (December 15th 2016)

State of DevOps Report 2016:1. High-performing IT organizations deploy 200x more

frequently than low performers, with 2,555x faster lead times.2. They have 24x faster recovery times and three times lower change

failure rates.3. High-performing IT teams spend 50% less time remediating

security issues. 4. They spend 22% less time on unplanned work and rework.5. Employees in high-performing teams were 2.2x more likely to

recommend their organization as a great place to work.6. Lean product development predicts higher IT performance and

less deployment pain.Source: Dr Nicole Forgren - state of DevOps report 2016

Page 10: Scaling Your DevOps with Chef (December 15th 2016)

Highlights of DevOps Research:When organisations employ DevOps Practices:

1. Throughput and stability improve together. 2. Firms with High-performing IT organisations were twice as likely to

exceed their profitability, market share and productivity goals.3. IT performance is predictive of organisational performance.

Sources:“What I Learned From Four Years Scienc-ing the Crap Out of DevOps” – N. Forsgren 2016“The Role of Continuous Delivery in IT and Organisation Performance” – N. Forsgren & J, Humble 2016

Page 11: Scaling Your DevOps with Chef (December 15th 2016)

Our Talk Today:“Every business needs to be able to deliver new products to market fast.Chef and Manageware will discuss how a combination of a change in culture along with collaborative tools, can enable your IT teams to deliver the changes your customers want consistently, faster and with more confidence.” 

Page 12: Scaling Your DevOps with Chef (December 15th 2016)

CULTURE Community is important

A place for help A place to shine / show A place to communicate

Permission to innovate / help / learn Positive enforcement A purpose: “will it get us nearer…” as a driving principal…

More links and information here: goo.gl/UK6VSk

Page 13: Scaling Your DevOps with Chef (December 15th 2016)

Tools

Choose Tools that: Encourage Collaboration Make Innovation Safer

Page 14: Scaling Your DevOps with Chef (December 15th 2016)

Findings for Tooling in DevOps Research:QUIZ: How do these correlate with IT performance?

Third Party Scripts Home-grown Scripts Golden Images Manual Config Management Commercial Config Management Opensource

Source:“What I Learned From Four Years Scienc-ing the Crap Out of DevOps” – N. Forsgren 2016

KEY:+ Correlates with positive IT performance~ No Correlation -- Correlates with poor IT Performance

Page 15: Scaling Your DevOps with Chef (December 15th 2016)

Findings for Tooling in DevOps Research:How do these correlate with IT performance?

~ Third Party Scripts~ Home-grown Scripts~ Golden Images~ Manual Config Management-- Commercial Config Management+ Opensource

Source:“What I Learned From Four Years Scienc-ing the Crap Out of DevOps” – N. Forsgren 2016

KEY:+ Correlates with positive IT performance~ No Correlation -- Correlates with poor IT Performance

Page 16: Scaling Your DevOps with Chef (December 15th 2016)

Our Talk Today:“Every business needs to be able to deliver new products to market fast.Chef and Manageware will discuss how a combination of a change in culture along with collaborative tools, can enable your IT teams to deliver the changes your customers want consistently, faster and with more confidence.” 

Page 17: Scaling Your DevOps with Chef (December 15th 2016)

Continuous Delivery is• Fast, reliable Tests along with Deployment Automation• Trunk-based dev and Continuous Integration• Application code, application config and system config all in Version

control.• Effective Test Data Management*• Incorporating Security and Security teams into Delivery Process*

Page 18: Scaling Your DevOps with Chef (December 15th 2016)

Continuous Delivery Research, Findings:• Benefits for your teams:

Lower deployment pain Higher IT Performance (Throughput and Stability) Lower Change Fail Rates Decreased team burnout Identifying strongly with your team (as a team member)

• For your Organization Higher Organisation Performance (productivity, market share, profitability).

Source: “The Role of Continuous Delivery in IT and Organisation Performance” – N. Forsgren & J, Humble 2016

Page 19: Scaling Your DevOps with Chef (December 15th 2016)

Recap:• What it is to move fast,• Why moving fast is important • What Chef see as culturally important when implementing DevOps• Why delivering ’The Goods' is important to your organisations.

Page 20: Scaling Your DevOps with Chef (December 15th 2016)

Chef History

2008: +

2009: +

2011:

Page 21: Scaling Your DevOps with Chef (December 15th 2016)

25,000+ Organizations50% of the top 2000 organizations

Page 22: Scaling Your DevOps with Chef (December 15th 2016)

Expansion of Chef’s Tools• Application Portability• Oversight and Reporting• Continuous Delivery (Apps and Infrastructure)• Security and Testing

Page 23: Scaling Your DevOps with Chef (December 15th 2016)

OpenSource Base:

Page 24: Scaling Your DevOps with Chef (December 15th 2016)
Page 25: Scaling Your DevOps with Chef (December 15th 2016)

Habitat

Page 26: Scaling Your DevOps with Chef (December 15th 2016)
Page 27: Scaling Your DevOps with Chef (December 15th 2016)

Examplesdescribe package('httpd') do it { should be_installed }end

Or…

describe service('W3SVC') do it { should be_installed } it { should be_running }end

Page 28: Scaling Your DevOps with Chef (December 15th 2016)
Page 29: Scaling Your DevOps with Chef (December 15th 2016)

Workflow

Tests ApplicationsTests Infrastructure Works w/ Chat-OpsFires Jenkins Jobs

Page 30: Scaling Your DevOps with Chef (December 15th 2016)

Workflow Pipeline ShapeThe stages are fixed, and each stage has a fixed set of phases

VERIFY BUILD ACCEPTANCE REHEARSAL DELIVEREDUNIONAPPROVE DELIVE

RLint

SyntaxUnit

SecurityQualityPublish

LintSyntax

Unit

ProvisionDeploySmoke

Functional

ProvisionDeploySmoke

Functional

ProvisionDeploySmoke

Functional

ProvisionDeploySmoke

Functional

SubmitChange

Does thiscode

changelook

good?

Do we want

to ship this?

Page 31: Scaling Your DevOps with Chef (December 15th 2016)

Compliance

• Agent or Agentless• Windows and Linux• On Demand• Scheduled• Test in Dev• Smart Profiles• Corporate Profiles

Page 32: Scaling Your DevOps with Chef (December 15th 2016)

Available Compliance Policies• Basic Linux• Basic MySQL• Basic PostgreSQL• Basic SSH• Windows Server 2012 R2 Base Security• CIS AIX 5.3 and AIX 6.1 Benchmark Level 1/2• CIS IBM AIX 7.1 Benchmark Level 1/2• CIS Amazon Linux 2014.09-2015.03 Benchmark

Level 1/2• CIS Apple OSX 10.10 Benchmark Level 1/2• CIS Apple OSX 10.11 Benchmark Level 1/2• CIS CentOS Linux 6 Benchmark Level 1/2• CIS CentOS Linux 7 Benchmark Level 1/2• CIS HP-UX 11i v3 Update 2 Benchmark Level 1/2 • CIS Oracle Solaris 10 Benchmark Level 1/2• CIS Oracle Solaris 11.2 Benchmark Level 1/2

• CIS Red Hat Enterprise Linux 6 Benchmark Level 1/2

• CIS Red Hat Enterprise Linux 7 Benchmark Level 1/2

• CIS SUSE Linux Enterprise Server 11 Benchmark Level 1/2

• CIS SUSE Linux Enterprise Server 12 Benchmark Level 1/2

• CIS Ubuntu 12.04 LTS Server Benchmark Level 1/2• CIS Ubuntu 14.04 LTS Server Benchmark Level 1/2• CIS Microsoft Windows 10 Enterprise (Release 1511) Benchmark Level 1/2 + BitLocker

• CIS Microsoft Windows Server 2012 (non-R2/R2) Benchmark Level 1/2 - Domain Controller / Member Server

• CIS Microsoft Windows 7 Benchmark Level 1/2 + (with/without BitLocker)

• CIS Microsoft Windows 8/8.1 Benchmark Level 1/2 + (with/without BitLocker)

Page 33: Scaling Your DevOps with Chef (December 15th 2016)

Chef Visibility:

Page 34: Scaling Your DevOps with Chef (December 15th 2016)

Product Recap

Page 35: Scaling Your DevOps with Chef (December 15th 2016)

Questions Please & Thank You!Where to Learn More / Links:• http://chef.io/automate• Learn.chef.io <- Free training.• https://www.chef.io/customers/ stories from our Customers• Culture resources: https://goo.gl/UK6VSk• Nicole’s talk about statistics shown: https://goo.gl/N94W0p• Demonstration video of habitat: https://youtu.be/aKrEmadJMa4

habitat.io

[email protected]@anthonyhodson