SlideShare a Scribd company logo
1 of 14
Daniel Perez
DOES 2016
Doubling Down on
ChatOps in the
Enterprise
Agenda
– Our DOES Journey
– What is ChatOps
– Overview of Hubots
– Design and Security Considerations
– Live demo
2
Our DOES Journey
– DOES 2014 – Continuous Integration as a Centralized Service Using ElectricFlow
– Self-service deployment of ElectricFlow
– One of the largest implementations of solution
– Used by 3k+ developers and 1,000,000+ jobs a month
– Baseline projects, environment cleanup, simplified security strategy
– DOES 2015- Self-healing and Monitoring in a Devops world
– R&D IT’s investments towards end-to-end applications monitoring and self healing
– Integrated pipelines, reproducible api’s
– In-depth insight into environments with open source monitoring solutions
– Initial ChatOps investments
3
What Is ChatOps?
Pulling tools into the Conversation
4
#ChatOps
ChatOps is a term coined by
Github to describe their growing
culture of “Putting tools in the
middle of the conversation”
The Idea
• Persistent chat – Single point of collaboration
• “One stop shop” - Graphs, quick info, run
automations
• Chat tool agnostic – Many flavors, integrations
• Hubots – Open source, nodeJS based, highly
customizable, api driven
Hubot - Hammer
What can he do?
5
Core features
Persistent data
• Redis Brain… stores user info, chat history, key/value pairs
• Mongo integration… Mongo based store for script data
Integrated pipeline
• GitHub Enterprise... Inner sourced for all developers to fork on their own
• ElectricFlow… Compiles and deploys hubot
• Flowdock… End to end notification on the deploy process
• Hubot-webhook listener... Self deploys on known good branch
• Data lookups
• Graphing
• Run automations
• Alias commands
• Application metrics/stats
• Tell jokes
ChatOps
Key ChatOps technologies
6
…..sort of
Hubot
Design considerations and best practices
8
– Lightweight
– Small 2x4
– Go cloud!
– Dockerize hubot
– Automated builds
– Tie to SCM
– Create automated pipeline to test/deploy
– Best practices
- Keep it simple!
- Avoid single point of failure
- Keep it chat tool agnostic
- Reuse code as much as possible
ChatOps
Security considerations
9
– Express framework
– Enables basic auth for ports
– Implement Nginx proxy pass for SSL endpoint
– Hubot.env
– Store all related env variables in this file
– Secure file with correct permissions (chmod 600)
– Avoid personal accounts with integrations (app accounts are
safer)
– Hubot auth
– Chat Data stored off-premise
– Ensure security team vets tools
– Cleanse any confidential data that should not leave
network/premises
– Implement SSO on chat platforms that support it
– Stand up enterprise version of chat tools (HipChat, Mattermost)
ChatOps
Food for thought
Lessons Learned
– Pick tool that fits your use case
– Keep integrations simple
– Too much data can make things complicated
– Not everything needs to be automated
– Properly onboard team members
Fun stats
– 10+ applications onboarded (within our org)
– 70 active commands/integrations
– 30+ developers
– 100’s of daily calls to chatbot
– Expanded to 10+ teams in the last 6 months
10
Live Demo
• Overview of persistent chat
• Common hubot commands
• ElectricFlow performance metrics integration
• Nagios/graphios Grafana integration
• Self-deploy
11
Summary
12
HubotsChatOps
• Key enabler of DevOps with the use of
persistent chat and
• Conversation-Driven Development
• Central place to collaborate
• Accountability and audit trail
• Node based and easy to set up
• Integrations to a variety of chat tools
• Chat tool agnostic – works on many
chat platforms
• Highly customizable
• On demand automation
https://github.com/DOES16-HPE/ChatOps
Questions?
13
Thank you
daniel.perez3@hpe.com
14

More Related Content

What's hot

A Crash Course in Building Site Reliability
A Crash Course in Building Site ReliabilityA Crash Course in Building Site Reliability
A Crash Course in Building Site Reliability
Acquia
 

What's hot (20)

DOES16 San Francisco - Scott Prugh & Erica Morrison - When Ops Swallows Dev
DOES16 San Francisco - Scott Prugh & Erica Morrison - When Ops Swallows DevDOES16 San Francisco - Scott Prugh & Erica Morrison - When Ops Swallows Dev
DOES16 San Francisco - Scott Prugh & Erica Morrison - When Ops Swallows Dev
 
