SlideShare ist ein Scribd-Unternehmen logo
1 von 69
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Dougal Ballantyne, Principal Product Manager, Serverless
June 13, 2017
The State of Serverless Computing
Agenda
What is
serverless?
Build and run applications
without thinking about servers
Let’s take a look at the evolution of computing
Physical servers
in data centers
Virtual servers
in data centers
Virtual servers
in the cloud
Each progressive step was better
Physical servers
data centers
Virtual servers
data centers
• Higher utilization
• Faster provisioning speed
• Improved uptime
• Disaster recovery
• Hardware independence
• Trade CAPEX for OPEX
• More scale
• Elastic resources
• Faster speed and agility
• Reduced maintenance
• Better availability and fault
tolerance
Virtual servers
in the cloud
But there are still limitations
Physical servers
data centers
Virtual servers
data centers
• Trade CAPEX for OPEX
• More scale
• Elastic resources
• Faster speed and agility
• Reduced maintenance
• Better availability and fault
tolerance
• Still need to administer
virtual servers
• Still need to manage
capacity and utilization
• Still need to size
workloads
• Still need to manage
availability, fault tolerance
• Still expensive to run
intermittent jobs
Virtual servers
in the cloud
Evolving
to serverless
SERVERLESS
Virtual servers
in the cloud
Physical servers
in data centers
Virtual servers
in data centers
No server is easier to manage than no server
All of these responsibilities
go away
Provisioning and utilization
Availability and fault tolerance
Scaling
Operations and management
Serverless is a form of event-driven computing
Event-driven computing
Function as a Service
Serverless
EVENT DRIVEN CONTINUOUS SCALING PAY BY USAGE
Deliver on demand, never pay for idle
Building blocks for serverless
AWS Lambda Amazon DynamoDB
Amazon SNS
Amazon API Gateway
Amazon SQS
Amazon Kinesis
Amazon S3
Orchestration and State Management
API Proxy Messaging and Queues Analytics
Monitoring and Debugging
Compute Storage Database
AWS X-RayAWS Step Functions
Edge Compute
AWS Greengrass
Lambda@Edge
Serverless changes how you deliver
Speeds up
time to market
Dedicated time
to innovation
Increases developer
productivity
Eliminates operational
complexity
Serverless today
Chatbots
• Powering
chatbot logic
• Alexa Skills for
Amazon Echo
Common use cases
Web
applications
• Static
websites
• Dynamic
web apps
• Packages for
Flask and
Express
Backends
• Apps &
services
• Mobile
• IoT
</></>
Media & Log
Processing
• Real-time data
• Streaming
data
Big Data
• MapReduce
• Batch
Big Data
• MapReduce
• Batch
Big data
Map Phase Reduce PhaseInputs Results
Serverless Map/Reduce with Lambda
https://github.com/awslabs/lambda-refarch-mapreduce
PyWren: a massive data framework for Lambda
• Open source MapReduce
framework using Lambda
• 25 TFLOPS performance
• 60 GB/sec read and 50
GB/sec write to S3
https://github.com/pywren/pywren
http://pywren.io/
http://ericjonas.com/
Academics agree: serverless + big data = <3
(Source: arXiv)
Now run denser workloads with Lambda
Default concurrency
=
100 concurrent functions200400
NEW
Now run denser workloads with Lambda
Default concurrency
=
600 concurrent functions600
Customers innovating with serverless
Enterprises are achieving massive scale with Lambda
• Thomson Reuters processes 4,000 requests per second
• FINRA processes half a trillion validations of stock trades daily
• Hearst reduced the time to ingest and process data for its
analytics pipeline by 97%
• Vevo can handle spikes of 80x normal traffic
• Expedia triggers 1.2 billion Lambda requests each month
Serverless is a core component of modern apps
AWS serverless platform
Capabilities of a
serverless platform
Cloud logic layer
NEW
Cloud logic layer
New Lambda runtimes
• Node.js v6.10 announced in March
• Python 3.6 now available
NEW
Cloud logic layer
Tagging for Lambda
• Add metadata to Lambda functions using tags
• Track and allocate costs per function
Cloud logic layer
Other recent features…
• Iterator age metric for Amazon Kinesis records
• View Lambda function policies from the console
NEW
Cloud logic layer
HIPAA compliance
• Amazon API Gateway is now HIPAA
compliant
NEW
Cloud logic layer
API request validation
• Amazon API Gateway supports request
validation
• Check for required request parameters in a
request’s URI, query string, and headers
• Verify adherence to the request model of
methods
• Detailed error logs stored in
Amazon CloudWatch Logs
NEW
Cloud logic layer
API Gateway + ACM
• API Gateway is now integrated with
AWS Certificate Manager
• Deploy and configure SSL/TLS certificates for
custom API Gateway domains in minutes
Responsive data sources
Lambda event sources – AWS services
Amazon API Gateway
Amazon S3
Amazon DynamoDB
Amazon Aurora
Amazon Simple Notification Service
Amazon Simple Email Service
Amazon Cognito
AWS Snowball Edge
Amazon CloudWatch
Amazon Kinesis Streams
Amazon Kinesis Firehose
AWS CodeCommit
AWS CloudFormation
AWS Config
Amazon Lex
Integrations library
Integrations library
Amazon API Gateway listings in
the AWS Marketplace
Reliability and performance
Reliability and performance
Dead Letter Queues
• Automatically capture events after
exhausting retries
• Build even more reliable event processing
applications
• Target Amazon SQS queues or
Amazon SNS topics
• Available in all regions
Application modeling framework
Monolithic
application
Microservices
But what happens
when you have an
entire app made up
of many functions?
Composing serverless applications
Meet SAM
AWS Serverless Application Model (SAM)
Standard model for
representing serverless
applications on AWS
Functions, APIs, event
sources, and data stores
Simplifies deployment and
management for serverless
applications
AWS Serverless Application Model (SAM)
• Natively supported by AWS
CloudFormation
• Export any function as a SAM
template
• Package and deploy SAM
templates using AWS CLI
• Open spec under Apache 2.0
for community extensions
NEW
AWS Serverless Application Model (SAM)
New features
• Support for inline Swagger
• Intrinsic functions
CI/CD for serverless applications
</>
AWS CodePipeline + SAM
GitHub
Amazon S3
AWS CodeCommit
AWS CodeBuild AWS CodeBuild
Third-party tools
AWS CloudFormation
Commit Build Test
Deploy
to Prod
Developer ecosystem — AWS
How do you debug distributed applications
made of multiple functions or services?
How do you gain insights into how your
functions are performing or behaving?
AWS X-Ray
• Analyze and debug distributed
apps in production
• Visualize service call graph of
your app
• Identify performance
bottlenecks and errors
• Pinpoint service-specific issues
• Identify impact of issues on
users of the app
• Trace function executions
(coming soon)
How X-Ray works
Trace requests Record traces View service map Analyze issues
X-Ray example
X-Ray example
X-Ray example
X-Ray example
X-Ray example
X-Ray example
X-Ray example
Developer tools
Write
code
Deploy to
customer
Build
and test
Receive
feedback
Developer ecosystem — commercial
MonitoringDeployment Service Delivery
Program
IntegrationsCode Libraries
Developer ecosystem — open source
Chalice
Framework
Serverless Java
Container
Orchestration and state management
NEW
AWS Step Functions update
New features
Integration with API Gateway
Error-handling for Lambda functions
Send CloudWatch Events to Step Functions
AWS Greengrass
• Extends Lambda functions to devices
• Low latency, near-real time
AWS Snowball Edge
• Petabyte-scale hybrid device with
onboard compute and storage
• Deploy AWS Lambda code to
Snowball Edge
NEW
Global scale
Lambda available in
most major regions in
the AWS global
infrastructure
Now available in
London and Mumbai
regions!
Lambda@Edge (in preview)
Lambda@Edge is available
in all Amazon CloudFront
edge locations
• Low-latency
request/response
customization
• Supports viewer and
origin events
CloudFront triggers for Lambda@Edge
functions
Origin
server
End user CloudFront
cache
Viewer response Origin response
Viewer request Origin request
Lambda@Edge use cases
Content
customization
Visitor
validation
A/B testing
Serverless is a
fundamental
component of
modern
applications
Conclusion
Lambda is a fundamental
component of modern
application architectures
It has a place in everything
from data processing to
simple web apps
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Modern Data Architectures for Business Insights at Scale
Modern Data Architectures for Business Insights at ScaleModern Data Architectures for Business Insights at Scale
Modern Data Architectures for Business Insights at Scale
 
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
WKS407 Wild Rydes Takes Off – The Dawn of a New Unicorn
 
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven | AWS Public Se...
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven | AWS Public Se...Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven | AWS Public Se...
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven | AWS Public Se...
 
