SlideShare una empresa de Scribd logo
1 de 51
Descargar para leer sin conexión
© 2020, Amazon Web Services, Inc. or its Affiliates.
Uri Segev
Principal Serverless Solutions Architect
Boaz Ziniman
Principal Developer Advocate
What Can You Do with Serverless
…in 2020 ?
© 2020, Amazon Web Services, Inc. or its Affiliates.
How does Serverless work?
Storage
Databases
Analytics
Machine Learning
. . .
Your
unique
business
logic
User uploads a picture
Customer data updated
Anomaly detected
API call
. . .
Fully-managed
services
Events
Functions
© 2020, Amazon Web Services, Inc. or its Affiliates.
Serverless in December 2014… and the first half of 2015
Thumbnails Generators!
S3 Bucket Lambda Function
S3 Bucket
© 2020, Amazon Web Services, Inc. or its Affiliates.
Serverless in the first half of 2015
Static
Content
Generators!
S3 Bucket Lambda Function
S3 Bucket
© 2020, Amazon Web Services, Inc. or its Affiliates.
Serverless in the first half of 2015
Dynamic
Websites & Apps!
Browser
JavaScript
DynamoDB
Table
S3 Bucket
Lambda Function
AWS SDK
Lambda Invoke
© 2020, Amazon Web Services, Inc. or its Affiliates.
Serverless in the second half of 2015… and later on!
APIs!
”Alexa!” & IoT
Microservices
DevOps
Browser
Web APIs
Amazon Echo
IoT Devices
Services
Data Streams
DynamoDB
Table
S3 Bucket
Lambda Function
API
Gateway
Schedule
© 2020, Amazon Web Services, Inc. or its Affiliates.
Over the years, customers shared some concerns…
New
Paradigm
Scalability Costs
Latency
Language
Support
© 2020, Amazon Web Services, Inc. or its Affiliates.
Observability Configuration
Management
Function
Invocations
Execution
Environment
Service
Integrations
So what have we been focusing on?
© 2020, Amazon Web Services, Inc. or its Affiliates.
Latency
Observability
Configuration
Management
Function
Invocations
Execution
Environment
Service
Integrations
Language
Support
Costs
Scalability
New
Paradigm
© 2020, Amazon Web Services, Inc. or its Affiliates.
Function
Invocations
© 2020, Amazon Web Services, Inc. or its Affiliates.
Function
Invocations
AWS Lambda
Asynchronous Invocations
(Event)
Max event age
Max retry attempt
Destinations
(to Lambda, SNS, SQS, EventBridge)
⇣
More controls for async
and event-driven apps
Scalability
New
Paradigm
© 2020, Amazon Web Services, Inc. or its Affiliates.
Configuring Async Invocations
© 2020, Amazon Web Services, Inc. or its Affiliates.
AWS Lambda – Destinations for Async Invocations
Amazon S3
Amazon SNS
Amazon SES
Amazon
EventBridge
Amazon
CloudWatch Logs
AWS Config
Amazon
CloudFormation
AWS CodeCommit
AWS Lambda
Amazon SNS
Amazon SQS
Amazon
EventBridge
Lambda
Function
onSuccess
onFailure
© 2020, Amazon Web Services, Inc. or its Affiliates.
Function
Invocations
Costs
Scalability
New
Paradigm
Kinesis / DynamoDB Streams
Parallelization factor
(no need for fan-outs)
Failure-handling
⇣
Easier to scale streaming analytics and
manage errors when processing a stream
© 2020, Amazon Web Services, Inc. or its Affiliates.
Kinesis / DynamoDB Streams Controls
© 2020, Amazon Web Services, Inc. or its Affiliates.
Function
Invocations
Latency
Costs
Amazon API Gateway
New “HTTP APIs”
⇣
Cheaper and faster APIs
Reduce costs by up to 70%
Reduce latency by up to 50%
© 2020, Amazon Web Services, Inc. or its Affiliates.
Amazon API Gateway – HTTP APIs
N
EW
© 2020, Amazon Web Services, Inc. or its Affiliates.
Function
Invocations
Costs
New
Paradigm
Application Load Balancer (ALB)
Weighted Target Groups
⇣
Fine-grained deployments with ALB, too
Stickiness!
Create rules depending on Host, HTTP
header/method, Query string, or Source IP
Simpler migrations to serverless
© 2020, Amazon Web Services, Inc. or its Affiliates.
ALB Weighted Target Groups
© 2020, Amazon Web Services, Inc. or its Affiliates.
Execution
Environment
Language
Support
Runtimes
Python 3.8
Java 11
Node.js 12
.NET Core 3.1
Custom Runtimes (Rust, Swift, …)
⇣
Use your favorite programming language
Easier to migrate existing apps
© 2020, Amazon Web Services, Inc. or its Affiliates.
Execution
Environment
Latency
Scalability
VPC to VPC NAT
⇣
Integrate VPC resources in serverless apps
Use new services with Lambda functions
(e.g. ElastiCache)
© 2020, Amazon Web Services, Inc. or its Affiliates.
Execution
Environment
Latency
Costs
Scalability
AWS Lambda
Provisioned Concurrency
⇣
No more “cold starts”
Real-time apps and games
Applications with a slow initialization
Download config/data on /tmp
© 2020, Amazon Web Services, Inc. or its Affiliates.
AWS Lambda – Provisioned Concurrency
We do the initialization,
you are responsible for the
first invocation of the handler
Avoid lazy initializations
Integrated with
CloudWatch
Application Auto Scaling
and AWS CodeDeploy
© 2020, Amazon Web Services, Inc. or its Affiliates.
Execution
Environment
Costs
Scalability
New
Paradigm
AWS Step Functions
Express Workflows
⇣
Build more modular apps
Separate business process flow
from implementation
© 2020, Amazon Web Services, Inc. or its Affiliates.
AWS Step Functions – Express Workflows
© 2020, Amazon Web Services, Inc. or its Affiliates.
Service
Integrations
Costs
Scalability
New
Paradigm
Amazon Relational
Database Service
(RDS)
RDS Proxy
⇣
Using relational databases
in serverless apps is much easier
AWS Secrets Manager stores the user name
and password for the database
© 2020, Amazon Web Services, Inc. or its Affiliates.
Amazon RDS Proxy – How It Works
Preview
© 2020, Amazon Web Services, Inc. or its Affiliates.
Service
Integrations
Costs
New
ParadigmAmazon EventBridge
Schema Registry
Rules can now be triggered
by CloudWatch Alarms
⇣
Building event-driven apps with
IDE integration
Integrating PaaS solutions with your apps
© 2020, Amazon Web Services, Inc. or its Affiliates.
© 2020, Amazon Web Services, Inc. or its Affiliates.
Service
Integrations
Scalability
New
Paradigm
Amazon Athena
Create user defined functions (UDF)
using Lambda functions
Run federated queries
⇣
Using SQL for analyzing… almost anything!
© 2020, Amazon Web Services, Inc. or its Affiliates.
Amazon Athena – Create your own data connector
Preview
© 2020, Amazon Web Services, Inc. or its Affiliates.
New
Paradigm
AWS Amplify
Native iOS/Android
Mobile Backends
Amplify DataStore
⇣
Mobile backends for native apps
Persistent on-device storage to write, read,
and observe changes online or offline, and
seamlessly sync to the cloud as well as
across devices
Service
Integrations
© 2020, Amazon Web Services, Inc. or its Affiliates.
Latency
Scalability
AWS AppSync
Pure WebSockets
GraphQL Info Object (New)
⇣
Real-time apps
More efficient resolvers
Service
Integrations
© 2020, Amazon Web Services, Inc. or its Affiliates.
Configuration
Management
New
ParadigmAWS AppConfig
For EC2, containers, on-premises, Lambda,
mobile apps, IoT devices
Application
Environment
Configuration Profile
⇣
Releasing configurations changes
with fine-grained controls
© 2020, Amazon Web Services, Inc. or its Affiliates.
Configuration Management for Lambda Functions
Environment
Variables
Parameter Store
AWS Secrets
Manager
AWS AppConfig
In the function configuration
For function-specific configurations
Part of AWS Systems Manager
Can be shared across multiple functions
For secrets, can automate rotating secrets
Integrated with the new RDS Proxy
Part of AWS Systems Manager
Full control during the roll out of configuration changes
© 2020, Amazon Web Services, Inc. or its Affiliates.
Observability
Costs
Scalability
New
Paradigm
Tracing – AWS X-Ray
Trace Maps – for single requests
Simplified identification of service
disruption – in Service Maps
SNS/SQS support (added in July/August)
Amazon API Gateway (since 2018)
AWS AppSync (new)
⇣
More and easier observability
© 2020, Amazon Web Services, Inc. or its Affiliates.
Observability
Costs
Scalability
New
Paradigm
Monitoring
CloudWatch Embedded Metric Format
Percentiles on CloudWatch metrics
CloudWatch Synthetics
CloudWatch ServiceLens
CloudWatch Anomaly Detection
(added in September)
⇣
More visibility into your
application behavior
© 2020, Amazon Web Services, Inc. or its Affiliates.
Using CloudWatch Embedded Metric Format
© 2020, Amazon Web Services, Inc. or its Affiliates.
CloudWatch Synthetics – Monitor Application Endpoints
© 2020, Amazon Web Services, Inc. or its Affiliates.
Observability
Configuration
Management
Function
Invocations
Execution
Environment
Service
Integrations
Latency
Language
Support
Costs
Scalability
New
Paradigm
© 2020, Amazon Web Services, Inc. or its Affiliates.
Observability Configuration
Management
Function
Invocations
Execution
Environment
Service
Integrations
Lots of concerns have been addressed…
© 2020, Amazon Web Services, Inc. or its Affiliates.
More tooling available
© 2020, Amazon Web Services, Inc. or its Affiliates.
Savings plan
Simplify purchasing with a flexible pricing model applying to Amazon EC2,
AWS Fargate & Lambda usage
Recommendations in AWS Cost Explorer
Any instance family—any region
AWS Fargate and Lambda
Flexibility
N
EW
© 2020, Amazon Web Services, Inc. or its Affiliates.
Serverless Lens in AWS Well-Architected Tool
N
ew
SCALING CHALLENGES
350
DONATIONS PER SECOND
Case
Study
OLD VS NEW
March 2019 cost*
$5,393
March 2015 cost*
$83,908
*All hosting costs are paid for through corporate partnerships.
100% of public donations go to the projects we fund.
Case
Study
WE COULD DO
IT ALL AGAIN TOMORROW
Serverless services cost
$92
Case
Study
© 2020, Amazon Web Services, Inc. or its Affiliates.
So, what can you do with serverless, now?
✓ Web/Mobile/IoT backends
✓ Batch/streaming analytics
✓ DevOps & IT automation
✓ Voice/text chat interfaces
✓ Real-time apps, multi-player games
✓ Complex async jobs/tasks/activities
✓ Reduce costs even more
✓ Reduce complexity
✓ And much, much more!
© 2020, Amazon Web Services, Inc. or its Affiliates.
What Can You Do with Serverless
…in 2020 ?
© 2020, Amazon Web Services, Inc. or its Affiliates.
What Are You Going to Build
…in 2020 ?
© 2020, Amazon Web Services, Inc. or its Affiliates.
Thank you!
Uri Segev
Principal Serverless Solutions Architect
Boaz Ziniman
Principal Developer Advocate

