Slide 1

Slide 1 text

Senior Developer - Production Operations and Delivery @anubhavm How can you harness the power of entrepreneurs in your company? Anubhav Mishra Give them a PaaS!

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Anubhav Mishra @anubhavm

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Talk ● Microservices at Hootsuite ● PaaS ○ Kubernetes - Our microservices platform ○ Deis Workflow - Our standalone application platform ● Live Demo

Slide 8

Slide 8 text

What powers Hootsuite’s platform?

Slide 9

Slide 9 text

Numbers ● 100+ developers ● 1 PHP monolith ● 30+ microservices ● 2 cluster schedulers ● 1500+ servers ● ~15+ releases per day ● 10000 requests per second ● 5 million messages per day ● AWS as the cloud provider

Slide 10

Slide 10 text

Before Microservices

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Microservices

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

● Language ● Framework ● Code Organization ● Libraries ● Builds ● Deploy ● Infrastructure (PaaS) ● Service Discovery ● Routing ● Logging ● Monitoring ● Health Checking ● Highly Availability ● Scaling

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

Can we make it so any team can ship a microservice by themselves into production in 5 minutes?

Slide 22

Slide 22 text

Automation = Success

Slide 23

Slide 23 text

Make the right thing to do easy

Slide 24

Slide 24 text

What did we do?

Slide 25

Slide 25 text

Microservices Delivery Pipeline ● Generate Code ● Create a Pipeline Using Code ● On Demand Infrastructure to Run Microservices

Slide 26

Slide 26 text

Microservices Delivery Pipeline ● Generate Code ● Create a Pipeline Using Code ● On Demand Infrastructure to Run Microservices

Slide 27

Slide 27 text

Generate Code

Slide 28

Slide 28 text

Generate Code

Slide 29

Slide 29 text

Generate Code =

Slide 30

Slide 30 text

Demo

Slide 31

Slide 31 text

Microservices Delivery Pipeline ● Generate Code ● Create a Pipeline Using Code ● On Demand Infrastructure to Run Microservices

Slide 32

Slide 32 text

Microservices Delivery Pipeline ● Generate Code ● Create a Pipeline Using Code ● On Demand Infrastructure to Run Microservices

Slide 33

Slide 33 text

Create a Pipeline Using Code

Slide 34

Slide 34 text

Create a Pipeline Using Code

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

that really was 5 minutes….

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

Microservices Delivery Pipeline ● Generate Code ● Create a Pipeline Using Code ● On Demand Infrastructure to Run Microservices

Slide 39

Slide 39 text

Microservices Delivery Pipeline ● Generate Code ● Create a Pipeline Using Code ● On Demand Infrastructure to Run Microservices

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

Datacenter

Slide 42

Slide 42 text

Datacenter

Slide 43

Slide 43 text

Datacenter

Slide 44

Slide 44 text

Datacenter

Slide 45

Slide 45 text

On Demand Infrastructure

Slide 46

Slide 46 text

On Demand Infrastructure

Slide 47

Slide 47 text

kubectl apply -f production.yaml

Slide 48

Slide 48 text

kubectl apply -f production.yaml

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

Why Kubernetes? ● On Demand Infrastructure ● Service Discovery ● No Downtime Deployments ● Self Healing Applications ● Routing

Slide 51

Slide 51 text

The majority of people managing infrastructure just want a PaaS. The only requirement: Is has to be built by them. - Kelsey Hightower Developer Advocate - Google

Slide 52

Slide 52 text

We have our own PaaS! YAY!

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

No content

Slide 55

Slide 55 text

Awesome! Show’s over!

Slide 56

Slide 56 text

But…. ● Standalone applications ● Hackathons ● Bots ● Team Boards ● Prototypes ● Static Sites

Slide 57

Slide 57 text

I thought you already have a PaaS?

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

?

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

No content

Slide 63

Slide 63 text

Demo

Slide 64

Slide 64 text

Result

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

● Kubernetes - https://kubernetes.io ● Deis Workflow - https://deis.com/docs/workflow/ ● slide deck - https://speakerdeck.com/anubhavmishra/taming-terraform-work flow-using-terraform-modules-and-github Links

Slide 67

Slide 67 text

Thank You! Senior Developer - Production Operations and Delivery @anubhavm Anubhav Mishra