Slide 1

Slide 1 text

Kevin Old - @kevinold BUILDING SIMPLE SERVERLESS APPLICATIONS WITH AWS LAMBDA https://github.com/kevinold/serverless-tutorial- oreilly-live-training-2017

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

AWS Lambda / Serverless 101 Lab: Hello World Lab: Simple HTTP Break Lab: File Conversion Lab: REST API Break Lab: Serverless GraphQL Lab: Crontab Tips and Tricks / Questions AGENDA

Slide 7

Slide 7 text

SERVERLESS?

Slide 8

Slide 8 text

FUNCTION AS A SERVICE (FAAS)

Slide 9

Slide 9 text

Write single-purpose stateless functions Design push-based, event-driven pipelines Create thicker, more powerful front ends Embrace third party services Use a compute service to execute code on demand PRINCIPLES OF A SERVERLESS ARCHITECTURE

Slide 10

Slide 10 text

AWS Lambda

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

DEMO

Slide 13

Slide 13 text

"OPTIMIZE HUMAN TIME, NOT MACHINE TIME" via https://medium.com/apollo-stack/how-to-build-graphql-servers-87587591ded5

Slide 14

Slide 14 text

Automation for working with AWS Lambda, etc.

Slide 15

Slide 15 text

101 ➤ Function ➤ Event ➤ Resource (S3, Dynamo, IAM, etc) ➤ Service

Slide 16

Slide 16 text

$ npm install -g serverless $ serverless create -t aws-nodejs $ serverless deploy $ serverless remove 101

Slide 17

Slide 17 text

HANDS ON LABS https://github.com/kevinold/serverless-tutorial- oreilly-live-training-2017

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

THANKS! @KEVINOLD [email protected]