@eoins
Putting Node.js Serverless Apps into Production without the Pitfalls
Eóin Shanaghy
@eoins
Putting Node.js Serverless Apps into Production without the - - PowerPoint PPT Presentation
Putting Node.js Serverless Apps into Production without the Pitfalls Ein Shanaghy @eoins @eoins Im going to talk about JS Modern JavaScript and Applications Serverless Pitfalls and how we How to overcome them Build Them Recipes
@eoins
@eoins
@eoins
Modern Applications How to Build Them Serverless
JavaScript and Serverless Pitfalls and how we
Recipes for Effective Serverless with JS
@eoins
Scalable User-focused Reliable Intelligent Fast to market Experimental!
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
THE PURSUIT OF PERFECTION REALITY
@eoins
@eoins
@eoins David Redfern/Redferns/Getty Images
@eoins
@eoins
CLOUD IaC MICROSERVICES INFRASTRUCTURE COMPLEXITY FUNCTIONS AS A SERVICE
MANAGED SERVICES
@eoins
#1 - Managed Services (incl. FaaS) #2 - Event-driven #3 – Pay only for what you use #4 – No idling infrastructure #5 – Less code Serverless
@eoins
@eoins
Event-Driven I/O Single thread Developer Productivity Modules
Comprehend Find Create Ditch Easy to:
@eoins
Maybe not…
But actually…
@eoins
New Relic, For the Love of Serverless 2020 Report
@eoins
It matters less than ever before Start with what you know Experiment Solve the problems you observe
@eoins handler.js
@eoins lib/accommodation.js
@eoins serverless.yml
@eoins
curl https://8dmtx7a123.execute-api.eu-west- 1.amazonaws.com/dev/accomodation\?county\=Louth
@eoins
requestId requestId: d791228a-687f-45ed- 918c-3165a7c20f5c, ip ip: 91.123.228.33, caller caller: -, user user: - , requestTime requestTime: 29/Feb/2020:14:23:14 +0000, httpMethod httpMethod: GET, resourcePath resourcePath: /accomodation, status status: 200, protocol protocol: HTTP/1.1, responseLength responseLength: 105418
@eoins
Learning Curve Best Practices? Moving Target New Models Organisational Change Migration is Hard
@eoins
Experience Joy
Initial PoC Architecting a Production Application MVP Deployed Migrate DynamoDB Schema Scaling to massive user numbers! Lock down API Gateway + IAM Roles Maturity
@eoins
@eoins
@eoins
slic.app
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
Essential Infrastructure resources + code Deployment time is critical
@eoins
@eoins
@eoins
{"level":30,"time":1575753091452,"pid":88157,"hostname":" eoinmac","name":"pino-logging- example","a":1,"b":2,"msg":"Hello world","v":1}
@eoins
@eoins
Service Example Metrics Lambda Invocations, Errors, IteratorAge, ConcurrentExecutions DynamoDB ReturnedBytes, ConsumedWriteCapacityUnits Lex MissedUtteranceCount,RuntimePollyErrors Textract UserErrorCount, ResponseTime Rekognition DetectedFaceCount,DetectedLabelCount Polly RequestCharacters, ResponseLatency
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
@eoins
Chapter 6!
@eoins
Serverless is about productivity and agility Don’t seek perfection Move out of your comfort zone enough Check out SLIC Starter to avoid some Serverless pitfalls!
@eoins