Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to speed up DevOps with ChatOps

How to speed up DevOps with ChatOps

Discerning feedback from the customer and questions like “Why DevOps?” and “Why does that matter to me?”, “And why do I have to move to the cloud?”…
Many companies have problems adopting new tools and agile methods because their staff is often suspicious and doesn't understand why they should change something if it still works the way it is. Their motto is: "Never change a running system" and "We've always done it that way".
Within this talk we demonstrated how quickly and easily a ChatOps showcase can be realized with the help of AWS Lambda and the serverless framework. You'll see which advantages this leads to and how it can improve your everyday workflow. And – of course – how it can blow the concerns of your customers away.

A57748b2a95278c289f7f2fefaf2d186?s=128

SelinaM

May 25, 2019
Tweet

Transcript

  1. Selina Magnin Tobias Unger Before the project started

  2. DynamoDB Lex Cloud Watch Code Build SQS Lambda API Gateway

    ProjectExplanation
  3. Afterthefirstmeeting

  4. 4 bySelina Magnin & Tobias Unger @ Digital Xchange 2019

    DevOps beschleunigen mit ChatOps ChatOps Showcase
  5. Agenda 5 It is a terrible word that hides a

    great deal, and the struggle for the authority of interpretation does not yet seem to be over. 01 Why DevOps? 02 What is ChatOps? 03 Showcase Demo 04 Project Details 05 How to Chat-Op? ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019 Erkan Yanar
  6. Why DevOps? 6 Let’s do DevOps! Which technologies to use?

    How to convince the employees? How to adapt to the philosophy? 01 02 03 Question Two Question One Question Three How to put into practice? 04 Question Four Problem: People often don’t know how to “do” DevOps. Solution: Our Showcase will show customers, colleagues and managers how and why they should adapt to the DevOps culture in their company. ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  7. What is DevOps? Eliminating low-value activities and moving quickly, continuous

    improvement and embracing failure Lean Sharing responsibility and success will go a long way toward bridging the divide between Dev and Ops Sharing It’s hard to prove your continuous improvement efforts are actually improving anything without data Measurement Investing in automation eliminates repetitive manual work, yields repeatable processes, and creates reliable systems Automation Cross-functional collaboration, shared responsibility, transparency and faster feedback Culture 02 04 01 03 05 7 ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  8. What is ChatOps? Communication – The basis of todays businesses

    Communication is the exchange or transmission of information. Transmission means that distances can be overcome. These two sentences contain several essential information and challenges we are confronted with in the day-to-day business of software development and operation. collaborate share trust understand build 8 ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  9. 9 Services / Bullet Points One System All information, project-relevant

    documents and processes in one place. Notify & Share Every step and the corresponding feedback is automatically persisted in the chat. Persist & Document Everything is persisted and documented immediately in the chat. No increased effort for the dev. Control & Interact The bot can be seen as a shared shell where all chat participants can enter commands. Use the chat also as an interface and control mechanism for other systems. 9 What is ChatOps? ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  10. 10 DEMO –Horst@Work ChatOps Showcase Horst

  11. 11 Project Details ChatOps Showcase

  12. Serverless Architecture 1 Web Integration over API-Gateway Managed Service Rapid

    Development & Functions 2 3 Pay-as-you-go 4 Auto-Scaling 5 12 ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  13. How it works 1 Amazon S3 Static Web Hosting Amazon

    Cognito User Management Amazon DynamoDB Serverless Backend 2 3 Lambda and API Gateway. RESTful API 4 JSON Object Webhook 13 ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  14. Architecture 14 app API Gateway Lambda DynamoDB Lex Code Build

    Cloud Watch SQS Used Tools: VS Code ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  15. ChatOps Flow Chart User pull request Webhook → POST push

    performed! generates bot- message sends bot-message to user deploy command “deploying…” bot-message performs deploy action “deploying…” message performs deploy 15 “deployed…” bot-message “deployed” message “deployed” ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  16. What do we do if there is still time at

    the end of the presentation? Don't worry, we'll just put some more slides in the back!
  17. 17 Configuration & Installation ChatOps Showcase

  18. How to ChatOp? 18 Deploy Serverless Framework Service Name is

    unique per developer ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  19. How to ChatOp? 19 Click on Create New App to

    create your app. Got to the at https://api.slack.com/apps ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  20. How to ChatOp? 20 Choose a name and your Workspace.

    Create App ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  21. How to ChatOp? 21 ChatOps Showcase – DevOps beschleunigen mit

    ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  22. How to ChatOp? 22 Go to Webhooks, then click Add

    webhook. Got to the settings of your repo ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  23. How to ChatOp? 23 Invoke URL, choose application/json paste secret

    key. ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  24. How to ChatOp? 24 Select the invoke actions you prefer.

    ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  25. 25 Lessons Learnt ChatOpsShowcase

  26. Lessons Learned 26 The DevOps Processes are key! Rather use

    simple interaction patterns (e.g. buttons) than implementing natural language support. Bots should only be used if user interaction is necessary. Everything that can be automated should be automated. The robot should support platforms, tools and devices that are known and useful to the user. Don't introduce any additional tools just for the bot. 01 02 03 Simple Interactions Automation first Support of Tools Multitenancy support is mostly necessary for development and runtime. Try to cover that first! 04 Multitenancy First ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  27. Exhausted in the beginning…

  28. …but happy at the end

  29. 29 The End. A ChatOps Showcase Horst bySelina Magnin &

    Tobias Unger @ Digital Xchange 2019
  30. Contact DevOps AWS people cloud ChatOps 30 Selina Magnin Master

    student in Computer Science & SW Engineering selina.magnin@gmail.com LinkedIn: Selina Magnin Speaker Deck: SelinaM Tobias Unger Senior Consultant DevOps & Cloud Solutions tobias.unger@opitz-consulting.com Opitz Consulting www.OPITZ-CONSULTING.com Kirchstraße 6 51657 Gummersbach