SlideShare a Scribd company logo
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
@steven_bryen
sbryen@amazon.com
Introduction to Serverless
Steven Bryen, Senior Technical Evangelist
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
What is Serverless?
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
It Started with AWS Lambda
Serverless Computing
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Events
Services (anything)
Lambda functions
Event driven
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Event-driven platform
S3 event
notifications
DynamoDB
Streams
Kinesis
events
Cognito
events
SNS
events
Custom
events
CloudTrail
events
Lam bdaDynam oDB
Kinesis S3
Any custom
Invoked in response to events
- Changes in data
- Changes in state
Redshift
SNS
Access any service,
including your own
Such as…
CloudWatch
events
Lambda functions
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Function – first class citizen
def handler(event, context):
return {
"message": ”Hello World!",
"event": event
}
• Focus on solving business problems
• Reusable components
• Easier to isolate failure
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Anatomy of a Lambda function
Handler() function
Function to be executed
upon invocation
Event object
Data sent during
Lambda Function
Invocation
Context object
Methods available to
interact with runtime
information (request ID,
log group, etc.)
def handler(event, context):
return {
"message": ”Hello World!",
"event": event
}
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Lambda execution model
Synchronous (push) Asynchronous (event) Stream-based
Amazon
API Gateway
AWSLambda
function
Amazon
DynamoDB
Amazon
SNS
/api/hello
AWSLambda
function
Amazon
S3
reqs
Amazon
Kinesis
changes
AWSLambda
service
function
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
You can achieve massive scales with Lambda
processes 4,000 requests
per second
processes half a trillion
validations of stock
trades daily
reduced the time to
ingest and process data
for its analytics pipeline
by 97%
can handle spikes
of 80x normal traffic
triggers 1.2 billion
Lambda requests
each month
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Serverless is more than just functions.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Serverless
Scalability without server management.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Run less software.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Why Serverless?
No servers to manage
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Why Serverless?
Availability and Fault Tolerance Built In
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AZ1 AZ2 AZ3
Serverless Services
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Why Serverless?
Scale with usage
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Serverless distributed computing: PyWren
PyWren prototype developed at University of California, Berkeley
Uses Python with AWS Lambda stateless functions for large-scale data
analytics
Achieved @ 30-40 MB/s write and read performance per core to Amazon S3
object store
Scaled to 60-80 GB/s across 2,800 simultaneous functions
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Why Serverless?
Pay-per request
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
• Buy compute time in
100 ms increments
• No hourly, daily, or
monthly minimums
• No per-device fees
Free Tier
1 million requests and 400,000 GBs of compute
every month, every customer
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Bustle.com
Bustle.com is a news, entertainment, lifestyle, and
fashion website:
• 52 million monthly users
• 100 million events daily
• 84% cost savings
• 0 servers
• 0 operating system patches
• Automatic scaling
https://aws.amazon.com/solutions/case-studies/bustle/
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
©2017, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Why Lambda?
>95% decrease in overall deployment and operational costs
Scales up or down for variation in customer request volume
Migrating tasks to Lambda took only a few weeks
95% Reduction in Computation Cost
AWS Lambda enables the FICO Decision Management Suite (DMS)
to perform computations on machine learning models quickly, cheaply,
and efficiently
AWS Lambda
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Common Lambda use cases
Web
Applications
• Static
websites
• Complex web
apps
• Packages for
Flask and
Express
Data
Processing
• Real time
• MapReduce
• Batch
Chatbots
• Powering
chatbot logic
Backends
• Apps &
services
• Mobile
• IoT
</></>
Amazon
Alexa
• Powering
voice-enabled
apps
• Alexa Skills
Kit
IT
Automation
• Policy engines
• Extending
AWS services
• Infrastructure
management
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Let’s talk about Serverless for…
• Apps & Services
• Data Streams & Analytics
• Development & Deployment
• Automation
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Serverless for…
• Apps & Services
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
3-Tier web application
Data stored in
Amazon
DynamoDB
Dynamic content
in AWS Lambda
Amazon API
Gateway
Browser
Amazon
CloudFront
Amazon
S3
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Amazon API
Gateway AWS
Lambda
Amazon
DynamoDB
Amazon
S3
Amazon
CloudFront
• Bucket Policies
• ACLs
• OAI
• Geo-Restriction
• Signed Cookies
• Signed URLs
• DDOS
AuthZ
Serverless web app security
• Throttling
• Caching
• Usage Plans
Static Content
Browser
Amazon
CloudFront
• HTTPS
• Disable Host
Header Forwarding
AWSWAF
IAM
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Amazon API
Gateway
AWS
Lambda
Amazon
DynamoDB
Amazon
S3
Amazon
CloudFront
• Access Logs in S3
Bucket• Access Logs in S3 Bucket
• CloudWatch Metrics-
https://aws.amazon.com/cl
oudfront/reporting/
Serverless web app monitoring
AWS WAF
• WebACL Testing
• Total Requests
• Allowed/Blocked
Requests by ACL
logslogs
• Invocations
• Invocation Errors
• Duration
• Throttled
Invocations
• Latency
• Throughput
• Throttled Reqs
• Returned Bytes
• Latency
• Count
• Cache Hit/Miss
• 4XX/5XX Errors
Streams
AWS
CloudTrail
Static Content
Browser
Custom CloudWatch
Metrics & Alarms
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AWS Step Functions:
Orchestrate a Serverless processing
workflow using AWS Lambda
https://github.com/awslabs/lambda-refarch-imagerecognition
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AWS SAM Demo
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Serverless for…
✅ Apps & Services
• Data Streams & Analytics
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Amazon Kinesis makes it easy to work with real-
time streaming data
Amazon Kinesis
Streams
• For Technical Developers
• Collect and stream data
for ordered, replay-able,
real-time processing
Amazon Kinesis
Firehose
• For all developers, data
scientists
• Easily load massive
volumes of streaming data
into Amazon S3, Redshift,
ElasticSearch
Amazon Kinesis
Analytics
• For all developers, data
scientists
• Easily analyze data
streams using standard
SQL queries
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
“Amazon Kinesis does a lot of the
heavy lifting, and lets Supercell
focus on delivering games that
delight players worldwide.”
Sami Yliharju
Services Lead, Supercell Games
https://aws.amazon.com/solutions/case-studies/supercell/
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Real-time analytics for mobile web app
Amazon
Kinesis
Stream
Amazon
Kinesis
Analytics
Amazon
Cognito
Amazon
Kinesis
Stream
Amazon
DynamoDB
Amazon
Lambda
AmazonS3
JavaScript SDK
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AWS Lambda:
Splitter
Amazon S3
Object
Amazon DynamoDB:
Mapper Results
AWS Lambda:
Mappers
….
….
AWS Lambda:
Reducer
Amazon S3
Results
Serverless batch processing
Lambda MapReduce https://github.com/awslabs/lambda-refarch-mapreduce
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Serverless for…
✅ Apps & Services
✅ Data Streams & Analytics
• Development & Deployment
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Typical development steps
• Integration testing
• Load testing
• UI tests
• Security testing
• Commit
• Code review
• Compile code
• Unit tests
• Style / linting
• Container image
• Deploy to
production
environment
Source Build Test Production
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
DevOps – What is it?
Faster development → More experimentation & innovation → Customer happiness
developers customers
releasetestbuild
plan monitor
Distribution pipeline
Feedback mechanism
Automation for agile software development cycles
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
OK! Sounds good. What do I use?
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AWS CodeStar
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Serverless for…
✅ Apps & Services
✅ Data Streams & Analytics
✅ Development & Deployment
• Automation
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Automation characteristics
• Respond to alarms or events
• Periodic jobs
• Auditing and Notification
• Extend AWS functionality
• Highly Available and scalable
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AWS Lambda:
Update Route53
Amazon CloudWatch Events:
Rule Triggered
Amazon EC2 Instance
State Changes
Amazon DynamoDB:
EC2 Instance Properties
Amazon Route53:
Private Hosted Zone
Tag:
CNAME = ‘xyz.example.com’
xyz.example.com A 10.2.0.134
Automation: dynamic DNS for EC2 instances
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AWS Lambda:
Resize Images
Users upload photos
S3:
Source Bucket
S3:
Destination Bucket
Triggered on
PUTs
Automation: image thumbnail creation from S3
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Serverless for…
✅ Apps & Services
✅ Data Streams & Analytics
✅ Development & Deployment
✅ Automation
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
What about GraphQL?
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
GraphQL
Open, declarative data-fetching specification
!= Graph database
Use NoSQL, Relational, HTTP, etc.
Traditional data-fetching GraphQL
/posts
/postInfo
/postJustTitle
/postsByAuthor
/postNameStartsWithX
/commentsOnPost
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
How does GraphQL work?
{
"id": "1",
"name": "Get Milk",
“priority": "1"
},
{
"id": “2",
"name": “Go to gym",
“priority": “5"
},…
type Query {
getTodos: [Todo]
}
type Todo {
id: ID!
name: String
description: String
priority: Int
duedate: String
}
query {
getTodos {
id
name
priority
}
}
Model data with
application schema
Client requests what it
needs
Only that data is
returned
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
GraphQL
Schema
type Event {
id: ID!
name: String
where: String
when: String
description: String
comments: [Comment]
}
type Comment {
commentId: String!
eventId: ID!
content: String!
createdAt: String!
}
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
GraphQL
Schema
Mutation
type Mutation {
createEvent(
name: String!,
when: String!,
where: String!,
description: String!
): Event
deleteEvent(id: ID!): Event
commentOnEvent(
eventId: ID!,
content: String!,
createdAt: String!
): Comment
}
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
GraphQL
Schema
Mutation
Query
type Query {
getEvent(id: ID!): Event
listEvents(
limit: Int,
nextToken: String
): EventConnection
}
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
GraphQL
Schema
Mutation
Query
Subscription
type Subscription {
subscribeToEventComments(eventId: String!): Comment
@aws_subscribe(mutations: ["commentOnEvent"])
}
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
GraphQL
Schema
Mutation
Query
Subscription
Realtime? YES
Batching? YES
Pagination? YES
Relations? YES
Aggregations? YES
Search? YES
Offline? YES
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AWS AppSync
DynamoDB
Table
Lambda
Function Elasticsearch
Service
GraphQL
Schema
Upload
Schema
GraphQL
Query
Mutation
Subscription
Real-time
Offline
AppSync
API
Cognito
User Pool
Legacy
Application
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
No servers to provision
or manage
Scales with usage
Never pay for idle Availability and fault
tolerance built in
Serverless means…
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
AW S
Lam bda
Am azon
S3
Am azon
Dynam oDB
AW S
CodeDeploy
AW S
CodePipeline
AW S
CodeStar
Am azon
Kinesis
Am azon
Athena
Am azon
Lex
Am azon
Polly
Am azon
Rekognition
Am azon
Pinpoint
Am azon
Cognito
AW S Step
Functions
Am azon
SQ S
Am azon
SNS
Am azon
SES
Am azon
Aurora
Serverless
Functions
DevOps
Queues & Notifications
Storage
Identity & App Analytics
AI Application Services Streams & Data Analytics
All of this is
“serverless.”
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
An expanding Serverless ecosystem
Build and CI/CD
Logging and MonitoringApplications and Deployment
ChaliceFramework Serverless JavaContainer
©2017, AmazonWebServices, Inc. or itsAffiliates.All rightsreserved.
©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
Thank you!
Steven Bryen, Senior Technical Evangelist
@steven_bryen
sbryen@amazon.com

