SlideShare uma empresa Scribd logo
1 de 58
Baixar para ler offline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS re:INVENT
Rapidly Respond to Demanding Retail
Customers with the Same Serverless
Architecture That Powers Amazon Fresh
G o w r i B a l a s u b r a m a n i a n , S r . S o l u t i o n s A r c h i t e c t , A W S
F e r n a n d o D i n g l e r , S o f t w a r e E n g i n e e r , A m a z o n F r e s h
N o v e m b e r 2 7 , 2 0 1 7
R E T 3 0 4
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What to expect from this session
• Retail industry’s use cases on AWS
• Introduction of serverless architectures
• Overview of AWS Lambda, Amazon API Gateway and Amazon
DynamoDB services
• - Serverless architecture
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Retail Workloads on AWS—Key Benefits
Develop applications faster with focus on features that differentiate your business
Scale on demand to handle seasonal peaks or variance (for example, for Black
Friday)
Reduce overall IT costs—CAPEX to OPEX model, further minimize operational cost
via AWS managed services
Reach customers in regions across the globe
Implement agile approach to data and analytics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Made.com provides a website that links home-
furnishings designers directly to consumers.
We broke our sales record
two weeks into the month-
long sale thanks to
disruption-free service from
AWS.
Jonathan Howell
Chief Technology Officer
”
“
Customers
Brooks Brothers is a leading U.S. retailer of
fashion and accessories.
Using AWS ... we can be
more nimble, which opens up
many more possibilities for
our business.
Sahal Laher
Executive Vice President and CEO,
”
“
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Retailer's focus areas
E-commerce
• Digital commerce stacks (SAP Hybris, IBM Webshpere Commerce, etc.)
• Omni-channel customer interactions (Mobile backend, web applications)
Big data/analytics
• Single view of the customer driven by omni-channel
• Guided selling/product recommendation
Digital customer experience
• Voice/chat apps—e.g., digital shopping assistant
• Call-center automation—e.g., product returns
• IoT (Internet of Things) for in-store and operations automation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Nordstrom gives personalized style recommendations
in seconds
.
- Keith Homewood
cloud product owner, Nordstrom
”
“ • Nordstrom Recommendation is the online version of
a stylist. It can analyze and deliver personalized
recommendations in seconds
• Going all-in on AWS has resulted in reducing costs
by 2X
• Continuous delivery allows Nordstrom to deliver
multiple production launches a day in a single
application
• Can now create a personalized recommendation in
seconds, in what used to take 15-20 minutes of
processing
Nordstrom
AWS allows us to truly be
customer-focused and to get out
of operational details and
problems.
https://aws.amazon.com/solutions/case-studies/nordstrom/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Virtual servers
in the cloud
(Amazon EC2)
Containers
in the cloud
(Amazon ECS)
Serverless with
the cloud
Evolving to serverless
Growing number of retail customers are using serverless
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cost-effective
and efficient
No infrastructure
to manage
Pay only for what you use
Continuous
scaling
Productivity-focused compute platform to build powerful, dynamic, modular applications
in the cloud
Automatically scales
to the workload
Focus on business logic
Why serverless platform?
1 2 3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Components of serverless architectures
AWS Lambda
Trigger-based Lambda functions
Streaming data
Amazon Kinesis
Amazon DynamoDB Streams
APIs
Amazon API Gateway
Event sources
Amazon CloudWatch
Amazon S3
AWS Config
Amazon SNS
Data Persistence
Amazon DynamoDB
AWS Elasticsearch Service
Amazon S3
Integration Points
Amazon VPC resources
AWS service APIs
Third-party services
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless web/mobile applications
Internet
Mobile apps
AWS Lambda
AWS
API Gateway
Amazon
DynamoDB
Web browser
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Working with AWS Lambda
Event source Function Services (anything)
Changes in
data state
Requests to
endpoints
Changes in
resource state
Node
Python
Java
C#
… more coming soon
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon S3 Amazon
DynamoDB
Amazon
Kinesis
AWS
CloudFormatio
n
AWS
CloudTrail
Amazon
CloudWatch
Amazon SNSAmazon
SES
Amazon
API Gateway
Amazon
Cognito
Amazon
Alexa
Cron events
Data stores Endpoints
Configuration repositories Event/message services
Event sources that trigger AWS Lambda
… and the list will continue to grow!
AWS
CodeCommit
AWS IoT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda programming model
Bring your own code
• Node.js, Java, Python, C#
• Bring your own libraries
• Environment variables
Simple resource model
• Select power rating from
128 MB to 1.5 GB
• CPU and network allocated
proportionately
Stateless
• Persist data using Amazon
DynamoDB or Amazon S3
• No affinity to
infrastructure (can’t “log in
to the box”)
Monitoring and logging
• Built-in metrics for
requests, errors, latency,
and throttles
• Built-in logs in Amazon
CloudWatch logs
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda deployment options
MonitorProvisionDeployTestBuildCode
Amazon
CloudWatch
AWS CloudFormation
Code
Commit
CodePipeline
CodeBuild
X-ray
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What about the front end….
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Benefits of Amazon API Gateway
Create a unified
API front end for
multiple micro
services
DDoS protection
and throttling for
backend systems
Authenticate and
authorize requests
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Working with Amazon API Gateway
Publish
Maintain MonitorSecure
Create Configure
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
API call flow
Interne
t
Mobile
apps
Websites
Partner
Services
AWS Lambda
functions
API
Gateway
response
cache
Endpoints on
Amazon EC2
Any publicly
accessible
endpoint
Amazon
CloudWatch
Amazon
CloudFront
API
Gateway
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lets talk about data…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Relational vs. NoSQL?
Optimized for storage Optimized for compute
Normalized/relational
Denormalized/hierarchical
(flexible schema)
Case-specific queries Instantiated views
Scale vertically Scale horizontally
Good for OLAP Built for OLTP at scale
SQL NoSQL
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Highly available
and durable
Consistently fast at any scale Fully managed
Secure
Integrates with AWS Lambda,
Amazon Redshift, and more
Benefits of Amazon DynamoDB
Cost-effective
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Scalability Performance Security Manageability Developer platform
• Millions of
reads/sec from
single DAX cluster
• Unlimited items
and storage
• Managed
Auto Scaling
• Consistent,
single-digit
millisecond latency
• Microsecond
response times
with
DynamoDB
Accelerator
(DAX)
• Monitor with
CloudWatch metrics
and logging with
CloudTrail
• Client-side
encryption library
• Secure, private VPC
endpoints
• Pay-as-you-grow for
capacity and storage
independently
• Track table-level
spending with Tagging
• Purge data
automatically
(Time To Live)
• Event-driven programming
with triggers and Lambda
• Advanced analytics with
Amazon EMR and Amazon
Redshift
• Full-text query support
with Amazon Elasticsearch
Service
DynamoDB features at a glance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
serverless architecture
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Old process
Customer
Customer
service
1. Calls customer service
2. Manually raises a ticket
to the transportation team
Pickup
specialist
3. Schedules a pickup at
customer’s address
4. Driver picks up totes
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A better solution
Customer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
A better solution
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Requirements
Time to market Managed infrastructure Cost-effective
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Architecture overview
Amazon S3
DynamoDB
API Gateway Lambda
functions
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use cases
Totes
pickup service
1. Verify eligibility
2. Schedule pickup request
3. Reporting
Is customer eligible to
request a totes pickup?
Schedule a totes pickup
at the provided address
Generate periodic reports
for business intelligence
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use cases
Totes
pickup service
1. Verify eligibility
2. Schedule pickup request
3. Reporting
Is customer eligible to
request a totes pickup?
Schedule a totes pickup
at the provided address
Generate periodic reports
for business intelligence
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use case 1—verify eligibility
Fetch the last
customer
order
Is it
delivered?
Has
customer
already
requested a
pickup?
No Yes
Amazon internal systems
Is eligible
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use cases
Totes
pickup service
1. Verify eligibility
2. Schedule pickup request
3. Reporting
Is customer eligible to
request a totes pickup?
Schedule a totes pickup
at the provided address
Generate periodic reports
for business intelligence
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use case 2—schedule pickup request
API
DynamoDBTotes pickup
Transportation
systems
Save request
Schedule pickup
notification
Request
pickup
• Totes count
• Associated delivery address
• Delivery instructions
• Transportation system
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use cases
Totes
pickup service
1. Verify eligibility
2. Schedule pickup request
3. Reporting
Is customer eligible to
request a totes pickup?
Schedule a totes pickup
at the provided address
Generate periodic reports
for business intelligence
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use case 3—reporting
DynamoDB
Amazon
S3 bucket
Scheduled execution
Asynchronous
Generate report
List of requests
in the day
Amazon
SES
1. Query pickup requests
3. Send email
Amazon CloudWatch 2. Save report
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Totes pickup—the data layer
DynamoDB
Access patterns
1. Get pickup requests by CustomerId and Address
2. Get all pickup requests by CustomerId
3. Query pickup requests for a given time range
and…
Flexible schema with JSON document
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DynamoDB design
Sample Item
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Good partition key (uniformity)
• Allows for quick lookup of
pickup requests for a given
customer at a given address
DynamoDB design
• Allows for multiple requests
to be placed for a customer at
a given address, but at
different times
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Global secondary indexes
Get all pickup requests
by CustomerId
2
Get pickup requests for a
given time range
1
1
2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DynamoDB throughput capacity
• 1 Read Capacity Unit (RCU) =
one 4 KB strongly consistent
read or two 4KB eventually
consistent reads
• 1 Write Capacity Unit (WCU) =
One 1 KB write
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How we choose the right capacity
Estimated load/trafficMeasured item sizeIdentified
access patterns
1 2 3
Reads and writes
Average size in KB for
each item in DynamoDB
Totes pickup requests
per second
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
For example, write capacity
10 TPS
Totes pickup requests
per second
3 KB
Item size
=
Min: 30 units
Max: 60 units
With Auto Scaling
1 write unit = 1 KB per second
Doing the math
10 x 3 = 30 units per second
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DynamoDB monitoring
Metrics Statistics Sample Alarm
Throttle requests Count Count > 10 in 5 minutes
Consumed read capacity units Sum Sum > 8,000 in 1 minute
Consumed write capacity units Sum Sum > 8,000 in 1 minute
• Monitoring needs to be enabled for table and GSIs separately
• Throttle requests can be monitored at the API level (i.e. Get, Put)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best practices we followed on DynamoDB
 Chose a partition key that provided an even data distribution
 Used global secondary indexes (GSI) to satisfy all of the data access requirements
 Estimated throughput capacity based on the workload and item size
 Handled sporadic traffic spikes using DynamoDB Auto Scaling
 Used DocumentClient to handle JSON objects and retries on throttle exceptions
 CloudWatch monitoring
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Totes pickup—the compute layer
Lambda function Timeout Memory Execution Runtime
tote-pickup-get-recent-requests 10 sec 512 MB Sync Node.js 6.10
tote-pickup-find-eligibility 10 sec 512 MB Sync Node.js 6.10
tote-pickup-email-report 10 sec 512 MB Sync Node.js 6.10
tote-pickup-daily-requests-report 5 min 1,536 MB Async Node.js 6.10
tote-pickup-report-by-region 5 min 1,536 MB Async Node.js 6.10
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Totes pickup—Lambda execution model
Amazon
API Gateway
/request
Daily report
CloudWatch
AsynchronousSynchronous
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda monitoring
Metrics Statistics Sample Alarm
Errors Count Count > 5 in 10 minutes
Invocation duration Average Average > 750 in 15 minutes
Throttled invocations Count Count > 5 in 10 minutes
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best practices we followed on Lambda
Design
 One function per use case vs. monolithic large Lambda function
 Separated the Lambda handler (entry point) from the core logic
 Used environment variables to pass operational parameters
 Avoided placing Lambdas in VPC if not needed
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Best practices we followed on Lambda
Operations
 Set CloudWatch alarms on throttled invocations and errors
 Used dead letter queues to handle errors on async invocations
 Were aware of the concurrency limits; limits apply per account per region
 Leveraged CloudWatch events for scheduled invocations
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Totes pickup—the API layer
• Smooth integration with Lambda
• Secure (https)
• Track requests per client with API Keys
• Stages
• Throttling and usage plans
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Provisioning & management
CloudFormation to create and update:
IAM roles, DynamoDB tables, Lambda functions, API endpoints, Amazon S3
Buckets
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Results
Savings per SDE
per week in
operational work
Development effort
with a small team
Savings per month
in customer service
Hundreds
of hours
3.7 hours
Better customer
experience
3 Months
3.7 hours
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
THANK YOU! Please remember to fill
out your surveys
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Related sessions
SRV305—What's New in Serverless
ARC406—Replacing 100s of DBs with 1 or: How Amazon’s Order Processing Workflow System
Learned to Stop Worrying and Love its Scale
DAT326—How DynamoDB Powered Amazon's Prime Day 2017
ABD321—Don’t Wait Until Tomorrow: How to Use Streaming Data to Gain Real-time Insights
into Your Business
ARC307—From Monolithic to Microservices: Evolving Architecture Patterns in the Cloud

