Slide 1

Slide 1 text

1 Selina Magnin at ServerlessDays Hamburg 2019 DevOps & Serverlesswith AWS How Serverless can help ChatOpsbecome reality!

Slide 2

Slide 2 text

DynamoDB Lex Cloud Watch Code Build SQS Lambda API Gateway Project

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

4 bySelina Magnin DevOps & Serverlesswith AWS How Serverless can help ChatOpsbecome reality!

Slide 5

Slide 5 text

What is DevOps? 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. Erkan Yanar Selina Magnin | How Serverless can help ChatOps become reality!

Slide 6

Slide 6 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. This leads to challenges we are confronted with in the day-to-day business of software development and operation. collaborate share trust understand build 6 Selina Magnin | How Serverless can help ChatOps become reality!

Slide 7

Slide 7 text

7 Services / Bullet Points One System Notify & Share Persist & Document Control & Interact ChatOps. Use the chat also as an interface and control mechanism for other systems. 7 What is ChatOps? Selina Magnin | How Serverless can help ChatOps become reality!

Slide 8

Slide 8 text

8 Project Details ChatOpsShowcase

Slide 9

Slide 9 text

Why Serverless? 1 Web Integration over API-Gateway Fully Managed Service Rapid Development & Functions 2 3 Pay-as-you-go 4 Auto-Scaling 5 9 Selina Magnin | How Serverless can help ChatOps become reality!

Slide 10

Slide 10 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 10 Selina Magnin | How Serverless can help ChatOps become reality!

Slide 11

Slide 11 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 11 “deployed…” bot-message “deployed” message “deployed” Selina Magnin | How Serverless can help ChatOps become reality!

Slide 12

Slide 12 text

Architecture 12 app API Gateway Lambda DynamoDB Lex Code Build Cloud Watch SQS Used Tools: VS Code Selina Magnin | How Serverless can help ChatOps become reality!

Slide 13

Slide 13 text

13 Lessons Learnt ChatOpsShowcase

Slide 14

Slide 14 text

Lessons Learnt 14 Automation first Simple Interaction Support of Tools Multitenancy First Stick to the DevOps-Processes! Selina Magnin | How Serverless can help ChatOps become reality!

Slide 15

Slide 15 text

15 How to? ChatOpsShowcase

Slide 16

Slide 16 text

How to ChatOp? 16 Selina Magnin | How Serverless can help ChatOps become reality! + + + = Success!

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

19 Selina Magnin Master Student in Software Engineering selina.magnin@gmail.com LinkedIn: Selina Magnin Thank you! How Serverless can help ChatOpsbecome reality! Horst

Slide 20

Slide 20 text

How to ChatOp? 20 Deploy successful! Selina Magnin | How Serverless can help ChatOps become reality!

Slide 21

Slide 21 text

How to ChatOp? 21 CodeBuild Trigger Selina Magnin | How Serverless can help ChatOps become reality!

Slide 22

Slide 22 text

How to ChatOp? 22 Horst shows pull requests Selina Magnin | How Serverless can help ChatOps become reality!

Slide 23

Slide 23 text

How to ChatOp? 23 Deploy Serverless Framework Service Name is unique per developer Selina Magnin | How Serverless can help ChatOps become reality!

Slide 24

Slide 24 text

How to ChatOp? 24 Click on Create New App to create your app. Got to the at https://api.slack.com/apps Selina Magnin | How Serverless can help ChatOps become reality!

Slide 25

Slide 25 text

How to ChatOp? 25 Choose a name and your Workspace. Create App Selina Magnin | How Serverless can help ChatOps become reality!

Slide 26

Slide 26 text

How to ChatOp? 26 Selina Magnin | How Serverless can help ChatOps become reality!

Slide 27

Slide 27 text

How to ChatOp? 27 Go to Webhooks, then click Add webhook. Got to the settings of your repo Selina Magnin | How Serverless can help ChatOps become reality!

Slide 28

Slide 28 text

How to ChatOp? 28 Invoke URL, choose application/json paste secret key. Selina Magnin | How Serverless can help ChatOps become reality!

Slide 29

Slide 29 text

How to ChatOp? 29 Select the invoke actions you prefer. Selina Magnin | How Serverless can help ChatOps become reality!

Slide 30

Slide 30 text

30 Selina Magnin Master Student in Software Engineering selina.magnin@gmail.com LinkedIn: Selina Magnin Thank you! How Serverless can help ChatOpsbecome reality!