Voice Controlled ChatOps for the Remote Worker

Voice Controlled ChatOps for the Remote Worker

Presented at St. Louis Silver Linings 5/2/2017. Displays how to use the Amazon Echo to control a Hubot in Slack for a common Incident Workflow.

260a95e08b7880ecd76b964203f25c87?s=128

Aaron Blythe

May 02, 2017
Tweet

Transcript

  1. @ablythe Voice-Controlled ChatOps For the Remote Worker 1

  2. sponsors platinum gold silver

  3. @ablythe Cost of Outages - per minute •$5,617 in 2010

    •$7,908 in 2013 •$8,851 in 2016 http://www.emersonnetworkpower.com/en-US/About/NewsRoom/NewsReleases/Pages/Emerson-Network-Power-Study-Says-Unplanned-Data-Center- Outages-Cost-Companies-Nearly-9000-Per-Minute-.aspx
  4. @ablythe Voice-Controlled ChatOps For the Remote Worker 4

  5. @ablythe 5 Aaron Blythe @ablythe Kansas City DevOps http://www.meetup.com/DevOps-Kansas-City/ @DevOpsKC

  6. CFP is open!! http://cfp.devopsdayskc.org/ http://devopsdayskc.org/

  7. None
  8. @ablythe

  9. @ablythe https://m.signalvnoise.com/why-i-work-remotely-hint-it-has-nothing-to-do-with- productivity-34ace30f74fc#.q9dfcxq2u

  10. @ablythe Persistent Video Chat Chat Clients Raspberry Pi Work area

    Spare Mac For Music, Etc. Standing Desk
  11. @ablythe

  12. @ablythe

  13. @ablythe Voice-Controlled ChatOps For the Remote Worker 13

  14. @ablythe 14 https://victorops.com/chatops-for-dummies/ Free Download By: Jason Hand https://victorops.com/chatops/

  15. @ablythe Chat Client + Bot 15 Err

  16. None
  17. Slack Integrations

  18. @ablythe Slack Integrations • Benefits • Quick Setup (minimal configuration)

    • Often managed by company that owns integration • Drawbacks • Often simplistic workflow
  19. Hubot

  20. Hubot Brain

  21. @ablythe Hubot Plugins • hubot-pager-me • hubot-confluence • hubot-leankit •

    hubot-newrelic2 • hubot-sumologic
  22. hubot-newrelic2

  23. None
  24. http://devopsreactions.tumblr.com/post/127777547677/when-you-see-the-outage- starting-and-you-cant-do

  25. @ablythe Slack Hubot PagerDuty Architecture 25

  26. @ablythe Webhooks 26 Pager Duty Outgoing Slack Incoming

  27. @ablythe Slack Hubot PagerDuty Webhook Webhook Architecture 27

  28. hubot-incident Start/Triggered Acknowledged Resolved Closed

  29. hubot-incident Start/Triggered Acknowledged Resolved Closed

  30. hubot-incident Start/Triggered Acknowledged Resolved Closed

  31. hubot-incident Start/Triggered Acknowledged Resolved Closed

  32. hubot-incident Start/Triggered Acknowledged Resolved Closed After hold Post Mortem

  33. Blameless Post Mortem

  34. None
  35. http://devopsreactions.tumblr.com/post/145902399369/manager-on-a-call-during-an- outage

  36. Notes in PagerDuty (For Post Mortem)

  37. http://devopsreactions.tumblr.com/post/122408751191/alerts-when-an-outage-starts

  38. @ablythe https://github.com/HearstAT/hubot-incident

  39. @ablythe https://imperiallabs.github.io/

  40. @ablythe SLAPI Bot (Slack API) • Why? • Take advantage

    of Slack API (Hubot is least common denom.) • Language agnostic plugins • Docker as packaging system • https://github.com/ImperialLabs/slapi
  41. @ablythe Sococo

  42. @ablythe Small and Fun SFW Hubot Script • https://github.com/TheFynx/hubot-funbox

  43. @ablythe Voice-Controlled ChatOps For the Remote Worker 43

  44. Virtual Assistants Been around the longest. Specific to Xcode/iOS. I

    only have Windows Virtual Machines. Newest to the market in opening up to developing “Intents” Best ecosystem to write apps for voice.
  45. @ablythe Demo 45

  46. @ablythe https://developer.amazon.com/ 46

  47. @ablythe Intents, Slots and Utterances 47 https://developer.amazon.com/

  48. @ablythe Intents, Slots and Utterances 48 https://developer.amazon.com/

  49. @ablythe Voice Design 49 https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/alexa-skills- kit-voice-design-handbook

  50. @ablythe Slack Hubot PagerDuty Webhook Webhook Architecture 50

  51. @ablythe Echo AWS Lambda Webhook Slack Hubot PagerDuty Webhook Webhook

    Architecture 51
  52. @ablythe AWS Lambda 52 https://aws.amazon.com/free 1,000,000 free requests per month**

    Up to 3.2 million seconds of compute time per month** = 37 days ** These free tier offers do not automatically expire at the end of your 12 month AWS Free Tier term, but are available to both existing and new AWS customers indefinitely.
  53. @ablythe Lambda Skill 53 https://aws.amazon.com/blogs/compute/slack-dictation-an-amazon-echo-and-aws- lambda-demo/

  54. @ablythe https://github.com/aaronblythe/ alexa_slack_skill 54

  55. @ablythe 55 Echo $179.99 Raspberry Pi $5-35 Browser Free https://echosim.io/

    Echo Dot $49.99
  56. @ablythe

  57. @ablythe Say What? • https://github.com/joshnewlan/say_what

  58. announcements How  are  we  doing?    Do  survey  for  chance

     of   winning  Xbox  One  and  other  prizes. Wireless   SSID:  SilverLiningsAttendees   Password:  Section31 http://bit.ly/StlSLSurvey
  59. @ablythe 59 http://samples.jbpub.com/9780763782610/82610_CH02_PASS02.pdf

  60. @ablythe “You build it, you run it.” - Dr. Werner

    Vogels CTO Amazon 60 http://queue.acm.org/detail.cfm?id=1142065 published 2006
  61. @ablythe 61 https://www.3cs.ch/lean-incident-management/

  62. @ablythe Twitter For Outages? • Companies that invest in customer

    service on Twitter have found that resolving issues via Twitter: • costs one-sixth as much as call centers • can lead to over 95% of issues being resolved in channel • can achieve a customer satisfaction rate of over 90% https://blog.twitter.com/2015/how-twitter-data-can-play-a-role-in-customer-service
  63. @ablythe Cross Functional Teams • Decrease Cycle Time to Prod

    (DevOps) • Increase visibility (everyone) • Minimize Unplanned Work or Interruptions (Project Planners)
  64. What do you think?

  65. announcements How  are  we  doing?    Do  survey  for  chance

     of   winning  Xbox  One  and  other  prizes. Wireless   SSID:  SilverLiningsAttendees   Password:  Section31 http://bit.ly/StlSLSurvey