Mais conteúdo relacionado

Mais procurados

DVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
DVC304_Compliance and Top Security Threats in the Cloud—Are You ProtectedDVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
DVC304_Compliance and Top Security Threats in the Cloud—Are You ProtectedAmazon Web Services
 
AMF303-Deep Dive into the Connected Vehicle Reference Architecture.pdf
AMF303-Deep Dive into the Connected Vehicle Reference Architecture.pdfAMF303-Deep Dive into the Connected Vehicle Reference Architecture.pdf
AMF303-Deep Dive into the Connected Vehicle Reference Architecture.pdfAmazon Web Services
 
TLC304-At the Cutting Edge AWS IOT and Greengrass for Multi-Access Edge Compu...
TLC304-At the Cutting Edge AWS IOT and Greengrass for Multi-Access Edge Compu...TLC304-At the Cutting Edge AWS IOT and Greengrass for Multi-Access Edge Compu...
TLC304-At the Cutting Edge AWS IOT and Greengrass for Multi-Access Edge Compu...Amazon Web Services
 
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...Amazon Web Services
 
DVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationDVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationAmazon Web Services
 
GPSTEC318-IoT Security from Manufacturing to Maintenance
GPSTEC318-IoT Security from Manufacturing to MaintenanceGPSTEC318-IoT Security from Manufacturing to Maintenance
GPSTEC318-IoT Security from Manufacturing to MaintenanceAmazon Web Services
 
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingGAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingAmazon Web Services
 
