SlideShare a Scribd company logo
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
Julian Wood Ben Smith
@julian_wood @benjamin_l_s
Senior Developer Advocates
AWS Serverless Applications
Accelerating Business Agility
with Serverless Microservices
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
A Modern Digital Business
© 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark
Modern Digital
Business
Operational
Efficiency
Technical
Resiliency
Access to
Insights
Business Agility
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Architecture evolution
Monolithic application
Does everything
Shared release pipeline
Rigid scaling
High impact of change
Hard to adopt new technologies
Microservices
Does one thing
Independent deployments
Independent scaling
Small impact of change
Choice of technology
When the impact of change is small, release velocity can increase
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Development transformation at Amazon: 2001–2002
monolithic application
+ teams
2001
Lesson learned: decompose for agility
2002
microservices
+ 2 pizza teams
Full ownership & autonomy
You build it, you run it
DevOps – small, nimble teams
Focused innovation
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deployment at scale
1000s of
teams
Micro-
services
CI/CD Serverless
>60 million deployments a year*
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Changes to Compute
Where do teams focus their efforts?
Physical
Infrastructure
Virtual
infrastructure
Service software
(orchestration, routing)
Application
packages (OS,
runtimes)
What you need
Business Logic
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
LEVELOFABSTRACTION
FOCUS ON BUSINESS LOGIC
VIRTUAL MACHINES
Hardware independence
Faster provisioning speed (minutes/hours)
Trade capex for opex
More scale
Elastic resources
Faster speed and agility
Reduced maintenance
Computing evolution – A paradigm shift
Physical Infrastructure
Virtual infrastructure
Service software
(orchestration, routing)
Application
packages (OS,
runtimes)
Business logic
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
LEVELOFABSTRACTION
FOCUS ON BUSINESS LOGIC
CONTAINER SYSTEMS
Platform independence
Consistent runtime environment
Higher resource utilization
Easier and faster deployments
Isolation and sandboxing
Start speed (deploy in seconds)
Computing evolution – A paradigm shift
Physical Infrastructure
Virtual infrastructure
Service software
(orchestration, routing)
Application
packages (OS,
runtimes)
Business logic
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda
AWS Fargate
LEVELOFABSTRACTION
FOCUS ON BUSINESS LOGIC
Continuous scaling
Fault tolerance built-in
Pay for value
Zero maintenance
SERVERLESS
Computing evolution – A paradigm shift
Physical Infrastructure
Virtual infrastructure
Service software
(orchestration, routing)
Application
packages (OS,
runtimes)
Business logic
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless Operational Model
No infrastructure to
provision or manage
Automatically scales
by unit of consumption
Pay for value
billing model
Highly available
and durable
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event-driven architecture
Decouple state from code using
messaging
APIs to expose services
Scale without capacity planning
Serverless Programming Model
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
”
“
Financial Engines Cuts Costs by 94% Using
AWS Lambda & Serverless Computing
They replaced 50 IPO servers running in
21 different environments with four
Lambda endpoints to handle the same
amount of traffic. IPO requests trigger a
Lambda to run the IPO code. AWS
Lambda can run as many copies of the
function as needed in parallel,
dynamically allocating compute capacity
to match the rate of incoming requests.
• Saves 94% on hard costs
• Handles 10x normal traffic during
peak times
• Reduces operational costs
• Creates near-zero downtime
SolutionChallenge
Company: Financial Engines
Industry: Financial Regulatory Non-
Profit
Country: United States
Website: www.financialengines.com
Financial Engines is the largest
independent investment advisor in the
United States for assets under
management. They offer financial help
to more than nine million people and
manage more than one million
individual investment accounts worth
more than $160 billion.
”
“We project 94 percent savings in hard costs, or
about $110,000 annually. That’s not including the
cost savings in operational maintenance—security
patches and library upgrades—which AWS Lambda
takes care of automatically.
-Alex Yavorskiy, Chief Technology Officer, Financial Engines
About Financial Engines
Financial Engines needed the ability
to quickly recover from a potential
major disruption. They needed to
decrease the time their teams spent
on event monitoring and analysis
and server management.
Benefits
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
”
“
FINRA Doubles Cost Efficiency with AWS
Lambda
Data is ingested into Amazon S3 via
FTP and AWS Lambda performs the
validations. Amazon EC2 manages
data feeds coming into, and
notifications going out of, AWS
Lambda. Amazon SQS is used for input
/output messaging notifications while
Amazon VPC partitions the system into
separate test and production accounts.
• Delivered solution in three months
• Accelerated data validation by
700%
• Increased cost efficiency by a factor
of two
SolutionChallenge Benefits
Company: FINRA
Industry: Financial Regulatory Non-
Profit
Country: United States
Website: www.finra.org
The Financial Industry Regulatory
Authority (FINRA) is a not-for-profit
organization which protects investors
and ensures market integrity through
effective regulation of 3,800 broker-
dealers. They write and enforce rules,
examine firms for compliance, foster
market transparency, and educate
investors.
”
“Using AWS Lambda, we’ve increased cost efficiency
by a factor of two. We only pay for what we use, and
we don’t have to manage on-premises server
infrastructure.”
- Tim Greisback, Senior Director of Technology, FINRA
About FINRA
FINRA validates the data of 50,000
broker-dealer OATS (Order Audit
Trail System) files and formats
them according to 200 rules, which
totals half a trillion validations
each day. FINRA needed a solution
that could scale with processing
demand, which can double or triple
in response to market conditions.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
”
“
Thomson Reuters Achieves 200%
Productivity Increase with AWS Lambda
When news breaks, Thomson
Reuters’ traffic doubles or triples.
They needed a way to elastically
scale and were tasked with producing
a solution on a tight timeline—5
months. They also needed to encrypt
and protect information in transit
and at rest, while handling thousands
of events per second.
Thomson Reuters built a solution that
ingests events using Amazon Elastic
Load Balancer, encrypts events using
AWS Key Management Service (KMS),
and hands them off to a streaming
data pipeline using Amazon Kinesis
Streams, Amazon Kinesis Firehose,
and AWS Lambda. AWS Lambda then
auto-batches and delivers data to
Amazon S3 for storage.
• Achieved 200% productivity
increase
• Launched two months ahead of
schedule
• Allows for fast data analysis &
quick internal adoption
• Optimizes streaming data
processing costs
SolutionChallenge Benefits
Company: Thomson Reuters
Industry: Worldwide News
Country: United States
Website: www.thomsonreuters.com
Thomson Reuters is a leading source of
information, including one of the world’s
most trusted news organizations, for the
world’s businesses and professionals.
”
“Our initial goal was to accommodate 2,000 events per
second. Now, we can process up to 4,000, and within a
year we expect to increase that to more than 10,000
events per second.”
- Anders Fritz, Senior Manager, Product Innovation
About Thomson Reuters
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Nasdaq CIO Sees Serverless Computing as a 2020
Tech Trend
The technology “is reducing capital costs and shifting the focus to
customers’ needs instead of setting up, configuring, patching and
maintaining servers in the data center,” Brad Peterson, Nasdaq Inc.’s CIO
“A better client experience for a lower price point is on offer for those
willing to understand the technology,” Nigel Faulkner, head of
technology at T. Rowe Price Group Inc.
https://www.wsj.com/articles/nasdaq-cio-sees-serverless-computing-as-a-2020-tech-trend-
11579213416?_lrsc=7e26e436-569f-49b6-92b6-304160490541
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Systems Integrators specializing in serverless
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Growing Partner Ecosystem
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Build PCI and HIPAA compliant serverless
applications!
Serverless platform services that can be used in both:
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless and Functions
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event-driven compute
Functions as a service
Serverless FaaSServerless FaaS
Lambda
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common AWS Lambda use cases
Web Apps Backends Data
Processing
Chatbots Amazon Alexa IT Automation
• Static
websites
• Complex
web apps
• Packages
for Flask
and
Express
• Apps &
services
• Mobile
• IoT
• Real time
• MapReduce
• Batch
• Powering
chatbot
logic
• Powering
voice-
enabled
apps
• Alexa Skills
Kit
• Policy
engines
• Extending
AWS services
• Infrastructure
management
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Fine-grained pricing
Buy compute time in 100ms
increments
Low request charge
No hourly, daily, or monthly
minimums
No per-device fees
Never pay for idle
Free Tier
1M requests and 400,000 GBs of compute.
Every month, every customer.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless is more than compute
APPLICATION PRIMITIVES – COMPUTE AND DATASTORES
AWS
Lambda
AWS
Fargate
Amazon
API Gateway
Amazon
SNS
Amazon
MQ
Amazon
SQS
AWS
Step Functions
APPLICATION INTEGRATION
DEVELOPER TOOLS
SECURITY AND ADMINISTRATION
Amazon Aurora
Serverless
Amazon
S3
Amazon
DynamoDB
AWS
AppSync
AWS
IAM
Amazon
Cognito
Amazon
Inspector
Amazon
VPC
Amazon
GuardDuty
AWS
CloudFormation
AWS
Cloud9
AWS
CloudTrail
Amazon
CloudWatch
AWS
X-Ray
AWS
CodePipeline
AWS
Config
AWS
SSO
AWS
Shield
AWS
WAF
Amazon
Kinesis
AWS Serverless
Application
Repository
Amazon
EventBridge
APPLICATION PRIMITIVES – COMPUTE AND DATASTORES
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Adoption Patterns
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Organic AdoptionLAMBDAUSAGE
IT AUTOMATION
LOG PROCESSING/
CRON JOBS
DATA TRANSFORMATION MICROSERVICES
DEVELOPER DIRECTOR EXECUTIVE
Production
Mission Critical
Adoption Curve
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Serverless Adoption PatternsLAMBDAUSAGE
I T A u t o m a t i o n D a t a T r a n s f o r m a t i o n B u s i n e s s C r i t i c a l
A p p l i c a t i o n
D E V E L O P E R D I R E C T O R E X E C U T I V E
CONSIDERATIONS
Rapid development
Time to market—agility
Organizational changes
Long-term commitment
Production
Mission Critical
Adoption Curve
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Leap Frog AdoptionCAPACITYPROCESSESCOSTMODELS
OPE R ATIONAL PR OCE SSE S DE VE L OPME NT MODE L S
ON-PREMISESCLOUD
“LEGACY” ARCHITECTURES MODERN ARCHITECTURES
AWS
EC2
AWS
ECS
AWS
FARGATE
AWS
EKS
Containers
AWS
ECS
AWS
FARGATE
AWS
EKS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What changes
have to be made
in this new world?
Operational model
Architectural patterns
Software delivery
People
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Changes to the operational model
Isn’t all of this very hard now that
we have lots of pieces to operate?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Comparison of shared operational responsibility
AWS Lambda
Serverless functions
AWS Fargate
Serverless containers
ECS/EKS
Container-management as a service
EC2
Infrastructure-as-a-Service
More opinionated
Less opinionated
AWS manages Customer manages
• Data source integrations
• Application-level runtime and updates
• Physical hardware, software, networking,
and facilities
• Provisioning
• Application code
• Security and network configuration
• Container orchestration, provisioning
• Cluster scaling
• Physical hardware, host OS/kernel,
networking, and facilities
• Application code
• Service scaling
• Data source integrations
• Security config network config, management
tasks, application runtime updates
• Container orchestration control plane
• Physical hardware software,
networking, and facilities
• Application code
• Data source integrations
• Worker hosts and service scaling
• Security config and updates, network config,
firewall, management tasks
• Physical hardware software,
networking, and facilities
• Application code
• Data source integrations
• Instance scaling
• Security config and updates, network config,
management tasks
• Provisioning, managing scaling and
patching of servers
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Changes to the architectural patterns
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Architecture diagrams change from simple…
APPLICATION SERVERS
DATABASE SERVERS
WEB SERVERS
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
…to more complex
MICROSERVICE
API
API
MICROSERVICE
MICROSERVICE
EVENT
API
MICROSERVICE
EVENT
API
MICROSERVICE
APPLICATION
Mobile client
Client
IoT
PERSISTENCE PERSISTENCE
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
APIs are the front door of microservices
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event-driven architectures
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Queues
Simple
Fully managed
Any volume
Pub/sub
Simple
Fully managed
Flexible
Amazon Simple
Queue Service
Amazon Simple
Notification
Service
Messaging
Synchronization
Rapid
Fully managed
Real-time
Amazon
EventBridge
Decouple state from code using messaging
And data streams
Ingest
Data streams
Data processing
Real-time
Data Store
Microservices
Performance at scale
Fast and Flexible
Amazon Kinesis
Data Streams
Amazon
Dynamo DB
Data Stream Capture
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cloud-native architectures are small
pieces, loosely joined
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Changes to the delivery of software
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
developers
delivery pipelines
services
monitorreleasetestbuild
Monolith development lifecycle
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
developers services
monitorreleasetestbuild
delivery pipelines
monitorreleasetestbuild
monitorreleasetestbuild
monitorreleasetestbuild
monitorreleasetestbuild
monitorreleasetestbuild
Microservice development lifecycle
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
People
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Architecture evolution
Monolithic application
Does everything
Shared release pipeline
Rigid scaling
High impact of change
Hard to adopt new technologies
Microservices
Does one thing
Independent deployments
Independent scaling
Small impact of change
Choice of technology
When the impact of change is small, release velocity can increase
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What Drives Our Priorities?
Excelling in service fundamentals
Availability, latency, security, scale and associated controls
Equipping developers and operators
Constantly improving tools for monitoring, troubleshooting, and auditing
Adding efficiency to application development patterns
New patterns through events, workflows, functions, and APIs
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
re:Invent
2019
Launches
Express Step Functions
Faster, Cheaper Step Functions
Orchestration
Lambda Enhanced Controls
Async Controls, Enhanced Streaming
Controls
Lambda Destinations
Send execution results to a Destination
Lambda Provisioned Concurrency
Managed Prewarming
API Gateway HTTP APIs
Faster, Cheaper APIs
RDS Proxy
Managed Database Connection Pools
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Customers
Build better
products
Innovate
more often
Release
features
faster
Focus on
business
logic
Decouple
software
systems
Our goal is to automate and abstract away as much as is possible so
customers can focus on building applications for their business
We are witnessing a paradigm shift
Andy Jassy, CEO, AWS
“If Amazon.com were starting
today, it would go serverless.”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
aws.amazon.com/serverless
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Feedback appreciated 
https://rebrand.ly/lm-
serverless
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!

