Webhooks and Events and Microservices, oh my!

A presentation at Upfront Conf in March 2019 in Manchester, UK by Phil Hawksworth

Slide 1

Slide 1

EVENTS AND WEBHOOKS AND MICROSERVICES, OH MY! PHIL HAWKSWORTH

Slide 2

Slide 2

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth EVENTS

Slide 3

Slide 3

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WEBHOOKS

Slide 4

Slide 4

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth MICROSERVICES

Slide 5

Slide 5

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth BUILDING BLOCKS

Slide 6

Slide 6

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth AUTOMATION d n a IMAGINATION

Slide 7

Slide 7

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HELLO

Slide 8

Slide 8

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth @ PHIL HAWKSWORTH DEVELOPER EXPERIENCE, NETLIFY

Slide 9

Slide 9

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth REALTIME FINANCIAL DATA

Slide 10

Slide 10

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth REALTIME FINANCIAL DATA

Slide 11

Slide 11

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth REALTIME FINANCIAL DATA

Slide 12

Slide 12

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SHIPPING INSURANCE

Slide 13

Slide 13

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SHIPPING INSURANCE

Slide 14

Slide 14

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 15

Slide 15

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 16

Slide 16

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 17

Slide 17

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth MAKING THINGS

Slide 18

Slide 18

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth PROJECTS

Slide 19

Slide 19

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth THE PERFECT PROJECT TIMELINE BRIEF AWARDS

Slide 20

Slide 20

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth LAUNCH DAY

Slide 21

Slide 21

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 22

Slide 22

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 23

Slide 23

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 24

Slide 24

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth THE PERFECT PROJECT TIMELINE FIXES

BRIEF

START SCOPE RE-SCOPE CLIENT REVIEW LAUNCH “ FINAL” SIGN OFF AWARDS

Slide 25

Slide 25

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 26

Slide 26

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 27

Slide 27

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SEEK TO ATTAIN LOOSE COUPLING AND TIGHT COHESION

Slide 28

Slide 28

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 29

Slide 29

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth A DIFFERENT APPROACH

Slide 30

Slide 30

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 31

Slide 31

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 32

Slide 32

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 33

Slide 33

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth BY BREAKING THE MONOLITH APART, WE CAN ENJOY BOUGHT OR BUILT SPECIALIST SERVICES

Slide 34

Slide 34

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth ONE JOB

Slide 35

Slide 35

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth YOU HAD ONE JOB

Slide 36

Slide 36

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth EVENTS, WEBHOOKS, MICROSERVICES AND APIS PROVIDE GLUE

Slide 37

Slide 37

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SERVICES

Slide 38

Slide 38

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth BOUGHT SERVICES

Slide 39

Slide 39

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth CMS ASSETS COMMERCE IDENTITY CONTENTFUL SANITY GRAPHCMS CLOUDINARY STRIPE SNIPCART AUTH0 OAUTH

Slide 40

Slide 40

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth BUT WHAT OF THE RISK?

Slide 41

Slide 41

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth the DREAM CRUSHER

Slide 42

Slide 42

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 43

Slide 43

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 44

Slide 44

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth VENDORS PROVIDING A SINGLE SERVICE DEPEND ON ITS SUCCESS MORE THAN YOU DO

Slide 45

Slide 45

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth TECHNICAL AND SERVICE LEVEL CONTRACTS

Slide 46

Slide 46

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth BOUGHT SERVICES

Slide 47

Slide 47

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth BUILT SERVICES

Slide 48

Slide 48

netlify Events, And Hooks, And Microservices CMS UpFront Conf, 2019 DAMS @philhawksworth COMMERCE IDENTITY

Slide 49

Slide 49

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 CMS @philhawksworth DAMS COMMERCE

Slide 50

Slide 50

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SMALLER SURFACES ARE EASIER TO REASON ABOUT, AND CREATE GREATER AGILITY

Slide 51

Slide 51

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth GREATER FOCUS PROVIDES A MORE OBVIOUS PATH TO MVP

Slide 52

Slide 52

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth A NOTE ABOUT MVP

Slide 53

Slide 53

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth I WOULDN’T USE A MINIMUM VIABLE PARACHUTE A SPEAKER AT A CONFERENCE ONCE

Slide 54

Slide 54

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth I FUCKING WOULD ME, IMAGINING A SITUATION WHEN I’D NEED A PARACHUTE

Slide 55

Slide 55

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth MVP IS NOT CHOOSING A WEAK PRODUCT OVER GOOD PRODUCT

Slide 56

Slide 56

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth MVP IS CHOOSING TO HAVE SOMETHING NOW AND SOMETHING BETTER LATER

Slide 57

Slide 57

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 CMS @philhawksworth DAMS COMMERCE

Slide 58

Slide 58

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SERVERLESS

Slide 59

Slide 59

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth FUNCTIONS AS A SERVICE

Slide 60

Slide 60

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth FUNCTIONS AS A SERVICE ENABLE A MICROSERVICES ARCHITECTURE

Slide 61

