Slide 1

Slide 1 text

Building a Cloud-Native Bank Matt Heath, Monzo

Slide 2

Slide 2 text

Slide 3

Slide 3 text

Hi, I’m Matt

Slide 4

Slide 4 text

@mattheath

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

Nov 2015 Oct 2018 CUSTOMER
 GROWTH

Slide 8

Slide 8 text

1,100,102

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

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

No content

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

No content

Slide 20

Slide 20 text

LICENCE WITH RESTRICTIONS WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS 50K MAX DEPOSIT WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC E APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS WE ARE HERE AUG
 2016 JAN
 2016 Feb
 2015 APR
 2017 A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LICENCE WITH RESTRICTIONS WE ARE HERE

Slide 21

Slide 21 text

Henrik Kniberg

Slide 22

Slide 22 text

Henrik Kniberg

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

?

Slide 27

Slide 27 text

Slide 28

Slide 28 text

Slide 29

Slide 29 text

Slide 30

Slide 30 text

EXTENSIBLE SCALABLE RELIABLE SECURE
 CHEAP FAST

Slide 31

Slide 31 text

?

Slide 32

Slide 32 text

Application

Slide 33

Slide 33 text

Application

Slide 34

Slide 34 text

APPLICATION Application

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

LICENCE WITH RESTRICTIONS WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS 50K MAX DEPOSIT WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC E APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS WE ARE HERE JAN
 2016 Feb
 2015 APR
 2017 A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LICENCE WITH RESTRICTIONS WE ARE HERE AUG
 2016

Slide 38

Slide 38 text

LICENCE WITH RESTRICTIONS WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS 50K MAX DEPOSIT WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC E APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS WE ARE HERE JAN
 2016 Feb
 2015 APR
 2017 A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LICENCE WITH RESTRICTIONS WE ARE HERE AUG
 2016 INTERNAL TEST CARDS

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS 50K MAX DEPOSIT WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC E APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS WE ARE HERE JAN
 2016 Feb
 2015 APR
 2017 PREPAID
 CARD
 LAUNCH LICENCE WITH RESTRICTIONS WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LICENCE WITH RESTRICTIONS WE ARE HERE AUG
 2016 INTERNAL TEST CARDS

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS 50K MAX DEPOSIT WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY JUN JUL MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC E APPLICATION APPLICATION MOBILISATION LAUNCH LICENCE WITH RESTRICTIONS WE ARE HERE JAN
 2016 Feb
 2015 APR
 2017 PREPAID
 CARD
 LAUNCH LICENCE WITH RESTRICTIONS WE ARE HERE A UK banking licence is authorised by the PRA and regulated by the PRA and FCA1, allowing deposit- taking and balance sheet lending. Once granted, it allows firms to passport across Europe, accessing This is followed by a “mobilisation” phase during which final capital is raised and IT systems are completed, before launching to the public. We received a UK banking licence in August 2016! FEB 2015 JAN 2016 JAN 2017 MAR FEB FEB APR MAR MAR APR MAY APR JUN MAY JUL JUN AUG JUL SEP AUG NOV SEP DEC NOV DEC PRE APPLICATION APPLICATION MOBILISATION LICENCE WITH RESTRICTIONS WE ARE HERE AUG
 2016 INTERNAL TEST CARDS

Slide 45

Slide 45 text

Slide 46

Slide 46 text

Server

Slide 47

Slide 47 text

☁ 
 instance

Slide 48

Slide 48 text

instance instance

Slide 49

Slide 49 text

instance instance instance instance instance instance

Slide 50

Slide 50 text