Build a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million UsersBuild a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million Users
 
ENT302 Deep Dive on AWS Management Tools and New Launches
ENT302 Deep Dive on AWS Management Tools and New LaunchesENT302 Deep Dive on AWS Management Tools and New Launches
ENT302 Deep Dive on AWS Management Tools and New Launches
 
AWS re:Invent 2016: Store and collaborate on content securely with Amazon Wor...
AWS re:Invent 2016: Store and collaborate on content securely with Amazon Wor...AWS re:Invent 2016: Store and collaborate on content securely with Amazon Wor...
AWS re:Invent 2016: Store and collaborate on content securely with Amazon Wor...
 
Build a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million UsersBuild a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million Users
 
Hong Kong AWS Summit 2017 - Keynote
Hong Kong AWS Summit 2017 - KeynoteHong Kong AWS Summit 2017 - Keynote
Hong Kong AWS Summit 2017 - Keynote
 
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...
AWS re:Invent 2016: Evolving an Enterprise-Level Compliance Framework with Am...
 
AWS Compute Overview: Servers, Containers, Serverless, and Batch | AWS Public...
AWS Compute Overview: Servers, Containers, Serverless, and Batch | AWS Public...AWS Compute Overview: Servers, Containers, Serverless, and Batch | AWS Public...
AWS Compute Overview: Servers, Containers, Serverless, and Batch | AWS Public...
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web ServicesIntroduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services
 