More Related Content

What's hot

How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
Amazon Web Services
 
ENT307 Move your Desktops and Apps to AWS with Amazon WorkSpaces and AppStre...
 ENT307 Move your Desktops and Apps to AWS with Amazon WorkSpaces and AppStre... ENT307 Move your Desktops and Apps to AWS with Amazon WorkSpaces and AppStre...
ENT307 Move your Desktops and Apps to AWS with Amazon WorkSpaces and AppStre...
Amazon Web Services
 
BDA310 Transcribe and Translate
BDA310 Transcribe and TranslateBDA310 Transcribe and Translate
BDA310 Transcribe and Translate
Amazon Web Services
 
How AQR Capital Uses AWS to Research New Investment Signals
How AQR Capital Uses AWS to Research New Investment Signals How AQR Capital Uses AWS to Research New Investment Signals
How AQR Capital Uses AWS to Research New Investment Signals
Amazon Web Services
 
Amazon CI-CD Practices for Software Development Teams
Amazon CI-CD Practices for Software Development Teams Amazon CI-CD Practices for Software Development Teams
Amazon CI-CD Practices for Software Development Teams
Amazon Web Services
 
AWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day Israel
Amazon Web Services
 
DEM04 Fearless: From Monolith to Serverless with Dynatrace
DEM04 Fearless: From Monolith to Serverless with DynatraceDEM04 Fearless: From Monolith to Serverless with Dynatrace
DEM04 Fearless: From Monolith to Serverless with Dynatrace
Amazon Web Services
 
