SlideShare ist ein Scribd-Unternehmen logo
1 von 157
Downloaden Sie, um offline zu lesen
What can you do with
Lambda in 2020?
Yan Cui, @theburningmonk
What do you mean by
‘serverless’?
“Serverless”
Gojko Adzic
It is serverless the same way
WiFi is wireless.
http://bit.ly/2yQgwwb
Serverless means…
don’t pay for it if no-one uses it
don’t need to worry about scaling
don’t need to provision and manage servers
in other words, it’s a lot like taking a cab
Ownership
Fuel
Navigate
To get there!
Focus on
getting there!
HW Ownership
OS
Runtime & Scale
Code
Focus on
getting there!
Physical
Servers
Virtual
Machines
Containers Serverless
API Gateway IOT Core SNS SQS S3
auto-scaled
by demand
scales to zero
don’t pay
for idle
us-east-1a
us-east-1b
us-east-1c
multi-AZ by
default
us-east-1a
us-east-1b
us-east-1c
built-in load
balancing
us-east-1
us-west-1
eu-west-1
us-east-1
us-west-1
eu-west-1
DynamoDB
global tables
multi-region
active-active
us-east-1
us-west-1
eu-west-1
AWS user for 10 years
Yan Cui
http://theburningmonk.com
@theburningmonk
Yan Cui
http://theburningmonk.com
@theburningmonk
bit.ly/yubl-serverless
Developer Advocate @
Yan Cui
http://theburningmonk.com
@theburningmonk
Yan Cui
http://theburningmonk.com
@theburningmonk
Independent Consultant
advisetraining delivery
realworldserverless.com
Learn GraphQL and AppSync by building a
Twitter clone with these technologies
appsyncmasterclass.com
?
what
can
YOU
DO
with
in
2020
API Gateway Lambda DynamoDB
API Gateway
API Gateway
over 70% cheaper
ALB
1 LCU gives you
25 new connections per second
3000 active connections per minute
0.4 GB per hour for Lambda function targets
1000 rule evaluations per second
* averaged over an hour
1 TPS, 200ms avg latency, 1KB data processing / req
API Gateway
ALB
$2.5921 x 60s x 60m x 24hr x 30days
@ $1.00 per hour
24hr x 30days @ $0.0225 per hour
+
1 x 24hr x 30days @ $0.008 per hour
$21.96
$9.0721 x 60s x 60m x 24hr x 30days
@ $3.50 per hour
REST
HTTP
1,000 TPS, 200ms avg latency, 1KB data processing / req
API Gateway
ALB
$25921000 x 60s x 60m x 24hr x 30days
@ $1.00 per hour
24hr x 30days @ $0.0225 per hour
+
40 x 24hr x 30days @ $0.008 per hour
$246.6
$90721000 x 60s x 60m x 24hr x 30days
@ $3.50 per hour
REST
HTTP
services that pay by uptime are orders-of-magnitude
cheaper when running at scale
“What about cold starts? I need predictable latency!”
first, try to optimize cold start duration so
they’re within acceptable latency range
then, consider using Provisioned Concurrency as a fallback
REST APIs
“What about websockets?”
API Gateway AppSync IoT Core
API Gateway AppSync IoT Core
API Gateway
Lambda
OnConnect
API Gateway
Lambda
OnConnect DynamoDB
API Gateway
Lambda
OnConnect DynamoDB
Lambda
OnDisconnect
API Gateway DynamoDBLambda
API Gateway DynamoDBLambda
low-level construct where YOU have to
manage connection mapping
no support for broadcasts
(e.g. broadcasting to a million connected users equates to fetching 1M
items from DynamoDB and then make 1M API calls to API Gateway…)
API Gateway AppSync IoT Core
scalable, easy to use, but requires GraphQL
API Gateway AppSync IoT Core
requires sig v4 signing
(possibly using credentials obtained through Cognito Identity Pool)
messages are always MQTT messages
REST APIs
WebSockets
“What if I want to build a GraphQL API instead of REST?”
schema server data sources
DynamoDB
RDS
ElasticSearch
AppSync
Lambda
AWS AppSync
scalable & multi-az out of the box
AWS AppSync
scalable & multi-az out of the box
pay as you use ($4.00 per Million)
AWS AppSync
scalable & multi-az out of the box
pay as you use ($4.00 per Million)
built-in caching (extra $)
AWS AppSync
scalable & multi-az out of the box
pay as you use ($4.00 per Million)
built-in caching (extra $)
built-in metrics through CloudWatch
built-in logging through CloudWatch Logs
AWS AppSync
scalable & multi-az out of the box
pay as you use ($4.00 per Million)
built-in caching (extra $)
built-in metrics through CloudWatch
built-in logging through CloudWatch Logs
no servers to manage
REST APIs
WebSockets
GraphQL APIs
“Can I implement data pipelines with serverless?”
Kinesis Lambda
?Publisher(s)
realworldserverless.com
Kinesis Lambda
?Publisher(s)
Firehose S3 Athena
Kinesis Lambda
?Publisher(s)
Firehose S3 Athena
Kinesis Analytics Lambda
Kinesis Lambda
?Publisher(s)
Firehose S3 Athena
Kinesis Analytics Firehose
?
Kinesis Lambda
?Publisher(s)
Firehose S3 Athena
Kinesis Analytics Kinesis
?
REST APIs
WebSockets
GraphQL APIs
Big Data
CloudTrail EventBridge Lambda
Config EventBridge Lambda
REST APIs
WebSockets
GraphQL APIs
Big Data
DevOps/DevSecOps
“How do I model complex business workflows?”
Step Functions
orchestration service that allows you to model
workflows as state machines
design with JSON
https://states-language.net/spec.html
$25 PER MILLION
$25 PER MILLION
15X LAMBDA PRICING!
bit.ly/complete-guide-to-aws-step-functions
REST APIs
WebSockets
GraphQL APIs
Big Data
DevOps/DevSecOps
Business Workflows
“Can I encode videos with Lambda?”
S3 Lambda
?
S3 Lambda
Elemental
MediaConvert
S3 Lambda
Elemental
MediaConvert
an X min video file is likely going to take
X mins to encode
S3 Lambda Step Functions
split
Map
split
split
Map
…
split
Map
…
split
Map
…
{ … }
{ … }
{ … }
{ … }
{ … }
split
Map
…
{ … }
{ … }
{ … }
{ … }
{ … }
[{ … }, { … } … ]
Map
split stitch
Map
split stitch
Transcode video segments in parallel.
Reduced processing time from ~20 mins
to ~2 mins.
REST APIs
WebSockets
GraphQL APIs
Big Data
DevOps/DevSecOps
Video Encoding
Business Workflows
“Event-driven architectures are all the rage, how does it look like?”
“What do I use as the event bus?”
EventBridge SNS
prefer over
EventBridge SNS
EventBridge
schema discovery &
schema registry
content-based filtering
enables a centralized
event bus
EventBridge
EventBridge
AWS Services
3rd Partners
Your Application
EventBridge
AWS Services
3rd Partners
Your Application
Lambda
Lambda
Lambda
EventBridge
AWS Services
3rd Partners
Your Application
Lambda
Lambda
Lambda
“How do I handle failures?”
DLQ
SNS, SQS, Lambda,
EventBridge
FAILURE DESTINATION
FAILURE DESTINATION
FAILURE DESTINATION
FAILURE DESTINATION
MORE targets
Stream invocations
too!
prefer Lambda Destinations to DLQs
(both can be used side-by-side)
what about
OnSuccess?
OnSuccess
REST APIs
WebSockets
GraphQL APIs
Big Data
DevOps/DevSecOps
Event-Driven Architecture
Video Encoding
Business Workflows
LambdaAlexa Skills
REST APIs
WebSockets
GraphQL APIs
Big Data
DevOps/DevSecOps
Event-Driven Architecture
Video Encoding
Business Workflows
Alexa skills
IOT Core Lambda
REST APIs
WebSockets
GraphQL APIs
Big Data
DevOps/DevSecOps
Alexa skills
IOT
Event-Driven Architecture
Video Encoding
Business Workflows
REST APIs
WebSockets
GraphQL APIs
Big Data
DevOps/DevSecOps
Alexa skills
IOT
Event-Driven Architecture
Video Encoding
Business Workflows
“When is serverless not the right choice?”
What are your non-functional requirements?
Can Lambda meet your performance and scaling requirements?
What’s the Total Cost of Ownership (TCO) for serverless?
https://go.aws/2XThRxK
https://go.aws/2XThRxK
But, sometimes, the infrastructure far outweighs staffing cost
https://theburningmonk.com/hire-me
AdviseTraining Delivery
“Fundamentally, Yan has improved our team by increasing our
ability to derive value from AWS and Lambda in particular.”
Nick Blair
Tech Lead
Learn GraphQL and AppSync by building a
Twitter clone with these technologies
appsyncmasterclass.com
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
Gab2015 nicolas fonrose_costefficiencywithmicrosoftazure.pptx
Gab2015 nicolas fonrose_costefficiencywithmicrosoftazure.pptxGab2015 nicolas fonrose_costefficiencywithmicrosoftazure.pptx
Gab2015 nicolas fonrose_costefficiencywithmicrosoftazure.pptx
 
