Slide 1

Slide 1 text

Selina Magnin Tobias Unger Before the project started

Slide 2

Slide 2 text

DynamoDB Lex Cloud Watch Code Build SQS Lambda API Gateway ProjectExplanation

Slide 3

Slide 3 text

Afterthefirstmeeting

Slide 4

Slide 4 text

4 bySelina Magnin & Tobias Unger @ Digital Xchange 2019 DevOps beschleunigen mit ChatOps ChatOps Showcase

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

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

Slide 7

Slide 7 text

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

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

10 DEMO –Horst@Work ChatOps Showcase Horst

Slide 11

Slide 11 text

11 Project Details ChatOps Showcase

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

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!

Slide 17

Slide 17 text

17 Configuration & Installation ChatOps Showcase

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

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

Slide 20

Slide 20 text

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

Slide 21

Slide 21 text

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

Slide 22

Slide 22 text

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

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

25 Lessons Learnt ChatOpsShowcase

Slide 26

Slide 26 text

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

Slide 27

Slide 27 text

Exhausted in the beginning…

Slide 28

Slide 28 text

…but happy at the end

Slide 29

Slide 29 text

29 The End. A ChatOps Showcase Horst bySelina Magnin & Tobias Unger @ Digital Xchange 2019

Slide 30

Slide 30 text

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