Slide 61

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth LOWERING THE OVERHEAD OF DEPLOYING / MAINTAINING / MANAGING / SECURING OUR CODE

Slide 62

Slide 62

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth exports.handler = (event, context, callback) !=> { callback(null, { statusCode: 200, body: ‘Hello UpFront!’ }) }

Slide 63

Slide 63

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SHIFT THE BURDEN SOFTWARE AND PATCHES OPERATING SYSTEM NETWORK PHYSICAL / VIRTUAL SCALING

Slide 64

Slide 64

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WHAT DOES DEPLOYING SERVERLESS APIS LOOK LIKE?

Slide 65

Slide 65

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WHAT DOES DEPLOYING SERVERLESS APIS LOOK LIKE? CREATE AN API / CREATE A UI / DEPLOY SOME CHANGES

Slide 66

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 67

Slide 67

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WEBHOOKS, TRIGGERS AND AUTOMATION

Slide 68

Slide 68

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth BEHIND THE SCENES, NETLIFY IS USING AWS APIS TO CREATE OUR SERVERLESS… UM… APIS

Slide 69

Slide 69

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth BEHIND THE SCENES, NETLIFY IS USING AWS APIS TO CREATE OUR SERVERLESS… UM… APIS

Slide 70

Slide 70

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth THAT’S SOME CRAZY INCEPTION TYPE SHIT — ANON

Slide 71

Slide 71

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth AUTOMATION

Slide 72

Slide 72

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth VERY LOW FRICTION

Slide 73

Slide 73

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 74

Slide 74

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 75

Slide 75

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 76

Slide 76

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 77

Slide 77

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 78

Slide 78

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 FINDTHAT.AT/TIME https://setyourwatchby.netlify.com @philhawksworth

Slide 79

Slide 79

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 FINDTHAT.AT/TIME https://setyourwatchby.netlify.com @philhawksworth

Slide 80

Slide 80

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 FINDTHAT.AT/TIME https://setyourwatchby.netlify.com @philhawksworth

Slide 81

Slide 81

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 FINDTHAT.AT/TIME https://setyourwatchby.netlify.com @philhawksworth

Slide 82

Slide 82

netlify Events, And Hooks, And Microservices WEBSTASK.IO UpFront Conf, 2019 @philhawksworth

Slide 83

Slide 83

netlify Events, And Hooks, And Microservices WEBSTASK.IO UpFront Conf, 2019 @philhawksworth

Slide 84

Slide 84

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth EVENTS & WEBHOOKS

Slide 85

Slide 85

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WEBHOOKS GIVE US A WEB-WIDE API

Slide 86

Slide 86

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WEBHOOKS ARE URLS

Slide 87

Slide 87

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth URLS FTW $

Slide 88

Slide 88

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth AITCH TEE TEE PEE DOUBLE MEH ALEX SEXTON

Slide 89

Slide 89

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth :// http foobar.com

Slide 90

Slide 90

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth :// http foobar.com

Slide 91

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 FINDTHAT.AT/COMMENTS https://jamstack-comments.netlify.com @philhawksworth

Slide 92

Slide 92

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 93

Slide 93

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 94

Slide 94

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 95

Slide 95

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 96

Slide 96

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 97

Slide 97

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 98

Slide 98

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 99

Slide 99

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 100

Slide 100

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 101

Slide 101

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 102

Slide 102

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 103

Slide 103

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth ARGGGHHH! SO MANY MOVING PARTS %

Slide 104

Slide 104

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth HOSTING AUTOMATED BUILD FORM API NOTIFY MOVE Q C

Slide 105

Slide 105

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 106

Slide 106

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth

Slide 107

Slide 107

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SO…

Slide 108

Slide 108

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WITH MICROSERVICES AND APIS, WE HAVE A VAST ARRAY OF BUILDING BLOCKS

Slide 109

Slide 109

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WITH WEBHOOKS WE HAVE LIMITLESS OPPORTUNITIES TO COMBINE THESE BUILDING BLOCKS

Slide 110

Slide 110

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WITH EVENTS AND AUTOMATION WE CAN HAVE NEW LEVELS OF CONFIDENCE AND AGILITY

Slide 111

Slide 111

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth WE HAVE MORE POWER THAN EVER BEFORE

Slide 112

Slide 112

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth MAKE AWESOME STUFF

Slide 113

Slide 113

netlify Events, And Hooks, And Microservices UpFront Conf, 2019 @philhawksworth SERVERLESS EXAMPLES AND TUTORIALS FUNCTIONS.NETLIFY.COM TOOLS, SERVICES, VENDORS THEPOWEROFSERVERLESS.INFO COMMENT ENGINE JAMSTACK-COMMENTS.NETLIFY.COM ABOUT SETYOURWATCH NETLIFY.COM/BLOG/2018/08/02/EXPLORING-THE-POTENTIAL-OF-FRICTION-FREE-DEPLOYMENTS

Slide 114

Slide 114

FINDTHAT.AT/SLIDES TWITTER.COM/PHILHAWKSWORTH THANK YOU PHIL HAWKSWORTH

!”&