Čtvrtkon #64 - AWS Serverless - Michal Haták
Čtvrtkon #64 - AWS Serverless - Michal HatákČtvrtkon #64 - AWS Serverless - Michal Haták
Čtvrtkon #64 - AWS Serverless - Michal Haták
 
How to build observability into a serverless application
How to build observability into a serverless applicationHow to build observability into a serverless application
How to build observability into a serverless application
 
Linuxtag 2012 - OpenNebula
Linuxtag 2012 - OpenNebula  Linuxtag 2012 - OpenNebula
Linuxtag 2012 - OpenNebula
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
Building a PaaS with Docker and AWS
Building a PaaS with Docker and AWSBuilding a PaaS with Docker and AWS
Building a PaaS with Docker and AWS
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 
DevOps, Microservices and Serverless Architecture
DevOps, Microservices and Serverless ArchitectureDevOps, Microservices and Serverless Architecture
DevOps, Microservices and Serverless Architecture
 
Serverless Computing
Serverless Computing Serverless Computing
Serverless Computing
 
AWS CDK introduction
AWS CDK introductionAWS CDK introduction
AWS CDK introduction
 
API310 - How to refactor a monolith to serverless in 8 steps
API310 - How to refactor a monolith to serverless in 8 stepsAPI310 - How to refactor a monolith to serverless in 8 steps
API310 - How to refactor a monolith to serverless in 8 steps
 