GPSBUS208-GPS DevOps transformations leading to cloud migrations
GPSBUS208-GPS DevOps transformations leading to cloud migrationsGPSBUS208-GPS DevOps transformations leading to cloud migrations
GPSBUS208-GPS DevOps transformations leading to cloud migrationsAmazon Web Services
 
MAE401_Designing for DisneyMarvel Studio-Grade Security
MAE401_Designing for DisneyMarvel Studio-Grade SecurityMAE401_Designing for DisneyMarvel Studio-Grade Security
MAE401_Designing for DisneyMarvel Studio-Grade SecurityAmazon Web Services
 
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfWPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfAmazon Web Services
 
NEW LAUNCH! Realtime and Offline application development using GraphQL with A...
NEW LAUNCH! Realtime and Offline application development using GraphQL with A...NEW LAUNCH! Realtime and Offline application development using GraphQL with A...
NEW LAUNCH! Realtime and Offline application development using GraphQL with A...Amazon Web Services
 
Enabling Big Data Computing at Pfizer with AWS Service Catalog and AWS Lambda...
Enabling Big Data Computing at Pfizer with AWS Service Catalog and AWS Lambda...Enabling Big Data Computing at Pfizer with AWS Service Catalog and AWS Lambda...
Enabling Big Data Computing at Pfizer with AWS Service Catalog and AWS Lambda...Amazon Web Services
 
