Top Banner
OPTIMIZING THE OPS IN DEVOPS GORDON HAFF Technology Evangelist, Red Hat Cloud Expo Silicon Valley 3 November 2016
43

Optimizing the Ops in DevOps

Feb 17, 2017

Download

Software

Gordon Haff
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Optimizing the Ops in DevOps

OPTIMIZING THE OPS

IN DEVOPS

GORDON HAFFTechnology Evangelist, Red HatCloud Expo Silicon Valley3 November 2016

Page 2: Optimizing the Ops in DevOps
Page 3: Optimizing the Ops in DevOps

DevOps

Page 4: Optimizing the Ops in DevOps

FOCUS ON CLOUD-NATIVE APPLICATION ARCHITECTURES

● Single-function units owned by a team

● Bounded context● Communicate through

lightweight APIsSource: PWC

Page 5: Optimizing the Ops in DevOps

FOCUS ON IMPROVED AND LESS ISOLATED DEVELOPER WORKFLOWS

● Collaboration● CI/CD● Issue tracking● Source code control● Code review● IDE● xPaaS

Source: Mike McGarr, Netflix

Page 6: Optimizing the Ops in DevOps

AN OPPOSING VIEW

"I want to change my job because there is this horrible concept of "pager duty" or "oncall". Where the developer has to be ready for any issues that may occur. Are most software jobs like this? Is this a norm? Where can I find software development positions without such concepts?"

Anonymous Quora user

Page 7: Optimizing the Ops in DevOps

WE ALSO TALK ABOUT CULTURE A LOT

● Empathy● Trust● Learning● Cooperation● Responsibility

Page 8: Optimizing the Ops in DevOps

DevOps

BUT WHAT ABOUT THE OPS IN DEVOPS?

Page 9: Optimizing the Ops in DevOps

DevOpsBiz

Sec

Page 10: Optimizing the Ops in DevOps

A FABLEFORDEVOPS

Page 11: Optimizing the Ops in DevOps

NO OPS? (OR IS IT EVOLVED DEVOPS?)

"We have built tooling that removes many of the operations tasks completely from the developer, and which makes the remaining tasks quick and self service. There is no ops organization involved in running our cloud, no need for the developers to interact with ops people to get things done, and less time spent actually doing ops tasks than developers would spend explaining what needed to be done to someone else."

Adrian Cockroft, Netflix, 2012

Page 12: Optimizing the Ops in DevOps

FOCUS ON PROVIDING CORE SERVICES AND GETTING OUT OF THE WAY

● Deploy a modern container platform● Enable automated developer workflows● Mitigate risk and automate security

Page 13: Optimizing the Ops in DevOps

MODERN PLATFORM

Page 14: Optimizing the Ops in DevOps

NEW CLOUD PLATFORM NEEDS

What? Why?

Scale-out to meet highly elastic service requirements

Scale-up is not flexible or scalable enough to meet changing business needs

Software-defined everythingSoftware functions running on standardized hardware increase flexibility

Focused on applications composed of loosely-coupled services

Large monolithic applications are fragile and can’t be updated quickly

Enable lightweight iterative software development and deployment

Modern applications are often short-lived and require frequent refreshes/replacements

Page 15: Optimizing the Ops in DevOps

COMPREHENSIVE CLOUD-NATIVE INFRASTRUCTURE

Physical hardware

Container orchestration

Container-optimized Linux

Container/services

Container/services

Container/services

Container/services

Container/services

Container/services

Hybrid cloud management

Dev

elop

er to

olin

g

Software-defined compute, storage, and networking

Publicclouds

Page 16: Optimizing the Ops in DevOps

OPENSTACK SOFTWARE-DEFINED INFRASTRUCTURE

Page 17: Optimizing the Ops in DevOps

MAKING CONTAINERS USEFUL:ECOSYSTEM AND DEFACTO STANDARDS

1 Open Container Initiative (OCI)2 Cloud Native Computing Foundation (CNCF)

Page 18: Optimizing the Ops in DevOps

OPERATED AT SCALE

• Different aspects of scale:

• Large scale workloads

• Diverse workloads (batch and services)

• Complex resource management (QoS, latency sensitivity, etc.)

• Focus on lightweight containerized instances

• Orchestration and resource management

Page 19: Optimizing the Ops in DevOps