[AWSKRUG&JAWS-UG Meetup #1] Serverless Real-Time Analysis
[AWSKRUG&JAWS-UG Meetup #1]  Serverless  Real-Time Analysis[AWSKRUG&JAWS-UG Meetup #1]  Serverless  Real-Time Analysis
[AWSKRUG&JAWS-UG Meetup #1] Serverless Real-Time Analysis
 
Lambda and DynamoDB best practices
Lambda and DynamoDB best practicesLambda and DynamoDB best practices
Lambda and DynamoDB best practices
 
Serverless computing
Serverless computingServerless computing
Serverless computing
 
Apply best parts of microservices to serverless
Apply best parts of microservices to serverlessApply best parts of microservices to serverless
Apply best parts of microservices to serverless
 
What makes me to migrate entire VPC JAWS PANKRATION 2021
What makes me to migrate entire VPC JAWS PANKRATION 2021What makes me to migrate entire VPC JAWS PANKRATION 2021
What makes me to migrate entire VPC JAWS PANKRATION 2021
 
Communication tool & Environment for Remote Worker
Communication tool & Environment for Remote WorkerCommunication tool & Environment for Remote Worker
Communication tool & Environment for Remote Worker
 
Architectural changes with serverless
Architectural changes with serverlessArchitectural changes with serverless
Architectural changes with serverless
 
What's better than Microservices? Serverless Microservices
What's better than Microservices? Serverless MicroservicesWhat's better than Microservices? Serverless Microservices
What's better than Microservices? Serverless Microservices
 

Ähnlich wie What can you do with lambda in 2020

Ähnlich wie What can you do with lambda in 2020 (20)

Serveless design patterns
Serveless design patternsServeless design patterns
Serveless design patterns
 
Running serverless at scale
Running serverless at scaleRunning serverless at scale
Running serverless at scale
 
Serverless Design Patterns
Serverless Design PatternsServerless Design Patterns
Serverless Design Patterns
 
Serverless Design Patterns
Serverless Design PatternsServerless Design Patterns
Serverless Design Patterns
 
Serveless design patterns (VoxxedDays Luxembourg)
Serveless design patterns (VoxxedDays Luxembourg)Serveless design patterns (VoxxedDays Luxembourg)
Serveless design patterns (VoxxedDays Luxembourg)
 
agile microservices @scaibo
agile microservices @scaiboagile microservices @scaibo
agile microservices @scaibo
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)Serverless Design Patterns (London Dev Community)
Serverless Design Patterns (London Dev Community)
 
Serveless Design Patterns (Serverless Computing London)
Serveless Design Patterns (Serverless Computing London)Serveless Design Patterns (Serverless Computing London)
Serveless Design Patterns (Serverless Computing London)
 
AWS March 2016 Webinar Series Getting Started with Serverless Architectures
AWS March 2016 Webinar Series   Getting Started with Serverless ArchitecturesAWS March 2016 Webinar Series   Getting Started with Serverless Architectures
AWS March 2016 Webinar Series Getting Started with Serverless Architectures
 
Getting Started with Serverless Architectures - August 2016 Monthly Webinar S...
Getting Started with Serverless Architectures - August 2016 Monthly Webinar S...Getting Started with Serverless Architectures - August 2016 Monthly Webinar S...
Getting Started with Serverless Architectures - August 2016 Monthly Webinar S...
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Journey to the cloud, the why and how of serverless
Journey to the cloud, the why and how of serverlessJourney to the cloud, the why and how of serverless
Journey to the cloud, the why and how of serverless
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
How to build and deploy serverless apps - AWS Summit Cape Town 2018
How to build and deploy serverless apps - AWS Summit Cape Town 2018How to build and deploy serverless apps - AWS Summit Cape Town 2018
How to build and deploy serverless apps - AWS Summit Cape Town 2018
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Getting Started with AWS Lambda and Serverless Computing
Getting Started with AWS Lambda and Serverless ComputingGetting Started with AWS Lambda and Serverless Computing
Getting Started with AWS Lambda and Serverless Computing
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
Webinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
Webinar: Serverless Architectures with AWS Lambda and MongoDB AtlasWebinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
Webinar: Serverless Architectures with AWS Lambda and MongoDB Atlas
 
Primeros pasos con arquitecturas serverless
Primeros pasos con arquitecturas serverlessPrimeros pasos con arquitecturas serverless
Primeros pasos con arquitecturas serverless
 

Mehr von Yan Cui

Mehr von Yan Cui (20)

How to win the game of trade-offs
How to win the game of trade-offsHow to win the game of trade-offs
How to win the game of trade-offs
 
How to choose the right messaging service
How to choose the right messaging serviceHow to choose the right messaging service
How to choose the right messaging service
 
How to choose the right messaging service for your workload
How to choose the right messaging service for your workloadHow to choose the right messaging service for your workload
How to choose the right messaging service for your workload
 
Patterns and practices for building resilient serverless applications.pdf
Patterns and practices for building resilient serverless applications.pdfPatterns and practices for building resilient serverless applications.pdf
Patterns and practices for building resilient serverless applications.pdf
 
Lessons from running AppSync in prod
Lessons from running AppSync in prodLessons from running AppSync in prod
Lessons from running AppSync in prod
 
Serverless observability - a hero's perspective
Serverless observability - a hero's perspectiveServerless observability - a hero's perspective
Serverless observability - a hero's perspective
 
How to ship customer value faster with step functions
How to ship customer value faster with step functionsHow to ship customer value faster with step functions
How to ship customer value faster with step functions
 
Why your next serverless project should use AWS AppSync
Why your next serverless project should use AWS AppSyncWhy your next serverless project should use AWS AppSync
Why your next serverless project should use AWS AppSync
 
Build social network in 4 weeks
Build social network in 4 weeksBuild social network in 4 weeks
Build social network in 4 weeks
 
Patterns and practices for building resilient serverless applications
Patterns and practices for building resilient serverless applicationsPatterns and practices for building resilient serverless applications
Patterns and practices for building resilient serverless applications
 
How to bring chaos engineering to serverless
How to bring chaos engineering to serverlessHow to bring chaos engineering to serverless
How to bring chaos engineering to serverless
 
Migrating existing monolith to serverless in 8 steps
Migrating existing monolith to serverless in 8 stepsMigrating existing monolith to serverless in 8 steps
Migrating existing monolith to serverless in 8 steps
 
Building a social network in under 4 weeks with Serverless and GraphQL
Building a social network in under 4 weeks with Serverless and GraphQLBuilding a social network in under 4 weeks with Serverless and GraphQL
Building a social network in under 4 weeks with Serverless and GraphQL
 
FinDev as a business advantage in the post covid19 economy
FinDev as a business advantage in the post covid19 economyFinDev as a business advantage in the post covid19 economy
FinDev as a business advantage in the post covid19 economy
 
A chaos experiment a day, keeping the outage away
A chaos experiment a day, keeping the outage awayA chaos experiment a day, keeping the outage away
A chaos experiment a day, keeping the outage away
 
How to debug slow lambda response times
How to debug slow lambda response timesHow to debug slow lambda response times
How to debug slow lambda response times
 
What can you do with lambda in 2020
What can you do with lambda in 2020What can you do with lambda in 2020
What can you do with lambda in 2020
 
How to ship customer value faster with step functions
How to ship customer value faster with step functionsHow to ship customer value faster with step functions
How to ship customer value faster with step functions
 
Debugging Lambda timeouts
Debugging Lambda timeoutsDebugging Lambda timeouts
Debugging Lambda timeouts
 
Serverless a superpower for frontend developers
Serverless a superpower for frontend developersServerless a superpower for frontend developers
Serverless a superpower for frontend developers
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

What can you do with lambda in 2020