$30 off During Our Annual Pro Sale. View Details »

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.

Aaron Blythe

May 02, 2017
Tweet

More Decks by Aaron Blythe

Other Decks in Technology

Transcript

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

    View Slide

  2. sponsors
    platinum
    gold
    silver

    View Slide

  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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  7. View Slide

  8. @ablythe

    View Slide

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

    View Slide

  10. @ablythe
    Persistent Video Chat
    Chat Clients
    Raspberry Pi
    Work area
    Spare Mac
    For Music, Etc.
    Standing Desk

    View Slide

  11. @ablythe

    View Slide

  12. @ablythe

    View Slide

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

    View Slide

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

    View Slide

  15. @ablythe
    Chat Client
    + Bot
    15
    Err

    View Slide

  16. View Slide

  17. Slack Integrations

    View Slide

  18. @ablythe
    Slack Integrations
    • Benefits
    • Quick Setup (minimal configuration)
    • Often managed by company that owns integration
    • Drawbacks
    • Often simplistic workflow

    View Slide

  19. Hubot

    View Slide

  20. Hubot Brain

    View Slide

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

    View Slide

  22. hubot-newrelic2

    View Slide

  23. View Slide

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

    View Slide

  25. @ablythe
    Slack
    Hubot
    PagerDuty
    Architecture
    25

    View Slide

  26. @ablythe
    Webhooks
    26
    Pager Duty Outgoing
    Slack Incoming

    View Slide

  27. @ablythe
    Slack
    Hubot
    PagerDuty
    Webhook
    Webhook
    Architecture
    27

    View Slide

  28. hubot-incident
    Start/Triggered
    Acknowledged
    Resolved
    Closed

    View Slide

  29. hubot-incident
    Start/Triggered
    Acknowledged
    Resolved
    Closed

    View Slide

  30. hubot-incident
    Start/Triggered
    Acknowledged
    Resolved
    Closed

    View Slide

  31. hubot-incident
    Start/Triggered
    Acknowledged
    Resolved
    Closed

    View Slide

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

    View Slide

  33. Blameless Post Mortem

    View Slide

  34. View Slide

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

    View Slide

  36. Notes in PagerDuty
    (For Post Mortem)

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  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

    View Slide

  41. @ablythe
    Sococo

    View Slide

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

    View Slide

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

    View Slide

  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.

    View Slide

  45. @ablythe
    Demo
    45

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  50. @ablythe
    Slack
    Hubot
    PagerDuty
    Webhook
    Webhook
    Architecture
    50

    View Slide

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

    View Slide

  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.

    View Slide

  53. @ablythe
    Lambda Skill
    53
    https://aws.amazon.com/blogs/compute/slack-dictation-an-amazon-echo-and-aws-
    lambda-demo/

    View Slide

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

    View Slide

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

    View Slide

  56. @ablythe

    View Slide

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

    View Slide

  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

    View Slide

  59. @ablythe
    59
    http://samples.jbpub.com/9780763782610/82610_CH02_PASS02.pdf

    View Slide

  60. @ablythe
    “You build it, you run it.”
    - Dr. Werner Vogels CTO Amazon
    60
    http://queue.acm.org/detail.cfm?id=1142065 published 2006

    View Slide

  61. @ablythe
    61
    https://www.3cs.ch/lean-incident-management/

    View Slide

  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

    View Slide

  63. @ablythe
    Cross Functional Teams
    • Decrease Cycle Time to Prod (DevOps)
    • Increase visibility (everyone)
    • Minimize Unplanned Work or Interruptions (Project Planners)

    View Slide

  64. What do you think?

    View Slide

  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

    View Slide