instance instance instance instance instance instance { { { eu-west-1a eu-west-1b eu-west-1c

Slide 51

Slide 51 text

instance instance instance instance instance instance Kubernetes

Slide 52

Slide 52 text

instance instance instance instance instance kubelet Kubernetes

Slide 53

Slide 53 text

kubelet kubelet kubelet kubelet kubelet kubelet Kubernetes

Slide 54

Slide 54 text

kubernetes

Slide 55

Slide 55 text

kubernetes pod pod pod pod pod pod pod pod pod pod

Slide 56

Slide 56 text

kubernetes service service service service service service service service service service

Slide 57

Slide 57 text

kubernetes service service service service service service service service service service

Slide 58

Slide 58 text

kubernetes service service service service service service service service service service

Slide 59

Slide 59 text

kubernetes service service service service service service service service service service

Slide 60

Slide 60 text

kubernetes service service service service service service service service service service service service service

Slide 61

Slide 61 text

kubernetes service service service service service service service service service service

Slide 62

Slide 62 text

kubernetes service Prometheus service service Kafka linkerd Kafka service service Elasticsearch calico API service

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

AWS Public Cloud

Slide 65

Slide 65 text

AWS Public Cloud Kubernetes

Slide 66

Slide 66 text

AWS Public Cloud Cassandra etc Kubernetes

Slide 67

Slide 67 text

AWS Public Cloud Kafka etcd Cassandra etc Elasticsearch Kubernetes Prometheus NSQ

Slide 68

Slide 68 text

Monzo Platform

Slide 69

Slide 69 text

Monzo Platform

Slide 70

Slide 70 text

Monzo Services Monzo Platform

Slide 71

Slide 71 text

No content

Slide 72

Slide 72 text

Feb 2015 Oct 2018 800

Slide 73

Slide 73 text

No content

Slide 74

Slide 74 text

API Gateway

Slide 75

Slide 75 text

API

Slide 76

Slide 76 text

API Gateway API Service API Service API Service API Service API Service API Service API Service API Service

Slide 77

Slide 77 text

No content

Slide 78

Slide 78 text

API Gateway Accounts Cards Pots Feed Payments …

Slide 79

Slide 79 text

API Gateway Accounts Cards Pots Feed Payments … New
 Exciting
 API!!

Slide 80

Slide 80 text

Cards Pots Payments … API Gateway Accounts New
 Exciting
 API!! Feed

Slide 81

Slide 81 text

Cards Pots Payments … API Gateway Accounts New
 Exciting
 API!! Feed

Slide 82

Slide 82 text

API Gateway Accounts Cards Pots Payments … New
 Exciting
 API!! Feed

Slide 83

Slide 83 text

Event Driven
 Architecture

Slide 84

Slide 84 text

Service A Service B Load Balancer Edge Gateway API Service

Slide 85

Slide 85 text

API Service Service A Service B Load Balancer Edge Gateway

Slide 86

Slide 86 text

API Service Service A Service B Load Balancer Edge Gateway Service D Service E

Slide 87

Slide 87 text

API Service Service A Service B Load Balancer Edge Gateway Service C Service D Service E

Slide 88

Slide 88 text

API Service Service A Service B Load Balancer Edge Gateway Service C Service D Service E

Slide 89

Slide 89 text

Reliable Communication

Slide 90

Slide 90 text

Service Service Service Service

Slide 91

Slide 91 text

Service Service Service Service ?

Slide 92

Slide 92 text

Service Service Service Service linkerd

Slide 93

Slide 93 text

Service linkerd

Slide 94

Slide 94 text

Service Service Service Service linkerd

Slide 95

Slide 95 text

Service Service Service Service linkerd

Slide 96

Slide 96 text

Service Service Service Service linkerd

Slide 97

Slide 97 text

Monzo Services Monzo Platform

Slide 98

Slide 98 text

Team & Company
 Structure

Slide 99

Slide 99 text

Monzo Services Monzo Platform

Slide 100

Slide 100 text

Monzo Services Monzo Platform

Slide 101

Slide 101 text

No content

Slide 102

Slide 102 text

No content

Slide 103

Slide 103 text

No content

Slide 104

Slide 104 text

No content

Slide 105

Slide 105 text

No content

Slide 106

Slide 106 text

No content

Slide 107

Slide 107 text

Enforcing Resilience

Slide 108

Slide 108 text

Production load tests & Shadow Traffic

Slide 109

Slide 109 text

No content

Slide 110

Slide 110 text

Ship it and iterate. Make changes small, make them often. Technical debt is a useful tool. Solve problems at the root. Do not accept deviant system behaviour. Write code to be read. Write code to be debugged. If you can’t show it’s a bottleneck, don’t optimise it. Unblock others whenever you can. Leave the codebase better than you found it.

Slide 111

Slide 111 text

Ship it and iterate. Make changes small, make them often. Technical debt is a useful tool. Solve problems at the root. Do not accept deviant system behaviour. Write code to be read. Write code to be debugged. If you can’t show it’s a bottleneck, don’t optimise it. Unblock others whenever you can. Leave the codebase better than you found it.

Slide 112

Slide 112 text

Slide 113

Slide 113 text

Slide 114

Slide 114 text

EXTENSIBLE SCALABLE RELIABLE SECURE
 CHEAP FAST

Slide 115

Slide 115 text

Simple / small components No single points of failure Minimise critical path Masterless systems Queue deferrable tasks Automate failure correction

Slide 116

Slide 116 text

Cross-functional teams Own their systems Empowered to move fast