Product Development in the Cloud
Product Development in the Cloud Product Development in the Cloud
Product Development in the Cloud
Amazon Web Services
 
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Amazon Web Services
 
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
Amazon Web Services
 
Build Enterprise-Grade Serverless Apps
Build Enterprise-Grade Serverless Apps Build Enterprise-Grade Serverless Apps
Build Enterprise-Grade Serverless Apps
Amazon Web Services
 
BDA303 Amazon Rekognition: Deep Learning-Based Image and Video Analysis
BDA303 Amazon Rekognition: Deep Learning-Based Image and Video AnalysisBDA303 Amazon Rekognition: Deep Learning-Based Image and Video Analysis
BDA303 Amazon Rekognition: Deep Learning-Based Image and Video Analysis
Amazon Web Services
 
Multi-Account Strategy and Security with Centrica Hive
Multi-Account Strategy and Security with Centrica HiveMulti-Account Strategy and Security with Centrica Hive
Multi-Account Strategy and Security with Centrica Hive
Amazon Web Services
 
Building Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQLBuilding Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQL
Amazon Web Services
 
ENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud Transformation
Amazon Web Services
 
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Amazon Web Services
 
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Amazon Web Services
 
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Amazon Web Services
 
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Amazon Web Services
 
SID301 Threat Detection and Mitigation
 SID301 Threat Detection and Mitigation SID301 Threat Detection and Mitigation