RET301-Build Single Customer View across Multiple Retail Channels using AWS S...
RET301-Build Single Customer View across Multiple Retail Channels using AWS S...RET301-Build Single Customer View across Multiple Retail Channels using AWS S...
RET301-Build Single Customer View across Multiple Retail Channels using AWS S...Amazon Web Services
 
CMP216_Use Amazon EC2 Spot Instances to Deploy a Deep Learning Framework on A...
CMP216_Use Amazon EC2 Spot Instances to Deploy a Deep Learning Framework on A...CMP216_Use Amazon EC2 Spot Instances to Deploy a Deep Learning Framework on A...
CMP216_Use Amazon EC2 Spot Instances to Deploy a Deep Learning Framework on A...Amazon Web Services
 
ABD202_Best Practices for Building Serverless Big Data Applications
ABD202_Best Practices for Building Serverless Big Data ApplicationsABD202_Best Practices for Building Serverless Big Data Applications
ABD202_Best Practices for Building Serverless Big Data ApplicationsAmazon Web Services
 
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...Amazon Web Services
 
GPSBUS202_Driving Customer Value with Big Data Analytics
GPSBUS202_Driving Customer Value with Big Data AnalyticsGPSBUS202_Driving Customer Value with Big Data Analytics
GPSBUS202_Driving Customer Value with Big Data AnalyticsAmazon Web Services
 
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon AlexaMCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon AlexaAmazon Web Services
 

Mais procurados (20)

DVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
DVC304_Compliance and Top Security Threats in the Cloud—Are You ProtectedDVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
DVC304_Compliance and Top Security Threats in the Cloud—Are You Protected
 
AMF303-Deep Dive into the Connected Vehicle Reference Architecture.pdf
AMF303-Deep Dive into the Connected Vehicle Reference Architecture.pdfAMF303-Deep Dive into the Connected Vehicle Reference Architecture.pdf
AMF303-Deep Dive into the Connected Vehicle Reference Architecture.pdf
 
TLC304-At the Cutting Edge AWS IOT and Greengrass for Multi-Access Edge Compu...
TLC304-At the Cutting Edge AWS IOT and Greengrass for Multi-Access Edge Compu...TLC304-At the Cutting Edge AWS IOT and Greengrass for Multi-Access Edge Compu...
TLC304-At the Cutting Edge AWS IOT and Greengrass for Multi-Access Edge Compu...
 
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
 
DVC202_The Open Guide to AWS
DVC202_The Open Guide to AWSDVC202_The Open Guide to AWS
DVC202_The Open Guide to AWS
 
DVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational TransformationDVC303-Technological Accelerants for Organizational Transformation
DVC303-Technological Accelerants for Organizational Transformation
 
GPSTEC318-IoT Security from Manufacturing to Maintenance
GPSTEC318-IoT Security from Manufacturing to MaintenanceGPSTEC318-IoT Security from Manufacturing to Maintenance
GPSTEC318-IoT Security from Manufacturing to Maintenance
 
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game BalancingGAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
GAM310_Build a Telemetry and Analytics Pipeline for Game Balancing
 
GPSBUS208-GPS DevOps transformations leading to cloud migrations
GPSBUS208-GPS DevOps transformations leading to cloud migrationsGPSBUS208-GPS DevOps transformations leading to cloud migrations
GPSBUS208-GPS DevOps transformations leading to cloud migrations
 
MAE401_Designing for DisneyMarvel Studio-Grade Security
MAE401_Designing for DisneyMarvel Studio-Grade SecurityMAE401_Designing for DisneyMarvel Studio-Grade Security
MAE401_Designing for DisneyMarvel Studio-Grade Security
 
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdfWPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
WPS301-Navigating HIPAA and HITRUST_QuickStart Guide to Account Gov Strat.pdf
 
NEW LAUNCH! Realtime and Offline application development using GraphQL with A...
NEW LAUNCH! Realtime and Offline application development using GraphQL with A...NEW LAUNCH! Realtime and Offline application development using GraphQL with A...
NEW LAUNCH! Realtime and Offline application development using GraphQL with A...
 