Más contenido relacionado

La actualidad más candente

20200520 - Como empezar a desarrollar aplicaciones serverless
20200520 - Como empezar a desarrollar aplicaciones serverless 20200520 - Como empezar a desarrollar aplicaciones serverless
20200520 - Como empezar a desarrollar aplicaciones serverless
Marcia Villalba
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 

La actualidad más candente (19)

企業雲端化之旅
企業雲端化之旅企業雲端化之旅
企業雲端化之旅
 
A Practitioners Guide to Securing Your Cloud
A Practitioners Guide to Securing Your CloudA Practitioners Guide to Securing Your Cloud
A Practitioners Guide to Securing Your Cloud
 
Analysing Data in Real-time
Analysing Data in Real-timeAnalysing Data in Real-time
Analysing Data in Real-time
 
Stages of Adoption leading to Complete Migration
Stages of Adoption leading to Complete Migration	Stages of Adoption leading to Complete Migration
Stages of Adoption leading to Complete Migration
 
20200520 - Como empezar a desarrollar aplicaciones serverless
20200520 - Como empezar a desarrollar aplicaciones serverless 20200520 - Como empezar a desarrollar aplicaciones serverless
20200520 - Como empezar a desarrollar aplicaciones serverless
 
Building Modern Applications on AWS
Building Modern Applications on AWSBuilding Modern Applications on AWS
Building Modern Applications on AWS
 
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...
Well-architected Amazon WorkSpaces: Enterprise deployment at scale - SVC304 -...
 