Why to docker
Why to dockerWhy to docker
Why to docker
 
A Secure DevOps Journey
A Secure DevOps JourneyA Secure DevOps Journey
A Secure DevOps Journey
 
London DevOps Meetup - PaaS as a platform for devops
London DevOps Meetup - PaaS as a platform for devopsLondon DevOps Meetup - PaaS as a platform for devops
London DevOps Meetup - PaaS as a platform for devops
 
Microsoft Azure DevOps - The Developers Conference
Microsoft Azure DevOps - The Developers ConferenceMicrosoft Azure DevOps - The Developers Conference
Microsoft Azure DevOps - The Developers Conference
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
 
Adopting a security attitude in DevOps via DevOpsSec
Adopting a security attitude in DevOps via DevOpsSecAdopting a security attitude in DevOps via DevOpsSec
Adopting a security attitude in DevOps via DevOpsSec
 
Enterprise CI as-a-Service using Jenkins
Enterprise CI as-a-Service using JenkinsEnterprise CI as-a-Service using Jenkins
Enterprise CI as-a-Service using Jenkins
 
DevOps in Practice
DevOps in PracticeDevOps in Practice
DevOps in Practice
 
Enabing DevOps in an SDN World
Enabing DevOps in an SDN WorldEnabing DevOps in an SDN World
Enabing DevOps in an SDN World
 
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
Cloud and Network Transformation using DevOps methodology : Cisco Live 2015
 
DevOps Friendly Doc Publishing for APIs & Microservices
DevOps Friendly Doc Publishing for APIs & MicroservicesDevOps Friendly Doc Publishing for APIs & Microservices
DevOps Friendly Doc Publishing for APIs & Microservices
 
Ian Margetts - ASOS’ Journey to Continuous Deployment
Ian Margetts - ASOS’ Journey to Continuous DeploymentIan Margetts - ASOS’ Journey to Continuous Deployment
Ian Margetts - ASOS’ Journey to Continuous Deployment
 
Auto sre with keptn
Auto sre with keptnAuto sre with keptn
Auto sre with keptn
 
A Crash Course in Building Site Reliability
A Crash Course in Building Site ReliabilityA Crash Course in Building Site Reliability
A Crash Course in Building Site Reliability
 
DOES SFO 2016 - Topo Pal - DevOps at Capital One
DOES SFO 2016 - Topo Pal - DevOps at Capital OneDOES SFO 2016 - Topo Pal - DevOps at Capital One
DOES SFO 2016 - Topo Pal - DevOps at Capital One
 
DevOps Transformation at Dynatrace and with Dynatrace
DevOps Transformation at Dynatrace and with DynatraceDevOps Transformation at Dynatrace and with Dynatrace
DevOps Transformation at Dynatrace and with Dynatrace
 
DevSecCon Asia 2017 Fabian Lim: DevSecOps in the government
DevSecCon Asia 2017 Fabian Lim: DevSecOps in the governmentDevSecCon Asia 2017 Fabian Lim: DevSecOps in the government
DevSecCon Asia 2017 Fabian Lim: DevSecOps in the government
 
CI/CD Best Practices for Your DevOps Journey
CI/CD Best  Practices for Your DevOps JourneyCI/CD Best  Practices for Your DevOps Journey
CI/CD Best Practices for Your DevOps Journey
 
KEYNOTE | WHAT'S COMING IN THE NEXT 10 YEARS OF DEVOPS? // ELLEN CHISA, bolds...
KEYNOTE | WHAT'S COMING IN THE NEXT 10 YEARS OF DEVOPS? // ELLEN CHISA, bolds...KEYNOTE | WHAT'S COMING IN THE NEXT 10 YEARS OF DEVOPS? // ELLEN CHISA, bolds...
KEYNOTE | WHAT'S COMING IN THE NEXT 10 YEARS OF DEVOPS? // ELLEN CHISA, bolds...
 

Viewers also liked

DOES SFO 2016 - Kaimar Karu - ITIL. You keep using that word. I don't think i...
DOES SFO 2016 - Kaimar Karu - ITIL. You keep using that word. I don't think i...DOES SFO 2016 - Kaimar Karu - ITIL. You keep using that word. I don't think i...
DOES SFO 2016 - Kaimar Karu - ITIL. You keep using that word. I don't think i...
Gene Kim
 