SID301 Threat Detection and Mitigation
Amazon Web Services
 

What's hot (20)

How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
How Rovio Uses Amazon CloudFront for Secure API Acceleration (CTD315) - AWS r...
 
ENT307 Move your Desktops and Apps to AWS with Amazon WorkSpaces and AppStre...
 ENT307 Move your Desktops and Apps to AWS with Amazon WorkSpaces and AppStre... ENT307 Move your Desktops and Apps to AWS with Amazon WorkSpaces and AppStre...
ENT307 Move your Desktops and Apps to AWS with Amazon WorkSpaces and AppStre...
 
BDA310 Transcribe and Translate
BDA310 Transcribe and TranslateBDA310 Transcribe and Translate
BDA310 Transcribe and Translate
 
How AQR Capital Uses AWS to Research New Investment Signals
How AQR Capital Uses AWS to Research New Investment Signals How AQR Capital Uses AWS to Research New Investment Signals
How AQR Capital Uses AWS to Research New Investment Signals
 
Amazon CI-CD Practices for Software Development Teams
Amazon CI-CD Practices for Software Development Teams Amazon CI-CD Practices for Software Development Teams
Amazon CI-CD Practices for Software Development Teams
 
AWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day IsraelAWS Lambda use cases and best practices - Builders Day Israel
AWS Lambda use cases and best practices - Builders Day Israel
 
DEM04 Fearless: From Monolith to Serverless with Dynatrace
DEM04 Fearless: From Monolith to Serverless with DynatraceDEM04 Fearless: From Monolith to Serverless with Dynatrace
DEM04 Fearless: From Monolith to Serverless with Dynatrace
 
Product Development in the Cloud
Product Development in the Cloud Product Development in the Cloud
Product Development in the Cloud
 
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
Serverless Stream Processing Tips & Tricks (ANT358) - AWS re:Invent 2018
 
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
AWS and Symantec: Cyber Defense at Scale (SEC311-S) - AWS re:Invent 2018
 
Build Enterprise-Grade Serverless Apps
Build Enterprise-Grade Serverless Apps Build Enterprise-Grade Serverless Apps
Build Enterprise-Grade Serverless Apps
 
BDA303 Amazon Rekognition: Deep Learning-Based Image and Video Analysis
BDA303 Amazon Rekognition: Deep Learning-Based Image and Video AnalysisBDA303 Amazon Rekognition: Deep Learning-Based Image and Video Analysis
BDA303 Amazon Rekognition: Deep Learning-Based Image and Video Analysis
 
Multi-Account Strategy and Security with Centrica Hive
Multi-Account Strategy and Security with Centrica HiveMulti-Account Strategy and Security with Centrica Hive
Multi-Account Strategy and Security with Centrica Hive
 