Ponencia Principal - AWS Summit - Madrid
Ponencia Principal - AWS Summit - MadridPonencia Principal - AWS Summit - Madrid
Ponencia Principal - AWS Summit - Madrid
 
SEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) ScaleSEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) Scale
 
Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million Users
 
Introduction to AWS X-Ray
Introduction to AWS X-RayIntroduction to AWS X-Ray
Introduction to AWS X-Ray
 
Convert and Migrate Your NoSQL Database or Data Warehouse to AWS - May 2017 A...
Convert and Migrate Your NoSQL Database or Data Warehouse to AWS - May 2017 A...Convert and Migrate Your NoSQL Database or Data Warehouse to AWS - May 2017 A...
Convert and Migrate Your NoSQL Database or Data Warehouse to AWS - May 2017 A...
 
Casi reali di Mass Migration nel Cloud: benefici tangibili ed intangibili
Casi reali di Mass Migration nel Cloud: benefici tangibili ed intangibiliCasi reali di Mass Migration nel Cloud: benefici tangibili ed intangibili
Casi reali di Mass Migration nel Cloud: benefici tangibili ed intangibili
 
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
 
Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm
 
SRV422 Deep Dive on AWS Database Migration Service
SRV422 Deep Dive on AWS Database Migration ServiceSRV422 Deep Dive on AWS Database Migration Service
SRV422 Deep Dive on AWS Database Migration Service
 

Ähnlich wie The State of Serverless Computing | AWS Public Sector Summit 2017

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
 

Ähnlich wie The State of Serverless Computing | AWS Public Sector Summit 2017 (20)

SMC301 The State of Serverless Computing
SMC301 The State of Serverless ComputingSMC301 The State of Serverless Computing
SMC301 The State of Serverless Computing
 
AWS re:Invent 2016: The State of Serverless Computing (SVR311)
AWS re:Invent 2016: The State of Serverless Computing (SVR311)AWS re:Invent 2016: The State of Serverless Computing (SVR311)
AWS re:Invent 2016: The State of Serverless Computing (SVR311)
 
Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
 Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T... Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
Getting Started with AWS Lambda and the Serverless Cloud - AWS Summit Cape T...
 
Stephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
Stephen Liedig: Building Serverless Backends with AWS Lambda and API GatewayStephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
Stephen Liedig: Building Serverless Backends with AWS Lambda and API Gateway
 
Building serverless backends - Tech talk 5 May 2017
Building serverless backends - Tech talk 5 May 2017Building serverless backends - Tech talk 5 May 2017
Building serverless backends - Tech talk 5 May 2017
 
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
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
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
 
Accelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAccelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform Services
 
Raleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshopRaleigh DevDay 2017: Build a serverless web application in one day workshop
Raleigh DevDay 2017: Build a serverless web application in one day workshop
 
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
Building a Real Time Dashboard with Amazon Kinesis, Amazon Lambda and Amazon ...
 