Enabling Big Data Computing at Pfizer with AWS Service Catalog and AWS Lambda...
Enabling Big Data Computing at Pfizer with AWS Service Catalog and AWS Lambda...Enabling Big Data Computing at Pfizer with AWS Service Catalog and AWS Lambda...
Enabling Big Data Computing at Pfizer with AWS Service Catalog and AWS Lambda...
 
RET301-Build Single Customer View across Multiple Retail Channels using AWS S...
RET301-Build Single Customer View across Multiple Retail Channels using AWS S...RET301-Build Single Customer View across Multiple Retail Channels using AWS S...
RET301-Build Single Customer View across Multiple Retail Channels using AWS S...
 
CMP216_Use Amazon EC2 Spot Instances to Deploy a Deep Learning Framework on A...
CMP216_Use Amazon EC2 Spot Instances to Deploy a Deep Learning Framework on A...CMP216_Use Amazon EC2 Spot Instances to Deploy a Deep Learning Framework on A...
CMP216_Use Amazon EC2 Spot Instances to Deploy a Deep Learning Framework on A...
 
ABD202_Best Practices for Building Serverless Big Data Applications
ABD202_Best Practices for Building Serverless Big Data ApplicationsABD202_Best Practices for Building Serverless Big Data Applications
ABD202_Best Practices for Building Serverless Big Data Applications
 
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
Best Practices for Distributed Machine Learning and Predictive Analytics Usin...
 
GPSBUS202_Driving Customer Value with Big Data Analytics
GPSBUS202_Driving Customer Value with Big Data AnalyticsGPSBUS202_Driving Customer Value with Big Data Analytics
GPSBUS202_Driving Customer Value with Big Data Analytics
 
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon AlexaMCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
MCL202_Ally Bank & Cognizant Transforming Customer Experience Using Amazon Alexa
 
MAE301_Boom for your Buck
MAE301_Boom for your BuckMAE301_Boom for your Buck
MAE301_Boom for your Buck
 

Semelhante a RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless Architecture That Powers Amazon Fresh

如何以 serverless 架構打造快速回應客戶需求的零售情境 (Level: 200)
如何以 serverless 架構打造快速回應客戶需求的零售情境 (Level: 200)如何以 serverless 架構打造快速回應客戶需求的零售情境 (Level: 200)
如何以 serverless 架構打造快速回應客戶需求的零售情境 (Level: 200)Amazon Web Services
 
How serverless helps startups innovate and scale
How serverless helps startups innovate and scaleHow serverless helps startups innovate and scale
How serverless helps startups innovate and scaleGabe Hollombe
 
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAmazon Web Services
 
What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017Amazon Web Services
 
Cox Automotive’s Data Center Migration to the AWS Cloud - ENT330 - re:Invent ...
Cox Automotive’s Data Center Migration to the AWS Cloud - ENT330 - re:Invent ...Cox Automotive’s Data Center Migration to the AWS Cloud - ENT330 - re:Invent ...
Cox Automotive’s Data Center Migration to the AWS Cloud - ENT330 - re:Invent ...Amazon Web Services
 
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeGPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeAmazon Web Services
 
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...Amazon Web Services
 
Reactive Architectures with Microservices
Reactive Architectures with MicroservicesReactive Architectures with Microservices
Reactive Architectures with MicroservicesAWS Germany
 
How to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsHow to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsAmazon Web Services
 
Build a Serverless Web Application in One Day
Build a Serverless Web Application in One DayBuild a Serverless Web Application in One Day
Build a Serverless Web Application in One DayAmazon Web Services
 
Serverless: State of The Union I AWS Dev Day 2018
Serverless: State of The Union I AWS Dev Day 2018Serverless: State of The Union I AWS Dev Day 2018
Serverless: State of The Union I AWS Dev Day 2018AWS Germany
 
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...Amazon Web Services
 
CON208_Building Microservices on AWS
CON208_Building Microservices on AWSCON208_Building Microservices on AWS
CON208_Building Microservices on AWSAmazon Web Services
 
AWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless ArchitectureAWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless ArchitectureJohn Yeung
 
Introduction to AWS for Mobile Developers
Introduction to AWS for Mobile DevelopersIntroduction to AWS for Mobile Developers
Introduction to AWS for Mobile DevelopersAmazon Web Services
 
Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersAdrian Hornsby
 
Intro To AWS for Mobile Developers: Collision 2018
Intro To AWS for Mobile Developers: Collision 2018Intro To AWS for Mobile Developers: Collision 2018
Intro To AWS for Mobile Developers: Collision 2018Amazon Web Services
 
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWSGPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWSAmazon Web Services
 

Semelhante a RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless Architecture That Powers Amazon Fresh (20)

如何以 serverless 架構打造快速回應客戶需求的零售情境 (Level: 200)
如何以 serverless 架構打造快速回應客戶需求的零售情境 (Level: 200)如何以 serverless 架構打造快速回應客戶需求的零售情境 (Level: 200)
如何以 serverless 架構打造快速回應客戶需求的零售情境 (Level: 200)
 
How serverless helps startups innovate and scale
How serverless helps startups innovate and scaleHow serverless helps startups innovate and scale
How serverless helps startups innovate and scale
 
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech TalksAWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
AWS X-Ray: Debugging Applications at Scale - AWS Online Tech Talks
 
