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.

SelinaM

May 25, 2019
Tweet

More Decks by SelinaM

Other Decks in Programming

Transcript

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

    DevOps beschleunigen mit ChatOps ChatOps Showcase
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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!
  12. 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
  13. 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
  14. 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
  15. How to ChatOp? 21 ChatOps Showcase – DevOps beschleunigen mit

    ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  16. 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
  17. 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
  18. How to ChatOp? 24 Select the invoke actions you prefer.

    ChatOps Showcase – DevOps beschleunigen mit ChatOps | Selina Magnin and Tobias Unger | Digital Xchange 2019
  19. 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
  20. 29 The End. A ChatOps Showcase Horst bySelina Magnin &

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

    student in Computer Science & SW Engineering [email protected] LinkedIn: Selina Magnin Speaker Deck: SelinaM Tobias Unger Senior Consultant DevOps & Cloud Solutions [email protected] Opitz Consulting www.OPITZ-CONSULTING.com Kirchstraße 6 51657 Gummersbach