DOES SFO 2016 - Chris Fulton - CD for DBs
DOES SFO 2016 - Chris Fulton - CD for DBsDOES SFO 2016 - Chris Fulton - CD for DBs
DOES SFO 2016 - Chris Fulton - CD for DBs
Gene Kim
 
DOES SFO 2016 - Ross Clanton and Chivas Nambiar - DevOps at Verizon
DOES SFO 2016 - Ross Clanton and Chivas Nambiar - DevOps at VerizonDOES SFO 2016 - Ross Clanton and Chivas Nambiar - DevOps at Verizon
DOES SFO 2016 - Ross Clanton and Chivas Nambiar - DevOps at Verizon
Gene Kim
 
DOES SFO 2016 - Avan Mathur - Planning for Huge Scale
DOES SFO 2016 - Avan Mathur - Planning for Huge ScaleDOES SFO 2016 - Avan Mathur - Planning for Huge Scale
DOES SFO 2016 - Avan Mathur - Planning for Huge Scale
Gene Kim
 

Viewers also liked (17)

DOES SFO 2016 - Alexa Alley - Value Stream Mapping
DOES SFO 2016 - Alexa Alley - Value Stream MappingDOES SFO 2016 - Alexa Alley - Value Stream Mapping
DOES SFO 2016 - Alexa Alley - Value Stream Mapping
 
DOES SFO 2016 - Rich Jackson & Rosalind Radcliffe - The Mainframe DevOps Team...
DOES SFO 2016 - Rich Jackson & Rosalind Radcliffe - The Mainframe DevOps Team...DOES SFO 2016 - Rich Jackson & Rosalind Radcliffe - The Mainframe DevOps Team...
DOES SFO 2016 - Rich Jackson & Rosalind Radcliffe - The Mainframe DevOps Team...
 
DOES SFO 2016 - Michael Nygard - Tempo, Maneuverability, Initiative
DOES SFO 2016 - Michael Nygard - Tempo, Maneuverability, InitiativeDOES SFO 2016 - Michael Nygard - Tempo, Maneuverability, Initiative
DOES SFO 2016 - Michael Nygard - Tempo, Maneuverability, Initiative
 
DOES SFO 2016 - Kaimar Karu - ITIL. You keep using that word. I don't think i...
DOES SFO 2016 - Kaimar Karu - ITIL. You keep using that word. I don't think i...DOES SFO 2016 - Kaimar Karu - ITIL. You keep using that word. I don't think i...
DOES SFO 2016 - Kaimar Karu - ITIL. You keep using that word. I don't think i...
 
DOES SFO 2016 - Chris Fulton - CD for DBs
DOES SFO 2016 - Chris Fulton - CD for DBsDOES SFO 2016 - Chris Fulton - CD for DBs
DOES SFO 2016 - Chris Fulton - CD for DBs
 
DOES SFO 2016 - Mark Imbriaco - Lessons From the Bleeding Edge
DOES SFO 2016 - Mark Imbriaco - Lessons From the Bleeding EdgeDOES SFO 2016 - Mark Imbriaco - Lessons From the Bleeding Edge
DOES SFO 2016 - Mark Imbriaco - Lessons From the Bleeding Edge
 
DOES SFO 2016 - Ross Clanton and Chivas Nambiar - DevOps at Verizon
DOES SFO 2016 - Ross Clanton and Chivas Nambiar - DevOps at VerizonDOES SFO 2016 - Ross Clanton and Chivas Nambiar - DevOps at Verizon
DOES SFO 2016 - Ross Clanton and Chivas Nambiar - DevOps at Verizon
 
DOES SFO 2016 - Avan Mathur - Planning for Huge Scale
DOES SFO 2016 - Avan Mathur - Planning for Huge ScaleDOES SFO 2016 - Avan Mathur - Planning for Huge Scale
DOES SFO 2016 - Avan Mathur - Planning for Huge Scale
 
DOES SFO 2016 - Marc Priolo - Are we there yet?
DOES SFO 2016 - Marc Priolo - Are we there yet? DOES SFO 2016 - Marc Priolo - Are we there yet?
DOES SFO 2016 - Marc Priolo - Are we there yet?
 