What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017What's New in Serverless - SRV305 - re:Invent 2017
What's New in Serverless - SRV305 - re:Invent 2017
 
Serverless Developer Experience
Serverless Developer ExperienceServerless Developer Experience
Serverless Developer Experience
 
Cox Automotive’s Data Center Migration to the AWS Cloud - ENT330 - re:Invent ...
Cox Automotive’s Data Center Migration to the AWS Cloud - ENT330 - re:Invent ...Cox Automotive’s Data Center Migration to the AWS Cloud - ENT330 - re:Invent ...
Cox Automotive’s Data Center Migration to the AWS Cloud - ENT330 - re:Invent ...
 
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP PracticeGPSBUS204_Building a Profitable Next Generation AWS MSP Practice
GPSBUS204_Building a Profitable Next Generation AWS MSP Practice
 
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...
Building secure and scalable mobile applications on AWS - AWS Summit Cape Tow...
 
Reactive Architectures with Microservices
Reactive Architectures with MicroservicesReactive Architectures with Microservices
Reactive Architectures with Microservices
 
How to Build Scalable Serverless Applications
How to Build Scalable Serverless ApplicationsHow to Build Scalable Serverless Applications
How to Build Scalable Serverless Applications
 
Build a Serverless Web Application in One Day
Build a Serverless Web Application in One DayBuild a Serverless Web Application in One Day
Build a Serverless Web Application in One Day
 
Serverless: State of The Union I AWS Dev Day 2018
Serverless: State of The Union I AWS Dev Day 2018Serverless: State of The Union I AWS Dev Day 2018
Serverless: State of The Union I AWS Dev Day 2018
 
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
CMP319_Easily Coordinate Microservices, Build Serverless Apps, and Automate T...
 
CON208_Building Microservices on AWS
CON208_Building Microservices on AWSCON208_Building Microservices on AWS
CON208_Building Microservices on AWS
 
AWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless ArchitectureAWS Application Service Workshop - Serverless Architecture
AWS Application Service Workshop - Serverless Architecture
 
What's New in Serverless
What's New in ServerlessWhat's New in Serverless
What's New in Serverless
 
Introduction to AWS for Mobile Developers
Introduction to AWS for Mobile DevelopersIntroduction to AWS for Mobile Developers
Introduction to AWS for Mobile Developers
 
Journey Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million UsersJourney Towards Scaling Your API to 10 Million Users
Journey Towards Scaling Your API to 10 Million Users
 
Intro To AWS for Mobile Developers: Collision 2018
Intro To AWS for Mobile Developers: Collision 2018Intro To AWS for Mobile Developers: Collision 2018
Intro To AWS for Mobile Developers: Collision 2018
 
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWSGPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
GPSBUS215-Maximize Innovation and Agility by Building Your SAAS Solution on AWS
 

Mais de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Mais de Amazon Web Services (20)

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