Rapid API Prototyping Using Serverless Backend in the Cloud
Rapid API Prototyping Using Serverless Backend in the CloudRapid API Prototyping Using Serverless Backend in the Cloud
Rapid API Prototyping Using Serverless Backend in the Cloud
 
Simplify Your Front End Apps with Serverless Backend in the Cloud.
Simplify Your Front End Apps with Serverless Backend in the Cloud.Simplify Your Front End Apps with Serverless Backend in the Cloud.
Simplify Your Front End Apps with Serverless Backend in the Cloud.
 
利用 AWS Step Functions 建構穩定的資料處理流程.pdf
利用 AWS Step Functions 建構穩定的資料處理流程.pdf利用 AWS Step Functions 建構穩定的資料處理流程.pdf
利用 AWS Step Functions 建構穩定的資料處理流程.pdf
 
AWS Loves Startups
AWS Loves StartupsAWS Loves Startups
AWS Loves Startups
 
利用微服務加速創新的步伐
利用微服務加速創新的步伐利用微服務加速創新的步伐
利用微服務加速創新的步伐
 
深探-IaC-(Infrastructure as Code-基礎設施即程式碼-)-在-AWS-上的應用
深探-IaC-(Infrastructure as Code-基礎設施即程式碼-)-在-AWS-上的應用深探-IaC-(Infrastructure as Code-基礎設施即程式碼-)-在-AWS-上的應用
深探-IaC-(Infrastructure as Code-基礎設施即程式碼-)-在-AWS-上的應用
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
Microservices on AWS: Architectural Patterns and Best Practices | AWS Summit ...
 