DOES16 San Francisco - Opal Perry - Technology Transformation: How Team Value...
DOES16 San Francisco - Opal Perry - Technology Transformation: How Team Value...DOES16 San Francisco - Opal Perry - Technology Transformation: How Team Value...
DOES16 San Francisco - Opal Perry - Technology Transformation: How Team Value...
 
DOES SFO 2016 - David Habershon - Ministry of Social Development New Zealand
DOES SFO 2016 - David Habershon - Ministry of Social Development New ZealandDOES SFO 2016 - David Habershon - Ministry of Social Development New Zealand
DOES SFO 2016 - David Habershon - Ministry of Social Development New Zealand
 
DOES SFO 2016 - Paula Thrasher & Kevin Stanley - Building Brilliant Teams
DOES SFO 2016 - Paula Thrasher & Kevin Stanley - Building Brilliant Teams DOES SFO 2016 - Paula Thrasher & Kevin Stanley - Building Brilliant Teams
DOES SFO 2016 - Paula Thrasher & Kevin Stanley - Building Brilliant Teams
 
DOES16 San Francisco - David Blank-Edelman - Lessons Learned from a Parallel ...
DOES16 San Francisco - David Blank-Edelman - Lessons Learned from a Parallel ...DOES16 San Francisco - David Blank-Edelman - Lessons Learned from a Parallel ...
DOES16 San Francisco - David Blank-Edelman - Lessons Learned from a Parallel ...
 
DOES SFO 2016 - Courtney Kissler - Inspire and Nurture the Human Spirit
DOES SFO 2016 - Courtney Kissler - Inspire and Nurture the Human SpiritDOES SFO 2016 - Courtney Kissler - Inspire and Nurture the Human Spirit
DOES SFO 2016 - Courtney Kissler - Inspire and Nurture the Human Spirit
 
DOES16 San Francisco - DevOps Workshop: Leading Change
DOES16 San Francisco - DevOps Workshop: Leading ChangeDOES16 San Francisco - DevOps Workshop: Leading Change
DOES16 San Francisco - DevOps Workshop: Leading Change
 
DOES SFO 2016 - Aimee Bechtle - Utilizing Distributed Dojos to Transform a Wo...
DOES SFO 2016 - Aimee Bechtle - Utilizing Distributed Dojos to Transform a Wo...DOES SFO 2016 - Aimee Bechtle - Utilizing Distributed Dojos to Transform a Wo...
DOES SFO 2016 - Aimee Bechtle - Utilizing Distributed Dojos to Transform a Wo...
 
DOES SFO 2016 - Steve Mayner - Transformational Leadership
DOES SFO 2016 - Steve Mayner - Transformational LeadershipDOES SFO 2016 - Steve Mayner - Transformational Leadership
DOES SFO 2016 - Steve Mayner - Transformational Leadership
 

Similar to DOES SFO 2016 - Daniel Perez - Doubling Down on ChatOps in the Enterprise

Are hypermedia API's Just Hype?
Are hypermedia API's Just Hype?Are hypermedia API's Just Hype?
Are hypermedia API's Just Hype?
Daniel Feist
 
Successfully Implementing DEV-SEC-OPS in the Cloud
Successfully Implementing DEV-SEC-OPS in the CloudSuccessfully Implementing DEV-SEC-OPS in the Cloud
Successfully Implementing DEV-SEC-OPS in the Cloud
Amazon Web Services
 

Similar to DOES SFO 2016 - Daniel Perez - Doubling Down on ChatOps in the Enterprise (20)

DevOps in a Cloud Native World
DevOps in a Cloud Native WorldDevOps in a Cloud Native World
DevOps in a Cloud Native World
 
Scaling a Serverless Developer Platform for Teams
Scaling a Serverless Developer Platform for TeamsScaling a Serverless Developer Platform for Teams
Scaling a Serverless Developer Platform for Teams
 
Open Source Governance v2.5
Open Source Governance v2.5Open Source Governance v2.5
Open Source Governance v2.5
 
Methods about Open Source Governance v2.5
Methods about Open Source Governance v2.5Methods about Open Source Governance v2.5
Methods about Open Source Governance v2.5
 
Are hypermedia API's Just Hype?
Are hypermedia API's Just Hype?Are hypermedia API's Just Hype?
Are hypermedia API's Just Hype?
 