RET304_Rapidly Respond to Demanding Retail Customers with the Same Serverless Architecture That Powers Amazon Fresh

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS re:INVENT Rapidly Respond to Demanding Retail Customers with the Same Serverless Architecture That Powers Amazon Fresh G o w r i B a l a s u b r a m a n i a n , S r . S o l u t i o n s A r c h i t e c t , A W S F e r n a n d o D i n g l e r , S o f t w a r e E n g i n e e r , A m a z o n F r e s h N o v e m b e r 2 7 , 2 0 1 7 R E T 3 0 4
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What to expect from this session • Retail industry’s use cases on AWS • Introduction of serverless architectures • Overview of AWS Lambda, Amazon API Gateway and Amazon DynamoDB services • - Serverless architecture
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Retail Workloads on AWS—Key Benefits Develop applications faster with focus on features that differentiate your business Scale on demand to handle seasonal peaks or variance (for example, for Black Friday) Reduce overall IT costs—CAPEX to OPEX model, further minimize operational cost via AWS managed services Reach customers in regions across the globe Implement agile approach to data and analytics
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Made.com provides a website that links home- furnishings designers directly to consumers. We broke our sales record two weeks into the month- long sale thanks to disruption-free service from AWS. Jonathan Howell Chief Technology Officer ” “ Customers Brooks Brothers is a leading U.S. retailer of fashion and accessories. Using AWS ... we can be more nimble, which opens up many more possibilities for our business. Sahal Laher Executive Vice President and CEO, ” “
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Retailer's focus areas E-commerce • Digital commerce stacks (SAP Hybris, IBM Webshpere Commerce, etc.) • Omni-channel customer interactions (Mobile backend, web applications) Big data/analytics • Single view of the customer driven by omni-channel • Guided selling/product recommendation Digital customer experience • Voice/chat apps—e.g., digital shopping assistant • Call-center automation—e.g., product returns • IoT (Internet of Things) for in-store and operations automation
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Nordstrom gives personalized style recommendations in seconds . - Keith Homewood cloud product owner, Nordstrom ” “ • Nordstrom Recommendation is the online version of a stylist. It can analyze and deliver personalized recommendations in seconds • Going all-in on AWS has resulted in reducing costs by 2X • Continuous delivery allows Nordstrom to deliver multiple production launches a day in a single application • Can now create a personalized recommendation in seconds, in what used to take 15-20 minutes of processing Nordstrom AWS allows us to truly be customer-focused and to get out of operational details and problems. https://aws.amazon.com/solutions/case-studies/nordstrom/
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Virtual servers in the cloud (Amazon EC2) Containers in the cloud (Amazon ECS) Serverless with the cloud Evolving to serverless Growing number of retail customers are using serverless
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cost-effective and efficient No infrastructure to manage Pay only for what you use Continuous scaling Productivity-focused compute platform to build powerful, dynamic, modular applications in the cloud Automatically scales to the workload Focus on business logic Why serverless platform? 1 2 3
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Components of serverless architectures AWS Lambda Trigger-based Lambda functions Streaming data Amazon Kinesis Amazon DynamoDB Streams APIs Amazon API Gateway Event sources Amazon CloudWatch Amazon S3 AWS Config Amazon SNS Data Persistence Amazon DynamoDB AWS Elasticsearch Service Amazon S3 Integration Points Amazon VPC resources AWS service APIs Third-party services
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless web/mobile applications Internet Mobile apps AWS Lambda AWS API Gateway Amazon DynamoDB Web browser
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Working with AWS Lambda Event source Function Services (anything) Changes in data state Requests to endpoints Changes in resource state Node Python Java C# … more coming soon
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon S3 Amazon DynamoDB Amazon Kinesis AWS CloudFormatio n AWS CloudTrail Amazon CloudWatch Amazon SNSAmazon SES Amazon API Gateway Amazon Cognito Amazon Alexa Cron events Data stores Endpoints Configuration repositories Event/message services Event sources that trigger AWS Lambda … and the list will continue to grow! AWS CodeCommit AWS IoT
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda programming model Bring your own code • Node.js, Java, Python, C# • Bring your own libraries • Environment variables Simple resource model • Select power rating from 128 MB to 1.5 GB • CPU and network allocated proportionately Stateless • Persist data using Amazon DynamoDB or Amazon S3 • No affinity to infrastructure (can’t “log in to the box”) Monitoring and logging • Built-in metrics for requests, errors, latency, and throttles • Built-in logs in Amazon CloudWatch logs
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda deployment options MonitorProvisionDeployTestBuildCode Amazon CloudWatch AWS CloudFormation Code Commit CodePipeline CodeBuild X-ray
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What about the front end….
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Benefits of Amazon API Gateway Create a unified API front end for multiple micro services DDoS protection and throttling for backend systems Authenticate and authorize requests
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Working with Amazon API Gateway Publish Maintain MonitorSecure Create Configure
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. API call flow Interne t Mobile apps Websites Partner Services AWS Lambda functions API Gateway response cache Endpoints on Amazon EC2 Any publicly accessible endpoint Amazon CloudWatch Amazon CloudFront API Gateway
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lets talk about data…
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Relational vs. NoSQL? Optimized for storage Optimized for compute Normalized/relational Denormalized/hierarchical (flexible schema) Case-specific queries Instantiated views Scale vertically Scale horizontally Good for OLAP Built for OLTP at scale SQL NoSQL
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Highly available and durable Consistently fast at any scale Fully managed Secure Integrates with AWS Lambda, Amazon Redshift, and more Benefits of Amazon DynamoDB Cost-effective
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Scalability Performance Security Manageability Developer platform • Millions of reads/sec from single DAX cluster • Unlimited items and storage • Managed Auto Scaling • Consistent, single-digit millisecond latency • Microsecond response times with DynamoDB Accelerator (DAX) • Monitor with CloudWatch metrics and logging with CloudTrail • Client-side encryption library • Secure, private VPC endpoints • Pay-as-you-grow for capacity and storage independently • Track table-level spending with Tagging • Purge data automatically (Time To Live) • Event-driven programming with triggers and Lambda • Advanced analytics with Amazon EMR and Amazon Redshift • Full-text query support with Amazon Elasticsearch Service DynamoDB features at a glance
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. serverless architecture
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Old process Customer Customer service 1. Calls customer service 2. Manually raises a ticket to the transportation team Pickup specialist 3. Schedules a pickup at customer’s address 4. Driver picks up totes
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A better solution Customer
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. A better solution
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Requirements Time to market Managed infrastructure Cost-effective
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Architecture overview Amazon S3 DynamoDB API Gateway Lambda functions
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use cases Totes pickup service 1. Verify eligibility 2. Schedule pickup request 3. Reporting Is customer eligible to request a totes pickup? Schedule a totes pickup at the provided address Generate periodic reports for business intelligence
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use cases Totes pickup service 1. Verify eligibility 2. Schedule pickup request 3. Reporting Is customer eligible to request a totes pickup? Schedule a totes pickup at the provided address Generate periodic reports for business intelligence
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use case 1—verify eligibility Fetch the last customer order Is it delivered? Has customer already requested a pickup? No Yes Amazon internal systems Is eligible
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use cases Totes pickup service 1. Verify eligibility 2. Schedule pickup request 3. Reporting Is customer eligible to request a totes pickup? Schedule a totes pickup at the provided address Generate periodic reports for business intelligence
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use case 2—schedule pickup request API DynamoDBTotes pickup Transportation systems Save request Schedule pickup notification Request pickup • Totes count • Associated delivery address • Delivery instructions • Transportation system
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use cases Totes pickup service 1. Verify eligibility 2. Schedule pickup request 3. Reporting Is customer eligible to request a totes pickup? Schedule a totes pickup at the provided address Generate periodic reports for business intelligence
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use case 3—reporting DynamoDB Amazon S3 bucket Scheduled execution Asynchronous Generate report List of requests in the day Amazon SES 1. Query pickup requests 3. Send email Amazon CloudWatch 2. Save report
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Totes pickup—the data layer DynamoDB Access patterns 1. Get pickup requests by CustomerId and Address 2. Get all pickup requests by CustomerId 3. Query pickup requests for a given time range and… Flexible schema with JSON document
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DynamoDB design Sample Item
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Good partition key (uniformity) • Allows for quick lookup of pickup requests for a given customer at a given address DynamoDB design • Allows for multiple requests to be placed for a customer at a given address, but at different times
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Global secondary indexes Get all pickup requests by CustomerId 2 Get pickup requests for a given time range 1 1 2
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DynamoDB throughput capacity • 1 Read Capacity Unit (RCU) = one 4 KB strongly consistent read or two 4KB eventually consistent reads • 1 Write Capacity Unit (WCU) = One 1 KB write
  • 45. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How we choose the right capacity Estimated load/trafficMeasured item sizeIdentified access patterns 1 2 3 Reads and writes Average size in KB for each item in DynamoDB Totes pickup requests per second
  • 46. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. For example, write capacity 10 TPS Totes pickup requests per second 3 KB Item size = Min: 30 units Max: 60 units With Auto Scaling 1 write unit = 1 KB per second Doing the math 10 x 3 = 30 units per second
  • 47. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DynamoDB monitoring Metrics Statistics Sample Alarm Throttle requests Count Count > 10 in 5 minutes Consumed read capacity units Sum Sum > 8,000 in 1 minute Consumed write capacity units Sum Sum > 8,000 in 1 minute • Monitoring needs to be enabled for table and GSIs separately • Throttle requests can be monitored at the API level (i.e. Get, Put)
  • 48. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best practices we followed on DynamoDB  Chose a partition key that provided an even data distribution  Used global secondary indexes (GSI) to satisfy all of the data access requirements  Estimated throughput capacity based on the workload and item size  Handled sporadic traffic spikes using DynamoDB Auto Scaling  Used DocumentClient to handle JSON objects and retries on throttle exceptions  CloudWatch monitoring
  • 49. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Totes pickup—the compute layer Lambda function Timeout Memory Execution Runtime tote-pickup-get-recent-requests 10 sec 512 MB Sync Node.js 6.10 tote-pickup-find-eligibility 10 sec 512 MB Sync Node.js 6.10 tote-pickup-email-report 10 sec 512 MB Sync Node.js 6.10 tote-pickup-daily-requests-report 5 min 1,536 MB Async Node.js 6.10 tote-pickup-report-by-region 5 min 1,536 MB Async Node.js 6.10
  • 50. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Totes pickup—Lambda execution model Amazon API Gateway /request Daily report CloudWatch AsynchronousSynchronous
  • 51. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda monitoring Metrics Statistics Sample Alarm Errors Count Count > 5 in 10 minutes Invocation duration Average Average > 750 in 15 minutes Throttled invocations Count Count > 5 in 10 minutes
  • 52. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best practices we followed on Lambda Design  One function per use case vs. monolithic large Lambda function  Separated the Lambda handler (entry point) from the core logic  Used environment variables to pass operational parameters  Avoided placing Lambdas in VPC if not needed
  • 53. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Best practices we followed on Lambda Operations  Set CloudWatch alarms on throttled invocations and errors  Used dead letter queues to handle errors on async invocations  Were aware of the concurrency limits; limits apply per account per region  Leveraged CloudWatch events for scheduled invocations
  • 54. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Totes pickup—the API layer • Smooth integration with Lambda • Secure (https) • Track requests per client with API Keys • Stages • Throttling and usage plans
  • 55. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Provisioning & management CloudFormation to create and update: IAM roles, DynamoDB tables, Lambda functions, API endpoints, Amazon S3 Buckets
  • 56. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Results Savings per SDE per week in operational work Development effort with a small team Savings per month in customer service Hundreds of hours 3.7 hours Better customer experience 3 Months 3.7 hours
  • 57. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. THANK YOU! Please remember to fill out your surveys
  • 58. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Related sessions SRV305—What's New in Serverless ARC406—Replacing 100s of DBs with 1 or: How Amazon’s Order Processing Workflow System Learned to Stop Worrying and Love its Scale DAT326—How DynamoDB Powered Amazon's Prime Day 2017 ABD321—Don’t Wait Until Tomorrow: How to Use Streaming Data to Gain Real-time Insights into Your Business ARC307—From Monolithic to Microservices: Evolving Architecture Patterns in the Cloud