Expand-Your-Business-to-China-AWS-GCR-Regions
Expand-Your-Business-to-China-AWS-GCR-RegionsExpand-Your-Business-to-China-AWS-GCR-Regions
Expand-Your-Business-to-China-AWS-GCR-Regions
 
Scalable serverless architectures using event-driven design - MAD301 - Atlant...
Scalable serverless architectures using event-driven design - MAD301 - Atlant...Scalable serverless architectures using event-driven design - MAD301 - Atlant...
Scalable serverless architectures using event-driven design - MAD301 - Atlant...
 
From Monolith to Microservices
From Monolith to MicroservicesFrom Monolith to Microservices
From Monolith to Microservices
 
AWS 如何協助客戶建立 DevOps 流程
AWS 如何協助客戶建立 DevOps 流程AWS 如何協助客戶建立 DevOps 流程
AWS 如何協助客戶建立 DevOps 流程
 

Similar a What can you do with Serverless in 2020

AWS Serverless Webinar- Unleash Innovation & Build Modern Application
AWS Serverless Webinar- Unleash Innovation & Build Modern ApplicationAWS Serverless Webinar- Unleash Innovation & Build Modern Application
AWS Serverless Webinar- Unleash Innovation & Build Modern Application
Amazon Web Services
 

Similar a What can you do with Serverless in 2020 (20)

Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS CloudAWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
AWSome Day Online 2020_โมดูล 1: แนะนำเบื้องต้นเกี่ยวกับ AWS Cloud
 
20200803 - Serverless with AWS @ HELTECH
20200803 - Serverless with AWS @ HELTECH20200803 - Serverless with AWS @ HELTECH
20200803 - Serverless with AWS @ HELTECH
 
20201013 - Serverless Architecture Conference - How to migrate your existing ...
20201013 - Serverless Architecture Conference - How to migrate your existing ...20201013 - Serverless Architecture Conference - How to migrate your existing ...
20201013 - Serverless Architecture Conference - How to migrate your existing ...
 
AWSome Day Online 2020_Modul 1: Pengenalan AWS Cloud
AWSome Day Online 2020_Modul 1: Pengenalan AWS CloudAWSome Day Online 2020_Modul 1: Pengenalan AWS Cloud
AWSome Day Online 2020_Modul 1: Pengenalan AWS Cloud
 