Are Hypermedia APIs Just Hype? - Aaron Phethean (Temenos) & Daniel Feist (Mul...
Are Hypermedia APIs Just Hype? - Aaron Phethean (Temenos) & Daniel Feist (Mul...Are Hypermedia APIs Just Hype? - Aaron Phethean (Temenos) & Daniel Feist (Mul...
Are Hypermedia APIs Just Hype? - Aaron Phethean (Temenos) & Daniel Feist (Mul...
 
DevOps and APIs: Great Alone, Better Together
DevOps and APIs: Great Alone, Better Together DevOps and APIs: Great Alone, Better Together
DevOps and APIs: Great Alone, Better Together
 
Successfully Implementing DEV-SEC-OPS in the Cloud
Successfully Implementing DEV-SEC-OPS in the CloudSuccessfully Implementing DEV-SEC-OPS in the Cloud
Successfully Implementing DEV-SEC-OPS in the Cloud
 
Revolutionize Your Workflow with ChatOps
Revolutionize Your Workflow with ChatOpsRevolutionize Your Workflow with ChatOps
Revolutionize Your Workflow with ChatOps
 
How to improve Developer Documentations ?
How to improve Developer Documentations ?How to improve Developer Documentations ?
How to improve Developer Documentations ?
 
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
IBM ConnectED SPOT104: Lightning-Fast Development of Native Mobile Apps for I...
 
Social Media Monitoring with NiFi, Druid and Superset
Social Media Monitoring with NiFi, Druid and SupersetSocial Media Monitoring with NiFi, Druid and Superset
Social Media Monitoring with NiFi, Druid and Superset
 
Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17Status Quo on the automation support in SOA Suite OGhTech17
Status Quo on the automation support in SOA Suite OGhTech17
 
Feed Herny developer training : crossplatform and HTML5
Feed Herny developer training : crossplatform and  HTML5Feed Herny developer training : crossplatform and  HTML5
Feed Herny developer training : crossplatform and HTML5
 
Choosing Automation for DevOps & Continuous Delivery in the Enterprise
Choosing Automation for DevOps & Continuous Delivery in the EnterpriseChoosing Automation for DevOps & Continuous Delivery in the Enterprise
Choosing Automation for DevOps & Continuous Delivery in the Enterprise
 
Runtime Fabric on OpenShift _--_ MuleSoft Meetup Deck.pptx
Runtime Fabric on OpenShift _--_ MuleSoft Meetup Deck.pptxRuntime Fabric on OpenShift _--_ MuleSoft Meetup Deck.pptx
Runtime Fabric on OpenShift _--_ MuleSoft Meetup Deck.pptx
 
IoT architecture
IoT architectureIoT architecture
IoT architecture
 
HLayer / Cloud Native Best Practices
HLayer / Cloud Native Best PracticesHLayer / Cloud Native Best Practices
HLayer / Cloud Native Best Practices
 
2016 - Safely Removing the Last Roadblock to Continuous Delivery
2016 - Safely Removing the Last Roadblock to Continuous Delivery2016 - Safely Removing the Last Roadblock to Continuous Delivery
2016 - Safely Removing the Last Roadblock to Continuous Delivery
 
DevOps
DevOpsDevOps
DevOps
 

More from Gene Kim

DOES16 San Francisco - Charles Betz - Influencing Higher Education to Create ...
DOES16 San Francisco - Charles Betz - Influencing Higher Education to Create ...DOES16 San Francisco - Charles Betz - Influencing Higher Education to Create ...
DOES16 San Francisco - Charles Betz - Influencing Higher Education to Create ...
Gene Kim
 

More from Gene Kim (9)

DOES SFO 2016 - Ray Krueger - Speed as a Prime Directive
DOES SFO 2016 - Ray Krueger - Speed as a Prime DirectiveDOES SFO 2016 - Ray Krueger - Speed as a Prime Directive
DOES SFO 2016 - Ray Krueger - Speed as a Prime Directive
 
DOES SFO 2016 - Kevina Finn-Braun & J. Paul Reed - Beyond the Retrospective: ...
DOES SFO 2016 - Kevina Finn-Braun & J. Paul Reed - Beyond the Retrospective: ...DOES SFO 2016 - Kevina Finn-Braun & J. Paul Reed - Beyond the Retrospective: ...
DOES SFO 2016 - Kevina Finn-Braun & J. Paul Reed - Beyond the Retrospective: ...
 
DOES SFO 2016 - Andy Cooper & Brandon Holcomb - When IT Closes the Deal
DOES SFO 2016 - Andy Cooper & Brandon Holcomb - When IT Closes the DealDOES SFO 2016 - Andy Cooper & Brandon Holcomb - When IT Closes the Deal
DOES SFO 2016 - Andy Cooper & Brandon Holcomb - When IT Closes the Deal
 
DOES SFO 2016 - Matthew Barr - Enterprise Git - the hard bits
DOES SFO 2016 - Matthew Barr - Enterprise Git - the hard bits DOES SFO 2016 - Matthew Barr - Enterprise Git - the hard bits
DOES SFO 2016 - Matthew Barr - Enterprise Git - the hard bits
 
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...
 
DOES SFO 2016 San Francisco - Julia Wester - Predictability: No Magic Required
DOES SFO 2016 San Francisco - Julia Wester - Predictability: No Magic RequiredDOES SFO 2016 San Francisco - Julia Wester - Predictability: No Magic Required
DOES SFO 2016 San Francisco - Julia Wester - Predictability: No Magic Required
 
DOES16 San Francisco - Dominica DeGrandis - Time Theft: How Hidden and Unplan...
DOES16 San Francisco - Dominica DeGrandis - Time Theft: How Hidden and Unplan...DOES16 San Francisco - Dominica DeGrandis - Time Theft: How Hidden and Unplan...
DOES16 San Francisco - Dominica DeGrandis - Time Theft: How Hidden and Unplan...
 
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
DOES16 San Francisco - Marc Ng - SAP’s DevOps Journey: From Building an App t...
 
DOES16 San Francisco - Charles Betz - Influencing Higher Education to Create ...
DOES16 San Francisco - Charles Betz - Influencing Higher Education to Create ...DOES16 San Francisco - Charles Betz - Influencing Higher Education to Create ...
DOES16 San Francisco - Charles Betz - Influencing Higher Education to Create ...
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

DOES SFO 2016 - Daniel Perez - Doubling Down on ChatOps in the Enterprise

  • 1. Daniel Perez DOES 2016 Doubling Down on ChatOps in the Enterprise
  • 2. Agenda – Our DOES Journey – What is ChatOps – Overview of Hubots – Design and Security Considerations – Live demo 2
  • 3. Our DOES Journey – DOES 2014 – Continuous Integration as a Centralized Service Using ElectricFlow – Self-service deployment of ElectricFlow – One of the largest implementations of solution – Used by 3k+ developers and 1,000,000+ jobs a month – Baseline projects, environment cleanup, simplified security strategy – DOES 2015- Self-healing and Monitoring in a Devops world – R&D IT’s investments towards end-to-end applications monitoring and self healing – Integrated pipelines, reproducible api’s – In-depth insight into environments with open source monitoring solutions – Initial ChatOps investments 3
  • 4. What Is ChatOps? Pulling tools into the Conversation 4 #ChatOps ChatOps is a term coined by Github to describe their growing culture of “Putting tools in the middle of the conversation” The Idea • Persistent chat – Single point of collaboration • “One stop shop” - Graphs, quick info, run automations • Chat tool agnostic – Many flavors, integrations • Hubots – Open source, nodeJS based, highly customizable, api driven
  • 5. Hubot - Hammer What can he do? 5 Core features Persistent data • Redis Brain… stores user info, chat history, key/value pairs • Mongo integration… Mongo based store for script data Integrated pipeline • GitHub Enterprise... Inner sourced for all developers to fork on their own • ElectricFlow… Compiles and deploys hubot • Flowdock… End to end notification on the deploy process • Hubot-webhook listener... Self deploys on known good branch • Data lookups • Graphing • Run automations • Alias commands • Application metrics/stats • Tell jokes
  • 8. Hubot Design considerations and best practices 8 – Lightweight – Small 2x4 – Go cloud! – Dockerize hubot – Automated builds – Tie to SCM – Create automated pipeline to test/deploy – Best practices - Keep it simple! - Avoid single point of failure - Keep it chat tool agnostic - Reuse code as much as possible
  • 9. ChatOps Security considerations 9 – Express framework – Enables basic auth for ports – Implement Nginx proxy pass for SSL endpoint – Hubot.env – Store all related env variables in this file – Secure file with correct permissions (chmod 600) – Avoid personal accounts with integrations (app accounts are safer) – Hubot auth – Chat Data stored off-premise – Ensure security team vets tools – Cleanse any confidential data that should not leave network/premises – Implement SSO on chat platforms that support it – Stand up enterprise version of chat tools (HipChat, Mattermost)
  • 10. ChatOps Food for thought Lessons Learned – Pick tool that fits your use case – Keep integrations simple – Too much data can make things complicated – Not everything needs to be automated – Properly onboard team members Fun stats – 10+ applications onboarded (within our org) – 70 active commands/integrations – 30+ developers – 100’s of daily calls to chatbot – Expanded to 10+ teams in the last 6 months 10
  • 11. Live Demo • Overview of persistent chat • Common hubot commands • ElectricFlow performance metrics integration • Nagios/graphios Grafana integration • Self-deploy 11
  • 12. Summary 12 HubotsChatOps • Key enabler of DevOps with the use of persistent chat and • Conversation-Driven Development • Central place to collaborate • Accountability and audit trail • Node based and easy to set up • Integrations to a variety of chat tools • Chat tool agnostic – works on many chat platforms • Highly customizable • On demand automation https://github.com/DOES16-HPE/ChatOps

Editor's Notes

  1. 1 MIN Name, R&DIT, HPE 3rd chapter of our DOES/Devops journey – TITLE ChatOps has exploded within IT field over last year Concept we introduced at DOES Initial investments Take and run with it in your teams
  2. ~ 3 min (1m) Provides core SDLC solutions throughout all facets of IT : R&D, IT, Business All of our solutions are highly available, 24x7 support, and scaled out DOES 2014 We shared our deployment of EC as a self-service model, unlike anything out there today Common environment for all developers, easy onboarding and standardized build processes DOES 2015 Take what we learned, apply to all other apps Nagios solution: 600 servers, +1500 services End to end monitoring and integrated pipelines Initial ChatOps investments Take that to other parts of org DOES 2016
  3. ~3 min (4:00) Combine persistent chat and developers in a single point of conversation/collaboration through conversation driven devlopement– you have a shared place where developers can collaborate with a tool that can help kick off automated tasks You’ve got defect tools, scm, CI, pipelines, quality tools out there that work well but there is nothing that really ties them together, this is where chatops shines Key enabler of DevOps with the use of persistent chat One location where all key collaboration takes place History, tags, referencing others, referencing conversations Increase volicity Self service automations “One stop shop” Place that documents interactions Single point of collaboration for working through issues Enables automation with ever increasing insight to your environments Chat tool agnostic Lots of flavors : Flowdock, Slack, Hipchat, IRC, Mattermost Variety of adaptors for Hubot Hubot written around the “adaptor” concept – standardize messaging, storage/persistent data, concept of “rooms” Hubot Automation is everything – Hubot really lets you “automate all the things”
  4. ~ 3min (10:00) Core features Data lookups – GHE stats Nagios Grafana/Kibana visualizer Integration to EC Alias is a must have Tell jokes Nagios status checks Graphing statsd performance data – ElectricFlow, SCM solutions, GitHub Enterprise Integrations to our various SCM tools for analytics, environment discovery, and general app health Self-healing – Restart services, status checks and repairs Chaos-Monkey – Break all of the things Automated selenium testing – Kick off entire end-to-end test suits for our various applications Jokes – he’s a comedian!
  5. 30 seconds 13:00
  6. True, to a certain point There are certain things that really shouldn’t be automated Some things can be over-engineered, to the point where the value gained from implementing automation is simply not worth the effort Hubot or chat tool is down, you’re dead in the water Go over more of this in lessons learned
  7. ~ 2 min ( 6:00 ) Good guidelines for successful automations Keep it simple Keep it generic Avoid single point of failure Keep it chat tool agnostic Reuse code as much as possible
  8. ~2 min (8:00) Open emphasis on the hubot security perspective – role based permissions, hubot auth, native ElectricFlow ACL’s
  9. ~ 1min (13:30) Tool features matter Certain teams really need open chat rooms – slack Inbox from flowdock SSO – security in mind “grouped conversations” Don’t overload your chat with data Only post stuff that matters Graph only import things Don’t automate everything
  10. ~ 5 min 14:30) Overview of persistent chat – 1min Common hubot commands – 1 min ElectricFlow grafana integration – 1min Nagios/graphios – 1 min Self-deploy – 1 min
  11. ~ 1 min (19:30)
  12. ~ 5 min (20:30)