HYBRID MANAGEMENT SERVICES

SERVICE AUTOMATION

Complete lifecycle and operational management that allows IT to remain in control.

POLICY &COMPLIANCE

Deploy across virtualization, private cloud, public cloud and container-based environments.

UNIFIED HYBRID MANAGEMENT

Draws on continuous monitoring and deepinsights to raise alerts or remediate issues.

Streamline complex servicedelivery processes, saving time and money.

OPERATIONALVISIBILITY

Page 20: Optimizing the Ops in DevOps

AUTOMATED

DEVELOPER WORKFLOWS

Page 21: Optimizing the Ops in DevOps

BUILD A PIPELINE

Page 22: Optimizing the Ops in DevOps

LOTS OF TOOLS FOR THE PIPELINE

gerrit

Page 23: Optimizing the Ops in DevOps

TRACK AND VALIDATETHIRD-PARTY TOOLS AND COMPONENTS

Page 24: Optimizing the Ops in DevOps

MITIGATE RISK

AUTOMATE SECURITY

Page 25: Optimizing the Ops in DevOps

TRADITIONAL SECURITY

What we did The problem

Code audited for current complianceNew vulnerabilities constantly discovered and exploited with no opportunity for rapid remediation.

Applications and systems deployed on “secured” platform

There is no perimeter.

Largely relied on checklists, written processes, and manual actions

Limited throughput and prone to errors. “Patch Tuesdays” last all month.

Primarily an end-of-process checkpoint Security is such a bottleneck!

Page 26: Optimizing the Ops in DevOps

DevSecOps

● Build on the mindset that "everyone is responsible for security"

● It’s the practice of building security into development processes

● Security as code

● Flips security from a defensive to an offensive posture that is both automated and constant

Page 27: Optimizing the Ops in DevOps

BAKE IN SECURITY AND ASSURANCE

● Components built from source code using a secure, stable, reproducible build environment

● Careful selection, configuration, and security tracking of packages

● Automated analysis and enforcement of security practices

● Active participation in upstream and community involvement

● Thoroughly validated vulnerability management process

Page 28: Optimizing the Ops in DevOps

INTEGRATED SECURITY

"Our goal as information security architects must be to automatically incorporate security controls without manual

configuration throughout this cycle in a way that is as transparent as possible to DevOps teams and doesn't impede DevOps agility,

but fulfills our legal and regulatory compliance requirements as well as manages risk. "

DevSecOps: How to Seamlessly Integrate Security Into DevOps

Gartner. DevSecOps: How to Seamlessly Integrate Security Into DevOps. September 2016. G00315283

Page 29: Optimizing the Ops in DevOps

AUTOMATING SECURITY

CONFIGURATIONERRORS

MIS

SIN

G P

ATC

HE

S CO

DIN

G M

ISTA

KE

HUMAN ERRORBAD OPSEC

Page 30: Optimizing the Ops in DevOps

SECURING CONTENT EXAMPLE: CONTAINERS

A validated supply chain helps ensure use of tested and patched software.

Page 31: Optimizing the Ops in DevOps

AN OPEN HYBRID CLOUD JOURNEY

Hybrid policy & management

Data, workflow, & API integration

Automation

Software-defined infrastructure

Legacy modernization

Self-service & flexibility

Optimized virtualization

Cloud migration

Orchestrated container platform

DevOps tooling

Mobile

Open Innovation Labs

Secured software supply chain

Page 32: Optimizing the Ops in DevOps

CREDITS

Dev: Nelson Pavlosky/flickr under CC http://www.flickr.com/photos/skyfaller/113796919/Ops: Leonardo Rizzi/flickr under CC http://www.flickr.com/photos/stars6/4381851322/Rainbows and Unicorns: http://kaigumo.deviantart.com/art/Unicorns-Fart-Rainbows-3-151273843Piggy bank: https://www.flickr.com/photos/marcmos/3644751092Stop: https://www.flickr.com/photos/r_grandmorin/6922697037

Page 33: Optimizing the Ops in DevOps

THANK YOU

plus.google.com/+RedHat

linkedin.com/company/red-hat

youtube.com/user/RedHatVideos

facebook.com/redhatinc

twitter.com/RedHatNews

Page 34: Optimizing the Ops in DevOps

TRADITIONAL SECURITY

What we did