20200513 - CloudComputing UCU
20200513 - CloudComputing UCU20200513 - CloudComputing UCU
20200513 - CloudComputing UCU
 
AWS Startup Garage - Building your MVP on AWS
AWS Startup Garage - Building your MVP on AWSAWS Startup Garage - Building your MVP on AWS
AWS Startup Garage - Building your MVP on AWS
 
Migrate & Modernize your legacy Microsoft applications with AWS
Migrate & Modernize your legacy Microsoft applications with AWSMigrate & Modernize your legacy Microsoft applications with AWS
Migrate & Modernize your legacy Microsoft applications with AWS
 
AWSome Day Online 2020_Module 1: Introduction to the AWS Cloud
AWSome Day Online 2020_Module 1: Introduction to the AWS CloudAWSome Day Online 2020_Module 1: Introduction to the AWS Cloud
AWSome Day Online 2020_Module 1: Introduction to the AWS Cloud
 
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
Scaling and Automating DevOps with CloudBees and Spot Instances (GPSTEC310) -...
 
Crea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightCrea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSight
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Migrate Microsoft Applications to AWS like an Expert (WIN301) - AWS re:Invent...
Migrate Microsoft Applications to AWS like an Expert (WIN301) - AWS re:Invent...Migrate Microsoft Applications to AWS like an Expert (WIN301) - AWS re:Invent...
Migrate Microsoft Applications to AWS like an Expert (WIN301) - AWS re:Invent...
 
AWS Outposts Update
AWS Outposts UpdateAWS Outposts Update
AWS Outposts Update
 
Microsoft Workloads on AWS
Microsoft Workloads on AWSMicrosoft Workloads on AWS
Microsoft Workloads on AWS
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei server
 
5 incredible (and uncommon) serverless patterns
5 incredible (and uncommon) serverless patterns5 incredible (and uncommon) serverless patterns
5 incredible (and uncommon) serverless patterns
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
AWS CZSK Webinář 2020.03: AWS Outposts
AWS CZSK Webinář 2020.03: AWS OutpostsAWS CZSK Webinář 2020.03: AWS Outposts
AWS CZSK Webinář 2020.03: AWS Outposts
 
AWS Serverless Webinar- Unleash Innovation & Build Modern Application
AWS Serverless Webinar- Unleash Innovation & Build Modern ApplicationAWS Serverless Webinar- Unleash Innovation & Build Modern Application
AWS Serverless Webinar- Unleash Innovation & Build Modern Application
 

Más de Boaz Ziniman

Más de Boaz Ziniman (20)

AWS Cost Optimization - JLM
AWS Cost Optimization - JLMAWS Cost Optimization - JLM
AWS Cost Optimization - JLM
 
Six ways to reduce your AWS bill
Six ways to reduce your AWS billSix ways to reduce your AWS bill
Six ways to reduce your AWS bill
 
From Cloud to Edge & back again
From Cloud to Edge & back againFrom Cloud to Edge & back again
From Cloud to Edge & back again
 
AI Services and Serverless Workshop
AI Services and Serverless WorkshopAI Services and Serverless Workshop
AI Services and Serverless Workshop
 
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
Drive Down the Cost of your Data Lake by Using the Right Data TieringDrive Down the Cost of your Data Lake by Using the Right Data Tiering
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
 
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel AvivBreaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
 
Serverless Beyond Functions - CTO Club Made in JLM
Serverless Beyond Functions - CTO Club Made in JLMServerless Beyond Functions - CTO Club Made in JLM
Serverless Beyond Functions - CTO Club Made in JLM
 
Websites Go Serverless - ServerlessDays TLV 2019
Websites Go Serverless - ServerlessDays TLV 2019Websites Go Serverless - ServerlessDays TLV 2019
Websites Go Serverless - ServerlessDays TLV 2019
 
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
 
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
 
Breaking Language Barriers with AI - AWS Summit
Breaking Language Barriers with AI - AWS SummitBreaking Language Barriers with AI - AWS Summit
Breaking Language Barriers with AI - AWS Summit
 
Websites go Serverless - AWS Summit Berlin
Websites go Serverless - AWS Summit BerlinWebsites go Serverless - AWS Summit Berlin
Websites go Serverless - AWS Summit Berlin
 