Building Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQLBuilding Real-time Serverless Backends with GraphQL
Building Real-time Serverless Backends with GraphQL
 
ENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud TransformationENT205 Preparing Your Team for a Cloud Transformation
ENT205 Preparing Your Team for a Cloud Transformation
 
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
Build a Game for Echo Buttons - an Alexa Gadget! (ALX405-R2) - AWS re:Invent ...
 
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
Reactive Microservices with AWS Lambda (SRV201-R1) - AWS re:Invent 2018
 
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
Digital Transformation Through APIs (SRV323) - AWS re:Invent 2018
 
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
Best Practices for Centrally Monitoring Resource Configuration & Compliance (...
 
SID301 Threat Detection and Mitigation
 SID301 Threat Detection and Mitigation SID301 Threat Detection and Mitigation
SID301 Threat Detection and Mitigation
 

Similar to Introduction to Serverless

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
Boaz Ziniman
 
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Amazon Web Services
 
Forza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni ServerlessForza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni Serverless
Amazon Web Services
 
Coordinating Microservices with AWS Step Functions.pdf
Coordinating Microservices with AWS Step Functions.pdfCoordinating Microservices with AWS Step Functions.pdf
Coordinating Microservices with AWS Step Functions.pdf
Amazon Web Services
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
Amazon Web Services
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
Vladimir Simek
 
Introduction to Serverless on AWS - Builders Day Jerusalem
Introduction to Serverless on AWS - Builders Day JerusalemIntroduction to Serverless on AWS - Builders Day Jerusalem
Introduction to Serverless on AWS - Builders Day Jerusalem
Amazon Web Services
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
Amazon Web Services
 
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Amazon Web Services
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
Amazon Web Services
 
How can your business benefit from going serverless?
How can your business benefit from going serverless?How can your business benefit from going serverless?
How can your business benefit from going serverless?
Adrian Hornsby
 
Introduction to Serverless on AWS
Introduction to Serverless on AWSIntroduction to Serverless on AWS
Introduction to Serverless on AWS
Amazon Web Services
 
How can your business benefit from going Serverless
How can your business benefit from going ServerlessHow can your business benefit from going Serverless
How can your business benefit from going Serverless
Amazon Web Services
 
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
Amazon Web Services
 
Serverless Architectural Patterns - ServerlessDays TLV
Serverless Architectural Patterns - ServerlessDays TLVServerless Architectural Patterns - ServerlessDays TLV
Serverless Architectural Patterns - ServerlessDays TLV
Boaz Ziniman
 
Accelerate Business Innovation Using AWS Serverless Technologies - AWS Summit...
Accelerate Business Innovation Using AWS Serverless Technologies - AWS Summit...Accelerate Business Innovation Using AWS Serverless Technologies - AWS Summit...
Accelerate Business Innovation Using AWS Serverless Technologies - AWS Summit...
Amazon Web Services
 
Accelerate Business Innovation Using AWS Serverless Technologies
Accelerate Business Innovation Using AWS Serverless TechnologiesAccelerate Business Innovation Using AWS Serverless Technologies
Accelerate Business Innovation Using AWS Serverless Technologies
Amazon Web Services
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Amazon Web Services
 
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Amazon Web Services
 
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
Boaz Ziniman
 

Similar to Introduction to Serverless (20)

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
 
Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28Introduction to Serverless computing and AWS Lambda | AWS Floor28
Introduction to Serverless computing and AWS Lambda | AWS Floor28
 
Forza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni ServerlessForza Computazionale e Applicazioni Serverless
Forza Computazionale e Applicazioni Serverless
 
Coordinating Microservices with AWS Step Functions.pdf
Coordinating Microservices with AWS Step Functions.pdfCoordinating Microservices with AWS Step Functions.pdf
Coordinating Microservices with AWS Step Functions.pdf
 
Getting Started with Serverless Architectures
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
 
Serverless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best PracticesServerless on AWS: Architectural Patterns and Best Practices
Serverless on AWS: Architectural Patterns and Best Practices
 
Introduction to Serverless on AWS - Builders Day Jerusalem
Introduction to Serverless on AWS - Builders Day JerusalemIntroduction to Serverless on AWS - Builders Day Jerusalem
Introduction to Serverless on AWS - Builders Day Jerusalem
 
Serverless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best PracticesServerless Architectural Patterns and Best Practices
Serverless Architectural Patterns and Best Practices
 
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
Getting Started with Serverless Architectures with Microservices_AWSPSSummit_...
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
How can your business benefit from going serverless?
How can your business benefit from going serverless?How can your business benefit from going serverless?
How can your business benefit from going serverless?
 
Introduction to Serverless on AWS
Introduction to Serverless on AWSIntroduction to Serverless on AWS
Introduction to Serverless on AWS
 
How can your business benefit from going Serverless
How can your business benefit from going ServerlessHow can your business benefit from going Serverless
How can your business benefit from going Serverless
 
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
 
Serverless Architectural Patterns - ServerlessDays TLV
Serverless Architectural Patterns - ServerlessDays TLVServerless Architectural Patterns - ServerlessDays TLV
Serverless Architectural Patterns - ServerlessDays TLV
 
Accelerate Business Innovation Using AWS Serverless Technologies - AWS Summit...
Accelerate Business Innovation Using AWS Serverless Technologies - AWS Summit...Accelerate Business Innovation Using AWS Serverless Technologies - AWS Summit...
Accelerate Business Innovation Using AWS Serverless Technologies - AWS Summit...
 
Accelerate Business Innovation Using AWS Serverless Technologies
Accelerate Business Innovation Using AWS Serverless TechnologiesAccelerate Business Innovation Using AWS Serverless Technologies
Accelerate Business Innovation Using AWS Serverless Technologies
 
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
Leadership Session: Using DevOps, Microservices, and Serverless to Accelerate...
 
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
Vonage & Aspect: Transform Real-Time Communications & Customer Engagement (TL...
 
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
 

Recently uploaded

Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
FODUU
 

Recently uploaded (20)

Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
 

Introduction to Serverless

  • 1. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. @steven_bryen sbryen@amazon.com Introduction to Serverless Steven Bryen, Senior Technical Evangelist
  • 2. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. What is Serverless?
  • 3. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. It Started with AWS Lambda Serverless Computing
  • 4. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Events Services (anything) Lambda functions Event driven
  • 5. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Event-driven platform S3 event notifications DynamoDB Streams Kinesis events Cognito events SNS events Custom events CloudTrail events Lam bdaDynam oDB Kinesis S3 Any custom Invoked in response to events - Changes in data - Changes in state Redshift SNS Access any service, including your own Such as… CloudWatch events Lambda functions
  • 6. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Function – first class citizen def handler(event, context): return { "message": ”Hello World!", "event": event } • Focus on solving business problems • Reusable components • Easier to isolate failure
  • 7. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Anatomy of a Lambda function Handler() function Function to be executed upon invocation Event object Data sent during Lambda Function Invocation Context object Methods available to interact with runtime information (request ID, log group, etc.) def handler(event, context): return { "message": ”Hello World!", "event": event }
  • 8. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Lambda execution model Synchronous (push) Asynchronous (event) Stream-based Amazon API Gateway AWSLambda function Amazon DynamoDB Amazon SNS /api/hello AWSLambda function Amazon S3 reqs Amazon Kinesis changes AWSLambda service function
  • 9. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. You can achieve massive scales with Lambda processes 4,000 requests per second processes half a trillion validations of stock trades daily reduced the time to ingest and process data for its analytics pipeline by 97% can handle spikes of 80x normal traffic triggers 1.2 billion Lambda requests each month
  • 10. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Serverless is more than just functions.
  • 11. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Serverless Scalability without server management.
  • 12. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Run less software.
  • 13. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Why Serverless? No servers to manage
  • 14. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
  • 15. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Why Serverless? Availability and Fault Tolerance Built In
  • 16. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AZ1 AZ2 AZ3 Serverless Services
  • 17. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Why Serverless? Scale with usage
  • 18. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
  • 19. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
  • 20. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
  • 21. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Serverless distributed computing: PyWren PyWren prototype developed at University of California, Berkeley Uses Python with AWS Lambda stateless functions for large-scale data analytics Achieved @ 30-40 MB/s write and read performance per core to Amazon S3 object store Scaled to 60-80 GB/s across 2,800 simultaneous functions
  • 22. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Why Serverless? Pay-per request
  • 23. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. • Buy compute time in 100 ms increments • No hourly, daily, or monthly minimums • No per-device fees Free Tier 1 million requests and 400,000 GBs of compute every month, every customer
  • 24. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Bustle.com Bustle.com is a news, entertainment, lifestyle, and fashion website: • 52 million monthly users • 100 million events daily • 84% cost savings • 0 servers • 0 operating system patches • Automatic scaling https://aws.amazon.com/solutions/case-studies/bustle/
  • 25. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. ©2017, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Why Lambda? >95% decrease in overall deployment and operational costs Scales up or down for variation in customer request volume Migrating tasks to Lambda took only a few weeks 95% Reduction in Computation Cost AWS Lambda enables the FICO Decision Management Suite (DMS) to perform computations on machine learning models quickly, cheaply, and efficiently AWS Lambda
  • 26. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Common Lambda use cases Web Applications • Static websites • Complex web apps • Packages for Flask and Express Data Processing • Real time • MapReduce • Batch Chatbots • Powering chatbot logic Backends • Apps & services • Mobile • IoT </></> Amazon Alexa • Powering voice-enabled apps • Alexa Skills Kit IT Automation • Policy engines • Extending AWS services • Infrastructure management
  • 27. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Let’s talk about Serverless for… • Apps & Services • Data Streams & Analytics • Development & Deployment • Automation
  • 28. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Serverless for… • Apps & Services
  • 29. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. 3-Tier web application Data stored in Amazon DynamoDB Dynamic content in AWS Lambda Amazon API Gateway Browser Amazon CloudFront Amazon S3
  • 30. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Amazon API Gateway AWS Lambda Amazon DynamoDB Amazon S3 Amazon CloudFront • Bucket Policies • ACLs • OAI • Geo-Restriction • Signed Cookies • Signed URLs • DDOS AuthZ Serverless web app security • Throttling • Caching • Usage Plans Static Content Browser Amazon CloudFront • HTTPS • Disable Host Header Forwarding AWSWAF IAM
  • 31. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Amazon API Gateway AWS Lambda Amazon DynamoDB Amazon S3 Amazon CloudFront • Access Logs in S3 Bucket• Access Logs in S3 Bucket • CloudWatch Metrics- https://aws.amazon.com/cl oudfront/reporting/ Serverless web app monitoring AWS WAF • WebACL Testing • Total Requests • Allowed/Blocked Requests by ACL logslogs • Invocations • Invocation Errors • Duration • Throttled Invocations • Latency • Throughput • Throttled Reqs • Returned Bytes • Latency • Count • Cache Hit/Miss • 4XX/5XX Errors Streams AWS CloudTrail Static Content Browser Custom CloudWatch Metrics & Alarms
  • 32. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AWS Step Functions: Orchestrate a Serverless processing workflow using AWS Lambda
  • 34. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AWS SAM Demo
  • 35. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Serverless for… ✅ Apps & Services • Data Streams & Analytics
  • 36. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Amazon Kinesis makes it easy to work with real- time streaming data Amazon Kinesis Streams • For Technical Developers • Collect and stream data for ordered, replay-able, real-time processing Amazon Kinesis Firehose • For all developers, data scientists • Easily load massive volumes of streaming data into Amazon S3, Redshift, ElasticSearch Amazon Kinesis Analytics • For all developers, data scientists • Easily analyze data streams using standard SQL queries
  • 37. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
  • 38. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. “Amazon Kinesis does a lot of the heavy lifting, and lets Supercell focus on delivering games that delight players worldwide.” Sami Yliharju Services Lead, Supercell Games https://aws.amazon.com/solutions/case-studies/supercell/
  • 39. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Real-time analytics for mobile web app Amazon Kinesis Stream Amazon Kinesis Analytics Amazon Cognito Amazon Kinesis Stream Amazon DynamoDB Amazon Lambda AmazonS3 JavaScript SDK
  • 40. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AWS Lambda: Splitter Amazon S3 Object Amazon DynamoDB: Mapper Results AWS Lambda: Mappers …. …. AWS Lambda: Reducer Amazon S3 Results Serverless batch processing Lambda MapReduce https://github.com/awslabs/lambda-refarch-mapreduce
  • 41. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Serverless for… ✅ Apps & Services ✅ Data Streams & Analytics • Development & Deployment
  • 42. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Typical development steps • Integration testing • Load testing • UI tests • Security testing • Commit • Code review • Compile code • Unit tests • Style / linting • Container image • Deploy to production environment Source Build Test Production
  • 43. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. DevOps – What is it? Faster development → More experimentation & innovation → Customer happiness developers customers releasetestbuild plan monitor Distribution pipeline Feedback mechanism Automation for agile software development cycles
  • 44. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. OK! Sounds good. What do I use?
  • 45. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AWS CodeStar
  • 46. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
  • 47. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.
  • 48. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Serverless for… ✅ Apps & Services ✅ Data Streams & Analytics ✅ Development & Deployment • Automation
  • 49. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Automation characteristics • Respond to alarms or events • Periodic jobs • Auditing and Notification • Extend AWS functionality • Highly Available and scalable
  • 50. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AWS Lambda: Update Route53 Amazon CloudWatch Events: Rule Triggered Amazon EC2 Instance State Changes Amazon DynamoDB: EC2 Instance Properties Amazon Route53: Private Hosted Zone Tag: CNAME = ‘xyz.example.com’ xyz.example.com A 10.2.0.134 Automation: dynamic DNS for EC2 instances
  • 51. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AWS Lambda: Resize Images Users upload photos S3: Source Bucket S3: Destination Bucket Triggered on PUTs Automation: image thumbnail creation from S3
  • 52. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved.©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Serverless for… ✅ Apps & Services ✅ Data Streams & Analytics ✅ Development & Deployment ✅ Automation
  • 53. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. What about GraphQL?
  • 54. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. GraphQL Open, declarative data-fetching specification != Graph database Use NoSQL, Relational, HTTP, etc. Traditional data-fetching GraphQL /posts /postInfo /postJustTitle /postsByAuthor /postNameStartsWithX /commentsOnPost
  • 55. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. How does GraphQL work? { "id": "1", "name": "Get Milk", “priority": "1" }, { "id": “2", "name": “Go to gym", “priority": “5" },… type Query { getTodos: [Todo] } type Todo { id: ID! name: String description: String priority: Int duedate: String } query { getTodos { id name priority } } Model data with application schema Client requests what it needs Only that data is returned
  • 56. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. GraphQL Schema type Event { id: ID! name: String where: String when: String description: String comments: [Comment] } type Comment { commentId: String! eventId: ID! content: String! createdAt: String! }
  • 57. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. GraphQL Schema Mutation type Mutation { createEvent( name: String!, when: String!, where: String!, description: String! ): Event deleteEvent(id: ID!): Event commentOnEvent( eventId: ID!, content: String!, createdAt: String! ): Comment }
  • 58. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. GraphQL Schema Mutation Query type Query { getEvent(id: ID!): Event listEvents( limit: Int, nextToken: String ): EventConnection }
  • 59. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. GraphQL Schema Mutation Query Subscription type Subscription { subscribeToEventComments(eventId: String!): Comment @aws_subscribe(mutations: ["commentOnEvent"]) }
  • 60. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. GraphQL Schema Mutation Query Subscription Realtime? YES Batching? YES Pagination? YES Relations? YES Aggregations? YES Search? YES Offline? YES
  • 61. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AWS AppSync DynamoDB Table Lambda Function Elasticsearch Service GraphQL Schema Upload Schema GraphQL Query Mutation Subscription Real-time Offline AppSync API Cognito User Pool Legacy Application
  • 62. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. No servers to provision or manage Scales with usage Never pay for idle Availability and fault tolerance built in Serverless means…
  • 63. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. AW S Lam bda Am azon S3 Am azon Dynam oDB AW S CodeDeploy AW S CodePipeline AW S CodeStar Am azon Kinesis Am azon Athena Am azon Lex Am azon Polly Am azon Rekognition Am azon Pinpoint Am azon Cognito AW S Step Functions Am azon SQ S Am azon SNS Am azon SES Am azon Aurora Serverless Functions DevOps Queues & Notifications Storage Identity & App Analytics AI Application Services Streams & Data Analytics All of this is “serverless.”
  • 64. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. An expanding Serverless ecosystem Build and CI/CD Logging and MonitoringApplications and Deployment ChaliceFramework Serverless JavaContainer ©2017, AmazonWebServices, Inc. or itsAffiliates.All rightsreserved.
  • 65. ©2018, AmazonWebServices, Inc. or its Affiliates. All rights reserved. Thank you! Steven Bryen, Senior Technical Evangelist @steven_bryen sbryen@amazon.com