Code audited for current compliance

Applications and systems deployed on “secured” platform

Largely relied on checklists, written processes, and manual actions

Primarily an end-of-process checkpoint

Page 35: Optimizing the Ops in DevOps

TRUSTED CONTAINER CONTENT

"From a security and governance perspective, trusting the container image is a critical concern throughout the software development lifecycle. Ensuring that images are signed and

originate from a trusted registry are solid security best practices. "

5 keys to conquering container security, Amir Jerbi, Infoworld4 August 2016

http://www.infoworld.com/article/3104030/security/5-keys-to-docker-container-security.html

Page 36: Optimizing the Ops in DevOps

NoOps?

"This is part of what we call NoOps. The developers used to spend hours a week in meetings with Ops discussing what they needed, figuring out capacity forecasts and writing tickets to request changes for the datacenter. Now they spend seconds doing it themselves in the cloud."

Adrian Cockroft, Netflix, 2012

Page 37: Optimizing the Ops in DevOps

BACK TO ADRIAN

" We have built tooling that removes many of the operations tasks completely from the developer, and which makes the remaining tasks quick and self service. There is no ops organization involved in running our cloud, no need for the developers to interact with ops people to get things done, and less time spent actually doing ops tasks than developers would spend explaining what needed to be done to someone else. "

Adrian Cockroft, Netflix, 2012

Page 38: Optimizing the Ops in DevOps

Strategies for sourcing software

Wild WestGo ahead and grab it!

BlacklistIs it from a known bad source?

WhitelistIs it a known good source?Digitally signed/securely deliveredRapid updates for vulnerabilitiesRepeatable release processes

Page 39: Optimizing the Ops in DevOps

THE MOVE TO HYBRID INFRASTRUCTURESBRINGS ADDITIONAL MANAGEMENT CHALLENGES

APPLICATIONARCHITECTURE

INFRASTRUCTUREPLATFORM

OPERATIONALMODEL

OPERATIONALCHALLENGES

Traditional Applications

Virtualization

Operational

Automation

Orchestration

Automation

Private Cloud

Scalable

Applications

Public Cloud

SaaS and PaaS

Cloud NativeService

Brokering

Containers

Microservices

Self-service

Automated provisioning

Lifecycle management

Root cause analysis

Performance and

capacity management

Hybrid Management

Policy compliance

Quota enforcement

Chargeback

Page 40: Optimizing the Ops in DevOps

WHAT DEFINES A MODERN PLATFORM?

● Built through collaborative innovation in Linux and other open source communities

● Composed of integrated core software services

● Open container format, runtime, and orchestration

● Focused on large distributed system scale points

Page 41: Optimizing the Ops in DevOps

THE NEEDED MANAGEMENT SERVICES

SERVICE AUTOMATION

Complete lifecycle and operational management that allows IT to remain in control.

POLICY &COMPLIANCE

Deploy across virtualization, private cloud, public cloud and container-based environments.

UNIFIED HYBRID MANAGEMENT

Draws on continuous monitoring and deepinsights to raise alerts or remediate issues.

Streamline complex servicedelivery processes, saving time and money.

OPERATIONALVISIBILITY

Page 42: Optimizing the Ops in DevOps

OPERATIONAL VISIBILITY CHALLENGES

Systems that are not being utilized should be retired to reclaim resources.

Budgets are tight. We have to make sure that we are utilizingour systems efficiently.

Tracking problems across infrastructurelayers can be a challenge.

I’ve got to project infrastructure usageout into the future for planning purposes.

CHALLENGES

LIFECYCLE MANAGEMENT

ROOT-CAUSE ANALYSIS CAPACITY MANAGEMENT

RESOURCE OPTIMIZATION

Page 43: Optimizing the Ops in DevOps

OPERATIONAL VISIBILITY WITH HYBRID MANAGEMENT

We now have complete lifecyclemanagement: provisioning, reconfiguration, deprovisioning, and retirement.

Automatic resource optimizationintelligently places VMs and offers right-sizing recommendations.

I can drill-down through infrastructurelayers to determine the root cause.

Resource tracking and trending aids in capacity and what-if scenario planning.

CHALLENGES

LIFECYCLE MANAGEMENT

ROOT-CAUSE ANALYSIS CAPACITY MANAGEMENT

RESOURCE OPTIMIZATION