AWS Lambda updates from re:Invent
AWS Lambda updates from re:InventAWS Lambda updates from re:Invent
AWS Lambda updates from re:Invent
 
Artificial Intelligence for Developers - OOP Munich
Artificial Intelligence for Developers - OOP MunichArtificial Intelligence for Developers - OOP Munich
Artificial Intelligence for Developers - OOP Munich
 
Introduction to Serverless Computing - OOP Munich
 Introduction to Serverless Computing - OOP Munich Introduction to Serverless Computing - OOP Munich
Introduction to Serverless Computing - OOP Munich
 
IoT from Cloud to Edge & Back Again - WebSummit 2018
IoT from Cloud to Edge & Back Again - WebSummit 2018IoT from Cloud to Edge & Back Again - WebSummit 2018
IoT from Cloud to Edge & Back Again - WebSummit 2018
 
Breaking Language Barriers with AI - Web Summit 2018
Breaking Language Barriers with AI - Web Summit 2018Breaking Language Barriers with AI - Web Summit 2018
Breaking Language Barriers with AI - Web Summit 2018
 
How Websites go Serverless - WebSummit Lisbon 2018
How Websites go Serverless - WebSummit Lisbon 2018How Websites go Serverless - WebSummit Lisbon 2018
How Websites go Serverless - WebSummit Lisbon 2018
 
Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28Introduction to Serverless computing and AWS Lambda - Floor28
Introduction to Serverless computing and AWS Lambda - Floor28
 