More Related Content

PDF
AWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
PDF
Digital transformation on aws
PDF
AWS Summit Singapore 2019 | Bridging Start-ups and Enterprises
PDF
Modern Applications Development on AWS
PPTX
From Monolithic to Modern Apps: Best Practices
PDF
Amazon Web Services - The New Normal
PDF
AWS 활용을 통한 금융권 혁신 사례 소개 :: Felix Candelario :: AWS Fi...
PDF
Aws lambda webinar -buraku
AWS Summit Singapore 2019 | Enterprise Migration Journey Roadmap
Digital transformation on aws
AWS Summit Singapore 2019 | Bridging Start-ups and Enterprises
Modern Applications Development on AWS
From Monolithic to Modern Apps: Best Practices
Amazon Web Services - The New Normal
AWS 활용을 통한 금융권 혁신 사례 소개 :: Felix Candelario :: AWS Fi...
Aws lambda webinar -buraku

Similar to Accelerating Business Agility with Serverless Microservices (20)

PDF
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
PPTX
awslambda-240508203904-07xsds253491.pptx
PDF
Getting Started with Serverless Architectures
PDF
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
PPTX
클라우드 기반 앱 현대화를 위한 5가지 체크리스트 - 윤석찬 :: AWS 현대적 애플리케이션 개발
PPTX
What IT Transformation Really Means for the Enterprise
PDF
Move fast, build things with AWS (June 2016)
PPTX
Primeros pasos en desarrollo serverless
PPTX
Developing Modern Applications in the Cloud
PDF
Introduction to Serverless computing and AWS Lambda - Floor28
PPTX
AWS Webinar 23 - Getting Started with AWS - Understanding total cost of owner...
PPTX
Inovação Rápida: O caso de negócio para desenvolvimento de aplicações modernas.
PPTX
Getting Started with Serverless Architectures
PPTX
DevConZM - Modern Applications Development in the Cloud
PPTX
Application Modernization using the Strangler Pattern
PPTX
The Cloud - What's different
PPTX
AWS Enterprise First Call Deck
PDF
Crio.do - Deployment on AWS Masterclass
PDF
Wildrydes Serverless Workshop Tel Aviv
PPTX
Leveraging serverless in fullstack development
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
awslambda-240508203904-07xsds253491.pptx
Getting Started with Serverless Architectures
Introducing to serverless computing and AWS lambda - Israel Clouds Meetup
클라우드 기반 앱 현대화를 위한 5가지 체크리스트 - 윤석찬 :: AWS 현대적 애플리케이션 개발
What IT Transformation Really Means for the Enterprise
Move fast, build things with AWS (June 2016)
Primeros pasos en desarrollo serverless
Developing Modern Applications in the Cloud
Introduction to Serverless computing and AWS Lambda - Floor28
AWS Webinar 23 - Getting Started with AWS - Understanding total cost of owner...
Inovação Rápida: O caso de negócio para desenvolvimento de aplicações modernas.
Getting Started with Serverless Architectures
DevConZM - Modern Applications Development in the Cloud
Application Modernization using the Strangler Pattern
The Cloud - What's different
AWS Enterprise First Call Deck
Crio.do - Deployment on AWS Masterclass
Wildrydes Serverless Workshop Tel Aviv
Leveraging serverless in fullstack development
Ad

