Slide 1

Slide 1 text

How to develop and test efficiently in a Serverless World

Slide 2

Slide 2 text

Agenda ❏ Introduction ❏ The Serverless paradigm ❏ FaaS explained ❏ Testing in a FaaS world ❏ Demo ❏ Q&A

Slide 3

Slide 3 text

#1 The Serverless Paradigm

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Next Service-Full Cloud Data Code Events No more server concerns, but only events, data and code in a fully managed way.

Slide 6

Slide 6 text

#2 Function as a Service explained (Lambda)

Slide 7

Slide 7 text

...run code based on events without managing servers

Slide 8

Slide 8 text

1 request 2 find 3 load 4 exec 5 response 0 deploy

Slide 9

Slide 9 text

Understanding AWS lambda costs Factors involved ❏ Number of executions ❏ Memory usage ❏ CPU time Cost components ❏ Invocations ❏ GB-s

Slide 10

Slide 10 text

#3 Testing in a FaaS World

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Build the right Feedback Loop: fast, reliable, isolating failures

Slide 13

Slide 13 text

Test Automation Pyramid

Slide 14

Slide 14 text

Feedback loop granularity speed granularity reliability granularity failure isolation

Slide 15

Slide 15 text

Abstractions for 3rd party implementations hide important details about the implementation itself

Slide 16

Slide 16 text

roles and policies MUST MATCH across AWS accounts

Slide 17

Slide 17 text

#4 Demo

Slide 18

Slide 18 text

GraphQL-Vault API

Slide 19

Slide 19 text

Automate integration tests and deployments just like any other piece of software test locally commit code build (packaging) deploy to test stage run automated tests promote to production development

Slide 20

Slide 20 text

Nicola Baldi @NicolaBaldi https://github.com/naighes/ Luca Milan @fewbit https://github.com/lucamilan/ Q&A