AI Services for Developers - Floor28
AI Services for Developers - Floor28AI Services for Developers - Floor28
AI Services for Developers - Floor28
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
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...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
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
 
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, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
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 Serverless in 2020

  • 1. © 2020, Amazon Web Services, Inc. or its Affiliates. Uri Segev Principal Serverless Solutions Architect Boaz Ziniman Principal Developer Advocate What Can You Do with Serverless …in 2020 ?
  • 2. © 2020, Amazon Web Services, Inc. or its Affiliates. How does Serverless work? Storage Databases Analytics Machine Learning . . . Your unique business logic User uploads a picture Customer data updated Anomaly detected API call . . . Fully-managed services Events Functions
  • 3. © 2020, Amazon Web Services, Inc. or its Affiliates. Serverless in December 2014… and the first half of 2015 Thumbnails Generators! S3 Bucket Lambda Function S3 Bucket
  • 4. © 2020, Amazon Web Services, Inc. or its Affiliates. Serverless in the first half of 2015 Static Content Generators! S3 Bucket Lambda Function S3 Bucket
  • 5. © 2020, Amazon Web Services, Inc. or its Affiliates. Serverless in the first half of 2015 Dynamic Websites & Apps! Browser JavaScript DynamoDB Table S3 Bucket Lambda Function AWS SDK Lambda Invoke
  • 6. © 2020, Amazon Web Services, Inc. or its Affiliates. Serverless in the second half of 2015… and later on! APIs! ”Alexa!” & IoT Microservices DevOps Browser Web APIs Amazon Echo IoT Devices Services Data Streams DynamoDB Table S3 Bucket Lambda Function API Gateway Schedule
  • 7. © 2020, Amazon Web Services, Inc. or its Affiliates. Over the years, customers shared some concerns… New Paradigm Scalability Costs Latency Language Support
  • 8. © 2020, Amazon Web Services, Inc. or its Affiliates. Observability Configuration Management Function Invocations Execution Environment Service Integrations So what have we been focusing on?
  • 9. © 2020, Amazon Web Services, Inc. or its Affiliates. Latency Observability Configuration Management Function Invocations Execution Environment Service Integrations Language Support Costs Scalability New Paradigm
  • 10. © 2020, Amazon Web Services, Inc. or its Affiliates. Function Invocations
  • 11. © 2020, Amazon Web Services, Inc. or its Affiliates. Function Invocations AWS Lambda Asynchronous Invocations (Event) Max event age Max retry attempt Destinations (to Lambda, SNS, SQS, EventBridge) ⇣ More controls for async and event-driven apps Scalability New Paradigm
  • 12. © 2020, Amazon Web Services, Inc. or its Affiliates. Configuring Async Invocations
  • 13. © 2020, Amazon Web Services, Inc. or its Affiliates. AWS Lambda – Destinations for Async Invocations Amazon S3 Amazon SNS Amazon SES Amazon EventBridge Amazon CloudWatch Logs AWS Config Amazon CloudFormation AWS CodeCommit AWS Lambda Amazon SNS Amazon SQS Amazon EventBridge Lambda Function onSuccess onFailure
  • 14. © 2020, Amazon Web Services, Inc. or its Affiliates. Function Invocations Costs Scalability New Paradigm Kinesis / DynamoDB Streams Parallelization factor (no need for fan-outs) Failure-handling ⇣ Easier to scale streaming analytics and manage errors when processing a stream
  • 15. © 2020, Amazon Web Services, Inc. or its Affiliates. Kinesis / DynamoDB Streams Controls
  • 16. © 2020, Amazon Web Services, Inc. or its Affiliates. Function Invocations Latency Costs Amazon API Gateway New “HTTP APIs” ⇣ Cheaper and faster APIs Reduce costs by up to 70% Reduce latency by up to 50%
  • 17. © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon API Gateway – HTTP APIs N EW
  • 18. © 2020, Amazon Web Services, Inc. or its Affiliates. Function Invocations Costs New Paradigm Application Load Balancer (ALB) Weighted Target Groups ⇣ Fine-grained deployments with ALB, too Stickiness! Create rules depending on Host, HTTP header/method, Query string, or Source IP Simpler migrations to serverless
  • 19. © 2020, Amazon Web Services, Inc. or its Affiliates. ALB Weighted Target Groups
  • 20. © 2020, Amazon Web Services, Inc. or its Affiliates. Execution Environment Language Support Runtimes Python 3.8 Java 11 Node.js 12 .NET Core 3.1 Custom Runtimes (Rust, Swift, …) ⇣ Use your favorite programming language Easier to migrate existing apps
  • 21. © 2020, Amazon Web Services, Inc. or its Affiliates. Execution Environment Latency Scalability VPC to VPC NAT ⇣ Integrate VPC resources in serverless apps Use new services with Lambda functions (e.g. ElastiCache)
  • 22. © 2020, Amazon Web Services, Inc. or its Affiliates. Execution Environment Latency Costs Scalability AWS Lambda Provisioned Concurrency ⇣ No more “cold starts” Real-time apps and games Applications with a slow initialization Download config/data on /tmp
  • 23. © 2020, Amazon Web Services, Inc. or its Affiliates. AWS Lambda – Provisioned Concurrency We do the initialization, you are responsible for the first invocation of the handler Avoid lazy initializations Integrated with CloudWatch Application Auto Scaling and AWS CodeDeploy
  • 24. © 2020, Amazon Web Services, Inc. or its Affiliates. Execution Environment Costs Scalability New Paradigm AWS Step Functions Express Workflows ⇣ Build more modular apps Separate business process flow from implementation
  • 25. © 2020, Amazon Web Services, Inc. or its Affiliates. AWS Step Functions – Express Workflows
  • 26. © 2020, Amazon Web Services, Inc. or its Affiliates. Service Integrations Costs Scalability New Paradigm Amazon Relational Database Service (RDS) RDS Proxy ⇣ Using relational databases in serverless apps is much easier AWS Secrets Manager stores the user name and password for the database
  • 27. © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon RDS Proxy – How It Works Preview
  • 28. © 2020, Amazon Web Services, Inc. or its Affiliates. Service Integrations Costs New ParadigmAmazon EventBridge Schema Registry Rules can now be triggered by CloudWatch Alarms ⇣ Building event-driven apps with IDE integration Integrating PaaS solutions with your apps
  • 29. © 2020, Amazon Web Services, Inc. or its Affiliates.
  • 30. © 2020, Amazon Web Services, Inc. or its Affiliates. Service Integrations Scalability New Paradigm Amazon Athena Create user defined functions (UDF) using Lambda functions Run federated queries ⇣ Using SQL for analyzing… almost anything!
  • 31. © 2020, Amazon Web Services, Inc. or its Affiliates. Amazon Athena – Create your own data connector Preview
  • 32. © 2020, Amazon Web Services, Inc. or its Affiliates. New Paradigm AWS Amplify Native iOS/Android Mobile Backends Amplify DataStore ⇣ Mobile backends for native apps Persistent on-device storage to write, read, and observe changes online or offline, and seamlessly sync to the cloud as well as across devices Service Integrations
  • 33. © 2020, Amazon Web Services, Inc. or its Affiliates. Latency Scalability AWS AppSync Pure WebSockets GraphQL Info Object (New) ⇣ Real-time apps More efficient resolvers Service Integrations
  • 34. © 2020, Amazon Web Services, Inc. or its Affiliates. Configuration Management New ParadigmAWS AppConfig For EC2, containers, on-premises, Lambda, mobile apps, IoT devices Application Environment Configuration Profile ⇣ Releasing configurations changes with fine-grained controls
  • 35. © 2020, Amazon Web Services, Inc. or its Affiliates. Configuration Management for Lambda Functions Environment Variables Parameter Store AWS Secrets Manager AWS AppConfig In the function configuration For function-specific configurations Part of AWS Systems Manager Can be shared across multiple functions For secrets, can automate rotating secrets Integrated with the new RDS Proxy Part of AWS Systems Manager Full control during the roll out of configuration changes
  • 36. © 2020, Amazon Web Services, Inc. or its Affiliates. Observability Costs Scalability New Paradigm Tracing – AWS X-Ray Trace Maps – for single requests Simplified identification of service disruption – in Service Maps SNS/SQS support (added in July/August) Amazon API Gateway (since 2018) AWS AppSync (new) ⇣ More and easier observability
  • 37. © 2020, Amazon Web Services, Inc. or its Affiliates. Observability Costs Scalability New Paradigm Monitoring CloudWatch Embedded Metric Format Percentiles on CloudWatch metrics CloudWatch Synthetics CloudWatch ServiceLens CloudWatch Anomaly Detection (added in September) ⇣ More visibility into your application behavior
  • 38. © 2020, Amazon Web Services, Inc. or its Affiliates. Using CloudWatch Embedded Metric Format
  • 39. © 2020, Amazon Web Services, Inc. or its Affiliates. CloudWatch Synthetics – Monitor Application Endpoints
  • 40. © 2020, Amazon Web Services, Inc. or its Affiliates. Observability Configuration Management Function Invocations Execution Environment Service Integrations Latency Language Support Costs Scalability New Paradigm
  • 41. © 2020, Amazon Web Services, Inc. or its Affiliates. Observability Configuration Management Function Invocations Execution Environment Service Integrations Lots of concerns have been addressed…
  • 42. © 2020, Amazon Web Services, Inc. or its Affiliates. More tooling available
  • 43. © 2020, Amazon Web Services, Inc. or its Affiliates. Savings plan Simplify purchasing with a flexible pricing model applying to Amazon EC2, AWS Fargate & Lambda usage Recommendations in AWS Cost Explorer Any instance family—any region AWS Fargate and Lambda Flexibility N EW
  • 44. © 2020, Amazon Web Services, Inc. or its Affiliates. Serverless Lens in AWS Well-Architected Tool N ew
  • 46. OLD VS NEW March 2019 cost* $5,393 March 2015 cost* $83,908 *All hosting costs are paid for through corporate partnerships. 100% of public donations go to the projects we fund. Case Study
  • 47. WE COULD DO IT ALL AGAIN TOMORROW Serverless services cost $92 Case Study
  • 48. © 2020, Amazon Web Services, Inc. or its Affiliates. So, what can you do with serverless, now? ✓ Web/Mobile/IoT backends ✓ Batch/streaming analytics ✓ DevOps & IT automation ✓ Voice/text chat interfaces ✓ Real-time apps, multi-player games ✓ Complex async jobs/tasks/activities ✓ Reduce costs even more ✓ Reduce complexity ✓ And much, much more!
  • 49. © 2020, Amazon Web Services, Inc. or its Affiliates. What Can You Do with Serverless …in 2020 ?
  • 50. © 2020, Amazon Web Services, Inc. or its Affiliates. What Are You Going to Build …in 2020 ?
  • 51. © 2020, Amazon Web Services, Inc. or its Affiliates. Thank you! Uri Segev Principal Serverless Solutions Architect Boaz Ziniman Principal Developer Advocate