More from Julian Wood (6)

PDF
End AWS Lambda Cold Starts with Provisioned Concurrency
PPTX
Amazon EventBridge: AWS re:Invent Serverless London Recap Day
PDF
Connecting VMware Cloud on AWS to Native AWS Services - UKVMUG 2018
PDF
Serverless, Show me the servers! - UKVMUG 2017
PDF
Can I order some servers for my serverless please-London VMUG 2017
PDF
UKVMUG 2016 - Demystifying the Future of IT, an IT practitioners guide
End AWS Lambda Cold Starts with Provisioned Concurrency
Amazon EventBridge: AWS re:Invent Serverless London Recap Day
Connecting VMware Cloud on AWS to Native AWS Services - UKVMUG 2018
Serverless, Show me the servers! - UKVMUG 2017
Can I order some servers for my serverless please-London VMUG 2017
UKVMUG 2016 - Demystifying the Future of IT, an IT practitioners guide
Ad

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
Teaching material agriculture food technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Electronic commerce courselecture one. Pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Approach and Philosophy of On baking technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Teaching material agriculture food technology
Per capita expenditure prediction using model stacking based on satellite ima...
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx
A Presentation on Artificial Intelligence
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation_ Review paper, used for researhc scholars
Electronic commerce courselecture one. Pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
MYSQL Presentation for SQL database connectivity
Dropbox Q2 2025 Financial Results & Investor Presentation
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Accelerating Business Agility with Serverless Microservices

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Julian Wood Ben Smith @julian_wood @benjamin_l_s Senior Developer Advocates AWS Serverless Applications Accelerating Business Agility with Serverless Microservices
  • 2. © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark A Modern Digital Business © 2019, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Modern Digital Business Operational Efficiency Technical Resiliency Access to Insights Business Agility
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Architecture evolution Monolithic application Does everything Shared release pipeline Rigid scaling High impact of change Hard to adopt new technologies Microservices Does one thing Independent deployments Independent scaling Small impact of change Choice of technology When the impact of change is small, release velocity can increase
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Development transformation at Amazon: 2001–2002 monolithic application + teams 2001 Lesson learned: decompose for agility 2002 microservices + 2 pizza teams Full ownership & autonomy You build it, you run it DevOps – small, nimble teams Focused innovation
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Deployment at scale 1000s of teams Micro- services CI/CD Serverless >60 million deployments a year*
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Changes to Compute
  • 7. Where do teams focus their efforts? Physical Infrastructure Virtual infrastructure Service software (orchestration, routing) Application packages (OS, runtimes) What you need Business Logic
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. LEVELOFABSTRACTION FOCUS ON BUSINESS LOGIC VIRTUAL MACHINES Hardware independence Faster provisioning speed (minutes/hours) Trade capex for opex More scale Elastic resources Faster speed and agility Reduced maintenance Computing evolution – A paradigm shift Physical Infrastructure Virtual infrastructure Service software (orchestration, routing) Application packages (OS, runtimes) Business logic
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. LEVELOFABSTRACTION FOCUS ON BUSINESS LOGIC CONTAINER SYSTEMS Platform independence Consistent runtime environment Higher resource utilization Easier and faster deployments Isolation and sandboxing Start speed (deploy in seconds) Computing evolution – A paradigm shift Physical Infrastructure Virtual infrastructure Service software (orchestration, routing) Application packages (OS, runtimes) Business logic
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda AWS Fargate LEVELOFABSTRACTION FOCUS ON BUSINESS LOGIC Continuous scaling Fault tolerance built-in Pay for value Zero maintenance SERVERLESS Computing evolution – A paradigm shift Physical Infrastructure Virtual infrastructure Service software (orchestration, routing) Application packages (OS, runtimes) Business logic
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless Operational Model No infrastructure to provision or manage Automatically scales by unit of consumption Pay for value billing model Highly available and durable
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event-driven architecture Decouple state from code using messaging APIs to expose services Scale without capacity planning Serverless Programming Model
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. ” “ Financial Engines Cuts Costs by 94% Using AWS Lambda & Serverless Computing They replaced 50 IPO servers running in 21 different environments with four Lambda endpoints to handle the same amount of traffic. IPO requests trigger a Lambda to run the IPO code. AWS Lambda can run as many copies of the function as needed in parallel, dynamically allocating compute capacity to match the rate of incoming requests. • Saves 94% on hard costs • Handles 10x normal traffic during peak times • Reduces operational costs • Creates near-zero downtime SolutionChallenge Company: Financial Engines Industry: Financial Regulatory Non- Profit Country: United States Website: www.financialengines.com Financial Engines is the largest independent investment advisor in the United States for assets under management. They offer financial help to more than nine million people and manage more than one million individual investment accounts worth more than $160 billion. ” “We project 94 percent savings in hard costs, or about $110,000 annually. That’s not including the cost savings in operational maintenance—security patches and library upgrades—which AWS Lambda takes care of automatically. -Alex Yavorskiy, Chief Technology Officer, Financial Engines About Financial Engines Financial Engines needed the ability to quickly recover from a potential major disruption. They needed to decrease the time their teams spent on event monitoring and analysis and server management. Benefits
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. ” “ FINRA Doubles Cost Efficiency with AWS Lambda Data is ingested into Amazon S3 via FTP and AWS Lambda performs the validations. Amazon EC2 manages data feeds coming into, and notifications going out of, AWS Lambda. Amazon SQS is used for input /output messaging notifications while Amazon VPC partitions the system into separate test and production accounts. • Delivered solution in three months • Accelerated data validation by 700% • Increased cost efficiency by a factor of two SolutionChallenge Benefits Company: FINRA Industry: Financial Regulatory Non- Profit Country: United States Website: www.finra.org The Financial Industry Regulatory Authority (FINRA) is a not-for-profit organization which protects investors and ensures market integrity through effective regulation of 3,800 broker- dealers. They write and enforce rules, examine firms for compliance, foster market transparency, and educate investors. ” “Using AWS Lambda, we’ve increased cost efficiency by a factor of two. We only pay for what we use, and we don’t have to manage on-premises server infrastructure.” - Tim Greisback, Senior Director of Technology, FINRA About FINRA FINRA validates the data of 50,000 broker-dealer OATS (Order Audit Trail System) files and formats them according to 200 rules, which totals half a trillion validations each day. FINRA needed a solution that could scale with processing demand, which can double or triple in response to market conditions.
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. ” “ Thomson Reuters Achieves 200% Productivity Increase with AWS Lambda When news breaks, Thomson Reuters’ traffic doubles or triples. They needed a way to elastically scale and were tasked with producing a solution on a tight timeline—5 months. They also needed to encrypt and protect information in transit and at rest, while handling thousands of events per second. Thomson Reuters built a solution that ingests events using Amazon Elastic Load Balancer, encrypts events using AWS Key Management Service (KMS), and hands them off to a streaming data pipeline using Amazon Kinesis Streams, Amazon Kinesis Firehose, and AWS Lambda. AWS Lambda then auto-batches and delivers data to Amazon S3 for storage. • Achieved 200% productivity increase • Launched two months ahead of schedule • Allows for fast data analysis & quick internal adoption • Optimizes streaming data processing costs SolutionChallenge Benefits Company: Thomson Reuters Industry: Worldwide News Country: United States Website: www.thomsonreuters.com Thomson Reuters is a leading source of information, including one of the world’s most trusted news organizations, for the world’s businesses and professionals. ” “Our initial goal was to accommodate 2,000 events per second. Now, we can process up to 4,000, and within a year we expect to increase that to more than 10,000 events per second.” - Anders Fritz, Senior Manager, Product Innovation About Thomson Reuters
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Nasdaq CIO Sees Serverless Computing as a 2020 Tech Trend The technology “is reducing capital costs and shifting the focus to customers’ needs instead of setting up, configuring, patching and maintaining servers in the data center,” Brad Peterson, Nasdaq Inc.’s CIO “A better client experience for a lower price point is on offer for those willing to understand the technology,” Nigel Faulkner, head of technology at T. Rowe Price Group Inc. https://www.wsj.com/articles/nasdaq-cio-sees-serverless-computing-as-a-2020-tech-trend- 11579213416?_lrsc=7e26e436-569f-49b6-92b6-304160490541
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Systems Integrators specializing in serverless
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Growing Partner Ecosystem
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Build PCI and HIPAA compliant serverless applications! Serverless platform services that can be used in both:
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless and Functions
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event-driven compute Functions as a service Serverless FaaSServerless FaaS Lambda
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Common AWS Lambda use cases Web Apps Backends Data Processing Chatbots Amazon Alexa IT Automation • Static websites • Complex web apps • Packages for Flask and Express • Apps & services • Mobile • IoT • Real time • MapReduce • Batch • Powering chatbot logic • Powering voice- enabled apps • Alexa Skills Kit • Policy engines • Extending AWS services • Infrastructure management
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Fine-grained pricing Buy compute time in 100ms increments Low request charge No hourly, daily, or monthly minimums No per-device fees Never pay for idle Free Tier 1M requests and 400,000 GBs of compute. Every month, every customer.
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless is more than compute APPLICATION PRIMITIVES – COMPUTE AND DATASTORES AWS Lambda AWS Fargate Amazon API Gateway Amazon SNS Amazon MQ Amazon SQS AWS Step Functions APPLICATION INTEGRATION DEVELOPER TOOLS SECURITY AND ADMINISTRATION Amazon Aurora Serverless Amazon S3 Amazon DynamoDB AWS AppSync AWS IAM Amazon Cognito Amazon Inspector Amazon VPC Amazon GuardDuty AWS CloudFormation AWS Cloud9 AWS CloudTrail Amazon CloudWatch AWS X-Ray AWS CodePipeline AWS Config AWS SSO AWS Shield AWS WAF Amazon Kinesis AWS Serverless Application Repository Amazon EventBridge APPLICATION PRIMITIVES – COMPUTE AND DATASTORES
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Adoption Patterns
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Organic AdoptionLAMBDAUSAGE IT AUTOMATION LOG PROCESSING/ CRON JOBS DATA TRANSFORMATION MICROSERVICES DEVELOPER DIRECTOR EXECUTIVE Production Mission Critical Adoption Curve
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Serverless Adoption PatternsLAMBDAUSAGE I T A u t o m a t i o n D a t a T r a n s f o r m a t i o n B u s i n e s s C r i t i c a l A p p l i c a t i o n D E V E L O P E R D I R E C T O R E X E C U T I V E CONSIDERATIONS Rapid development Time to market—agility Organizational changes Long-term commitment Production Mission Critical Adoption Curve
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Leap Frog AdoptionCAPACITYPROCESSESCOSTMODELS OPE R ATIONAL PR OCE SSE S DE VE L OPME NT MODE L S ON-PREMISESCLOUD “LEGACY” ARCHITECTURES MODERN ARCHITECTURES AWS EC2 AWS ECS AWS FARGATE AWS EKS Containers AWS ECS AWS FARGATE AWS EKS
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What changes have to be made in this new world? Operational model Architectural patterns Software delivery People
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Changes to the operational model
  • 32. Isn’t all of this very hard now that we have lots of pieces to operate?
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Comparison of shared operational responsibility AWS Lambda Serverless functions AWS Fargate Serverless containers ECS/EKS Container-management as a service EC2 Infrastructure-as-a-Service More opinionated Less opinionated AWS manages Customer manages • Data source integrations • Application-level runtime and updates • Physical hardware, software, networking, and facilities • Provisioning • Application code • Security and network configuration • Container orchestration, provisioning • Cluster scaling • Physical hardware, host OS/kernel, networking, and facilities • Application code • Service scaling • Data source integrations • Security config network config, management tasks, application runtime updates • Container orchestration control plane • Physical hardware software, networking, and facilities • Application code • Data source integrations • Worker hosts and service scaling • Security config and updates, network config, firewall, management tasks • Physical hardware software, networking, and facilities • Application code • Data source integrations • Instance scaling • Security config and updates, network config, management tasks • Provisioning, managing scaling and patching of servers
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Changes to the architectural patterns
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Architecture diagrams change from simple… APPLICATION SERVERS DATABASE SERVERS WEB SERVERS
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. …to more complex MICROSERVICE API API MICROSERVICE MICROSERVICE EVENT API MICROSERVICE EVENT API MICROSERVICE APPLICATION Mobile client Client IoT PERSISTENCE PERSISTENCE
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. APIs are the front door of microservices
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event-driven architectures
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Queues Simple Fully managed Any volume Pub/sub Simple Fully managed Flexible Amazon Simple Queue Service Amazon Simple Notification Service Messaging Synchronization Rapid Fully managed Real-time Amazon EventBridge Decouple state from code using messaging
  • 40. And data streams Ingest Data streams Data processing Real-time Data Store Microservices Performance at scale Fast and Flexible Amazon Kinesis Data Streams Amazon Dynamo DB Data Stream Capture
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Cloud-native architectures are small pieces, loosely joined
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Changes to the delivery of software
  • 43. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. developers delivery pipelines services monitorreleasetestbuild Monolith development lifecycle
  • 44. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. developers services monitorreleasetestbuild delivery pipelines monitorreleasetestbuild monitorreleasetestbuild monitorreleasetestbuild monitorreleasetestbuild monitorreleasetestbuild Microservice development lifecycle
  • 45. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. People
  • 46. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Architecture evolution Monolithic application Does everything Shared release pipeline Rigid scaling High impact of change Hard to adopt new technologies Microservices Does one thing Independent deployments Independent scaling Small impact of change Choice of technology When the impact of change is small, release velocity can increase
  • 47. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What Drives Our Priorities? Excelling in service fundamentals Availability, latency, security, scale and associated controls Equipping developers and operators Constantly improving tools for monitoring, troubleshooting, and auditing Adding efficiency to application development patterns New patterns through events, workflows, functions, and APIs
  • 48. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. re:Invent 2019 Launches Express Step Functions Faster, Cheaper Step Functions Orchestration Lambda Enhanced Controls Async Controls, Enhanced Streaming Controls Lambda Destinations Send execution results to a Destination Lambda Provisioned Concurrency Managed Prewarming API Gateway HTTP APIs Faster, Cheaper APIs RDS Proxy Managed Database Connection Pools
  • 49. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Customers Build better products Innovate more often Release features faster Focus on business logic Decouple software systems Our goal is to automate and abstract away as much as is possible so customers can focus on building applications for their business We are witnessing a paradigm shift
  • 50. Andy Jassy, CEO, AWS “If Amazon.com were starting today, it would go serverless.”
  • 51. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. aws.amazon.com/serverless
  • 52. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Feedback appreciated  https://rebrand.ly/lm- serverless
  • 53. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thank you!