Slide 1

Slide 1 text

serverless architecture patterns AWS UG Torino | 19/02/2020

Slide 2

Slide 2 text

serverless Build and run application without thinking about servers 2

Slide 3

Slide 3 text

3

Slide 4

Slide 4 text

serverless: A success story 4

Slide 5

Slide 5 text

serverless benefits ● Flexibility on the backend ● Infrastructure problems handled by AWS ● Pay for what you use 5

Slide 6

Slide 6 text

Hello world! I am Francesco Lerro A Solution Architect who loves cloud computing Find me on Twitter @flerro 6

Slide 7

Slide 7 text

Sync invocation AWS Lambda Async Invocation 7 Function as a Service (Faas), bring your own code!

Slide 8

Slide 8 text

1 “hello world” Web Service 8

Slide 9

Slide 9 text

1a well architected Web Service 9

Slide 10

Slide 10 text

2 Under pressure 10

Slide 11

Slide 11 text

3 The Website Let’s start with the first set of slides 11

Slide 12

Slide 12 text

4 Booking SAGA (coordinated transactions) Let’s start with the first set of slides 12 Credits Yan Cui, The SAGA pattern

Slide 13

Slide 13 text

4a Booking SAGA, the happy path Let’s start with the first set of slides 13 Credits Yan Cui, The SAGA pattern

Slide 14

Slide 14 text

4b Booking SAGA, error handling Let’s start with the first set of slides 14 Credits Yan Cui, The SAGA pattern

Slide 15

Slide 15 text

5 Catch me if you can (streaming) Let’s start with the first set of slides 15

Slide 16

Slide 16 text

5a Streaming and IoT Let’s start with the first set of slides 16

Slide 17

Slide 17 text

6 Fan out Let’s start with the first set of slides 17

Slide 18

Slide 18 text

Read more ● Serverless microservice patterns by Jeremy Daly https://www.jeremydaly.com/serverless-microservice-patterns-for-aws/ ● Airline booking by Heitor Lessa (implementing many serverless patterns and best practices) https://github.com/heitorlessa/aws-serverless-airline-booking ● Real world serverless application by AWS https://github.com/awslabs/realworld-serverless-application ● Well-Architected: Serverless Application Lens https://aws.amazon.com/blogs/architecture/well-architected-lens-focus-on-specific-workload-types/ ● The SAGA Pattern by Yan Cui - http://bit.ly/2OZPPfl 18

Slide 19

Slide 19 text

Thanks! ANY QUESTIONS? Find me on Twitter @flerro 19