Building scalable OTT workflows on AWS - Serverless Video Workflows
Building scalable OTT workflows on AWS - Serverless Video WorkflowsBuilding scalable OTT workflows on AWS - Serverless Video Workflows
Building scalable OTT workflows on AWS - Serverless Video Workflows
 
SRV203 Getting Started with AWS Lambda and the Serverless Cloud
SRV203 Getting Started with AWS Lambda and the Serverless CloudSRV203 Getting Started with AWS Lambda and the Serverless Cloud
SRV203 Getting Started with AWS Lambda and the Serverless Cloud
 
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
 
Primeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessPrimeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverless
 
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
 
Getting Started with AWS Lambda and the Serverless Cloud by Jim Tran, Princip...
Getting Started with AWS Lambda and the Serverless Cloud by Jim Tran, Princip...Getting Started with AWS Lambda and the Serverless Cloud by Jim Tran, Princip...
Getting Started with AWS Lambda and the Serverless Cloud by Jim Tran, Princip...
 
2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS
 
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
 
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
 

Mehr von Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mehr von Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
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
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

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, ...
 
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
 
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...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
"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 ...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 

The State of Serverless Computing | AWS Public Sector Summit 2017

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Dougal Ballantyne, Principal Product Manager, Serverless June 13, 2017 The State of Serverless Computing
  • 3. What is serverless? Build and run applications without thinking about servers
  • 4. Let’s take a look at the evolution of computing Physical servers in data centers Virtual servers in data centers Virtual servers in the cloud
  • 5. Each progressive step was better Physical servers data centers Virtual servers data centers • Higher utilization • Faster provisioning speed • Improved uptime • Disaster recovery • Hardware independence • Trade CAPEX for OPEX • More scale • Elastic resources • Faster speed and agility • Reduced maintenance • Better availability and fault tolerance Virtual servers in the cloud
  • 6. But there are still limitations Physical servers data centers Virtual servers data centers • Trade CAPEX for OPEX • More scale • Elastic resources • Faster speed and agility • Reduced maintenance • Better availability and fault tolerance • Still need to administer virtual servers • Still need to manage capacity and utilization • Still need to size workloads • Still need to manage availability, fault tolerance • Still expensive to run intermittent jobs Virtual servers in the cloud
  • 7. Evolving to serverless SERVERLESS Virtual servers in the cloud Physical servers in data centers Virtual servers in data centers
  • 8. No server is easier to manage than no server All of these responsibilities go away Provisioning and utilization Availability and fault tolerance Scaling Operations and management
  • 9. Serverless is a form of event-driven computing Event-driven computing Function as a Service Serverless
  • 10. EVENT DRIVEN CONTINUOUS SCALING PAY BY USAGE Deliver on demand, never pay for idle
  • 11. Building blocks for serverless AWS Lambda Amazon DynamoDB Amazon SNS Amazon API Gateway Amazon SQS Amazon Kinesis Amazon S3 Orchestration and State Management API Proxy Messaging and Queues Analytics Monitoring and Debugging Compute Storage Database AWS X-RayAWS Step Functions Edge Compute AWS Greengrass Lambda@Edge
  • 12. Serverless changes how you deliver Speeds up time to market Dedicated time to innovation Increases developer productivity Eliminates operational complexity
  • 14. Chatbots • Powering chatbot logic • Alexa Skills for Amazon Echo Common use cases Web applications • Static websites • Dynamic web apps • Packages for Flask and Express Backends • Apps & services • Mobile • IoT </></> Media & Log Processing • Real-time data • Streaming data Big Data • MapReduce • Batch
  • 15. Big Data • MapReduce • Batch Big data Map Phase Reduce PhaseInputs Results
  • 16. Serverless Map/Reduce with Lambda https://github.com/awslabs/lambda-refarch-mapreduce
  • 17. PyWren: a massive data framework for Lambda • Open source MapReduce framework using Lambda • 25 TFLOPS performance • 60 GB/sec read and 50 GB/sec write to S3 https://github.com/pywren/pywren http://pywren.io/ http://ericjonas.com/
  • 18. Academics agree: serverless + big data = <3 (Source: arXiv)
  • 19. Now run denser workloads with Lambda Default concurrency = 100 concurrent functions200400
  • 20. NEW Now run denser workloads with Lambda Default concurrency = 600 concurrent functions600
  • 22. Enterprises are achieving massive scale with Lambda • Thomson Reuters processes 4,000 requests per second • FINRA processes half a trillion validations of stock trades daily • Hearst reduced the time to ingest and process data for its analytics pipeline by 97% • Vevo can handle spikes of 80x normal traffic • Expedia triggers 1.2 billion Lambda requests each month
  • 23. Serverless is a core component of modern apps
  • 27. NEW Cloud logic layer New Lambda runtimes • Node.js v6.10 announced in March • Python 3.6 now available
  • 28. NEW Cloud logic layer Tagging for Lambda • Add metadata to Lambda functions using tags • Track and allocate costs per function
  • 29. Cloud logic layer Other recent features… • Iterator age metric for Amazon Kinesis records • View Lambda function policies from the console
  • 30. NEW Cloud logic layer HIPAA compliance • Amazon API Gateway is now HIPAA compliant
  • 31. NEW Cloud logic layer API request validation • Amazon API Gateway supports request validation • Check for required request parameters in a request’s URI, query string, and headers • Verify adherence to the request model of methods • Detailed error logs stored in Amazon CloudWatch Logs
  • 32. NEW Cloud logic layer API Gateway + ACM • API Gateway is now integrated with AWS Certificate Manager • Deploy and configure SSL/TLS certificates for custom API Gateway domains in minutes
  • 34. Lambda event sources – AWS services Amazon API Gateway Amazon S3 Amazon DynamoDB Amazon Aurora Amazon Simple Notification Service Amazon Simple Email Service Amazon Cognito AWS Snowball Edge Amazon CloudWatch Amazon Kinesis Streams Amazon Kinesis Firehose AWS CodeCommit AWS CloudFormation AWS Config Amazon Lex
  • 36. Integrations library Amazon API Gateway listings in the AWS Marketplace
  • 38. Reliability and performance Dead Letter Queues • Automatically capture events after exhausting retries • Build even more reliable event processing applications • Target Amazon SQS queues or Amazon SNS topics • Available in all regions
  • 40. But what happens when you have an entire app made up of many functions? Composing serverless applications
  • 42. AWS Serverless Application Model (SAM) Standard model for representing serverless applications on AWS Functions, APIs, event sources, and data stores Simplifies deployment and management for serverless applications
  • 43. AWS Serverless Application Model (SAM) • Natively supported by AWS CloudFormation • Export any function as a SAM template • Package and deploy SAM templates using AWS CLI • Open spec under Apache 2.0 for community extensions
  • 44. NEW AWS Serverless Application Model (SAM) New features • Support for inline Swagger • Intrinsic functions
  • 45. CI/CD for serverless applications </> AWS CodePipeline + SAM GitHub Amazon S3 AWS CodeCommit AWS CodeBuild AWS CodeBuild Third-party tools AWS CloudFormation Commit Build Test Deploy to Prod
  • 46. Developer ecosystem — AWS How do you debug distributed applications made of multiple functions or services? How do you gain insights into how your functions are performing or behaving?
  • 47. AWS X-Ray • Analyze and debug distributed apps in production • Visualize service call graph of your app • Identify performance bottlenecks and errors • Pinpoint service-specific issues • Identify impact of issues on users of the app • Trace function executions (coming soon)
  • 48. How X-Ray works Trace requests Record traces View service map Analyze issues
  • 57. Developer ecosystem — commercial MonitoringDeployment Service Delivery Program IntegrationsCode Libraries
  • 58. Developer ecosystem — open source Chalice Framework Serverless Java Container
  • 60. NEW AWS Step Functions update New features Integration with API Gateway Error-handling for Lambda functions Send CloudWatch Events to Step Functions
  • 61. AWS Greengrass • Extends Lambda functions to devices • Low latency, near-real time
  • 62. AWS Snowball Edge • Petabyte-scale hybrid device with onboard compute and storage • Deploy AWS Lambda code to Snowball Edge
  • 63. NEW Global scale Lambda available in most major regions in the AWS global infrastructure Now available in London and Mumbai regions!
  • 64. Lambda@Edge (in preview) Lambda@Edge is available in all Amazon CloudFront edge locations • Low-latency request/response customization • Supports viewer and origin events
  • 65. CloudFront triggers for Lambda@Edge functions Origin server End user CloudFront cache Viewer response Origin response Viewer request Origin request
  • 67. Serverless is a fundamental component of modern applications
  • 68. Conclusion Lambda is a fundamental component of modern application architectures It has a place in everything from data processing to simple web apps