SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next-Generation Ecommerce
Architectures
Bastien Leblanc
Solutions Architect
Amazon Web Services
R E T 2 0 7
Charlie Wilkinson
Head of Architecture
River Island
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Introduction
 Modernize your existing retail systems
 Build next generation e-commerce systems
 E-commerce event sourcing
Conclusion and next steps
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ecommerce: it’s hard (and it’s getting harder)
Scale is different between customers …
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
E-commerce : it’s hard (and it’s getting harder)
• Scale
• Upgrade & Adapt
• Observability
• Future Proof
How to handle your (often unpredictable) peaks ?
How to update, upgrade, adapt at scale ?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scale: legacy ways of solving it
• Buy new servers
• Refuse connections
• Build a bigger monolith
• Tell your business you cannot
do more
• We have to find a better way
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
 Modernize your existing retail systems
• Classical e-commerce applications typically used by retailers:
• The same principles to modernize apply to almost all n-tiers legacy e-
commerce applications
IBM WebSphere
Commerce
Oracle ATG
Web Commerce
SAP Hybris
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Typical n-tier ecommerce architecture
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Typical n-tier ecommerce architecture: the database
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Typical n-tier ecommerce architecture: application
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SAP Hybris on AWS by Piksel Retail
https://aws.amazon.com/blogs/apn/hosting-sap-hybris-commerce-on-aws-with-piksel-retail/
SAP Hybris
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
River Island bespoke .NET stack
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why build your next-generation ecommerce?
• Pressure from the business to change
• We cannot change the website for six
months
• Lots of businesses are extending their
freeze period
• Scale
• Agility
• Lots of smaller changes => better
uptime and knowledge of your system
Photo by Ian Stauffer on Unsplash
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Architecture principles for next-gen ecommerce
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next-generation ecommerce: where to start?
• Search
• Catalog
• Content
• Pricing
• Offers
• Payment
• Promotions
• Inventory
• Consumer
Profile
• Cart &
Checkout
• Product
MDM
Next Steps
• Break up your monolith
• Build services independently
• Expose services via APIs
• Expose business events
• Focus your tech design
around capabilities
Typical ecommerce capabilities:
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Architecture design implementation
These principles lead to some choices to make on implementation:
- Decoupling/Messaging
- Exchange of the event objects, Amazon Simple Queue Service (Amazon SQS), Amazon MQ,
or Amazon Kinesis?
- Storing
- Which object store or database to choose?
- Compute
- Where and how to run your ecommerce application?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Compute for ecommerce applications
Principles:
- Flexible
- Massive scale
- Cost-effective
- Efficient code delivery
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Compute: serverless at River Island
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Compute: serverless at River Island
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Decouple
Principles:
- Loose coupling
- API or messaging as a pattern
- Business functions: one at a time
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next-gen ecommerce architecture: decouple
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Store: object store or database?
Principles
- Open and extensible
- Cloud native
- Multi-region ready
- Scale ready
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Store: object store or database?
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Store: River Island’s choices
Amazon S3 as
the foundation
of our data lake
Aurora for
MySQL
compatibility &
great features
Amazon
DynamoDB for
key/value
Streams
bonus!
Some teams
like Postgres!
PostgreSQL
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“The fundamental idea of event sourcing is that of
ensuring every change to the state of an application is
captured in an event object, and that these event
objects are themselves stored in the sequence they
were applied for the same lifetime as the application
state itself. Martin Fowler
https://martinfowler.com/eaaDev/EventSourcing.html
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
 Event Sourcing E-commerce
Principles:
- Event object: Everything must be captured as an
event
- Kinesis or SQS
- Stored in S3
- Sequence: Event objects must be stored, queryable
and re-playable
- All events in S3: good news, you can query them directly (Amazon
Redshift, Amazon Athena, Amazon EMR, etc. )
- Snapshots (on schedule): limit the replays
- Reverse dependencies
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Compute: serverless at River Island
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Next-generation ecommerce on AWS
Static content
Data Lake
StorageMessagingComputeAPI
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What’s next? Go build your e-commerce platform !
- Start from customers and build your
business
- Build a migration plan
- Migrate / Lift & Shift your on-premise
stack
- Choose one business function to be built
on the next generation stack & iterate
- Measure success
- Start small and Think Big
Photo by Jace Abshire on Unsplash
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Bastien Leblanc
@bastLeblanc
Charlie Wilkinson
@kabadisha
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

More Related Content

What's hot

Building Highly Scalable Retail Order Management Systems with Serverless
Building Highly Scalable Retail Order Management Systems with ServerlessBuilding Highly Scalable Retail Order Management Systems with Serverless
Building Highly Scalable Retail Order Management Systems with ServerlessAmazon Web Services
 
Can Apache Kafka Replace a Database?
Can Apache Kafka Replace a Database?Can Apache Kafka Replace a Database?
Can Apache Kafka Replace a Database?Kai Wähner
 
Amazon QuickSight First Call Deck
Amazon QuickSight First Call DeckAmazon QuickSight First Call Deck
Amazon QuickSight First Call DeckAmazon Web Services
 
AWS CDK introduction
AWS CDK introductionAWS CDK introduction
AWS CDK introductionleo lapworth
 
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...Amazon Web Services
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven ArchitectureStefan Norberg
 
Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Araf Karsh Hamid
 
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and LinkerdService Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and LinkerdKai Wähner
 
Serverless data and analytics on AWS for operations
Serverless data and analytics on AWS for operations Serverless data and analytics on AWS for operations
Serverless data and analytics on AWS for operations CloudHesive
 
Monitoring As a Service
Monitoring As a ServiceMonitoring As a Service
Monitoring As a ServiceJames Turnbull
 
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...Amazon Web Services
 
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019 The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019 Amazon Web Services
 
Accelerating App Development with AWS Amplify
Accelerating App Development with AWS AmplifyAccelerating App Development with AWS Amplify
Accelerating App Development with AWS AmplifyAmazon Web Services
 
AWS Enterprise First Call Deck
AWS Enterprise First Call DeckAWS Enterprise First Call Deck
AWS Enterprise First Call DeckAlexandre Melo
 
Microservice architecture design principles
Microservice architecture design principlesMicroservice architecture design principles
Microservice architecture design principlesSanjoy Kumar Roy
 
Kappa vs Lambda Architectures and Technology Comparison
Kappa vs Lambda Architectures and Technology ComparisonKappa vs Lambda Architectures and Technology Comparison
Kappa vs Lambda Architectures and Technology ComparisonKai Wähner
 
Amazon Connect delivers personalized customer experience for your contact center
Amazon Connect delivers personalized customer experience for your contact centerAmazon Connect delivers personalized customer experience for your contact center
Amazon Connect delivers personalized customer experience for your contact centerAmazon Web Services
 
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache KafkaBest Practices for Streaming IoT Data with MQTT and Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache KafkaKai Wähner
 

What's hot (20)

Building Highly Scalable Retail Order Management Systems with Serverless
Building Highly Scalable Retail Order Management Systems with ServerlessBuilding Highly Scalable Retail Order Management Systems with Serverless
Building Highly Scalable Retail Order Management Systems with Serverless
 
DevOps: The Amazon Story
DevOps: The Amazon StoryDevOps: The Amazon Story
DevOps: The Amazon Story
 
Can Apache Kafka Replace a Database?
Can Apache Kafka Replace a Database?Can Apache Kafka Replace a Database?
Can Apache Kafka Replace a Database?
 
Amazon QuickSight First Call Deck
Amazon QuickSight First Call DeckAmazon QuickSight First Call Deck
Amazon QuickSight First Call Deck
 
Microservice architecture
Microservice architectureMicroservice architecture
Microservice architecture
 
AWS CDK introduction
AWS CDK introductionAWS CDK introduction
AWS CDK introduction
 
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
 
Event Driven Architecture
Event Driven ArchitectureEvent Driven Architecture
Event Driven Architecture
 
Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics
 
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and LinkerdService Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
Service Mesh with Apache Kafka, Kubernetes, Envoy, Istio and Linkerd
 
Serverless data and analytics on AWS for operations
Serverless data and analytics on AWS for operations Serverless data and analytics on AWS for operations
Serverless data and analytics on AWS for operations
 
Monitoring As a Service
Monitoring As a ServiceMonitoring As a Service
Monitoring As a Service
 
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
Hands-on SaaS: Constructing a Multi-Tenant Solution on AWS (ARC327-R1) - AWS ...
 
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019 The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019
The fundamentals of AWS cloud security - FND209-R - AWS re:Inforce 2019
 
Accelerating App Development with AWS Amplify
Accelerating App Development with AWS AmplifyAccelerating App Development with AWS Amplify
Accelerating App Development with AWS Amplify
 
AWS Enterprise First Call Deck
AWS Enterprise First Call DeckAWS Enterprise First Call Deck
AWS Enterprise First Call Deck
 
Microservice architecture design principles
Microservice architecture design principlesMicroservice architecture design principles
Microservice architecture design principles
 
Kappa vs Lambda Architectures and Technology Comparison
Kappa vs Lambda Architectures and Technology ComparisonKappa vs Lambda Architectures and Technology Comparison
Kappa vs Lambda Architectures and Technology Comparison
 
Amazon Connect delivers personalized customer experience for your contact center
Amazon Connect delivers personalized customer experience for your contact centerAmazon Connect delivers personalized customer experience for your contact center
Amazon Connect delivers personalized customer experience for your contact center
 
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache KafkaBest Practices for Streaming IoT Data with MQTT and Apache Kafka
Best Practices for Streaming IoT Data with MQTT and Apache Kafka
 

Similar to Next-Generation e-Commerce Architectures (RET207) - AWS re:Invent 2018

Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...Amazon Web Services
 
AWS IoT for Frictionless Consumer Experiences in Retail (RET201) - AWS re:Inv...
AWS IoT for Frictionless Consumer Experiences in Retail (RET201) - AWS re:Inv...AWS IoT for Frictionless Consumer Experiences in Retail (RET201) - AWS re:Inv...
AWS IoT for Frictionless Consumer Experiences in Retail (RET201) - AWS re:Inv...Amazon Web Services
 
Your road to a Well Architected solution in the Cloud - Tel Aviv Summit 2018
Your road to a Well Architected solution in the Cloud - Tel Aviv Summit 2018Your road to a Well Architected solution in the Cloud - Tel Aviv Summit 2018
Your road to a Well Architected solution in the Cloud - Tel Aviv Summit 2018Amazon Web Services
 
How can your business benefit from going Serverless
How can your business benefit from going ServerlessHow can your business benefit from going Serverless
How can your business benefit from going ServerlessAmazon Web Services
 
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28Amazon Web Services
 
Accelerate Business Innovation Using AWS Serverless Technologies
Accelerate Business Innovation Using AWS Serverless TechnologiesAccelerate Business Innovation Using AWS Serverless Technologies
Accelerate Business Innovation Using AWS Serverless TechnologiesAmazon Web Services
 
How can your business benefit from going serverless?
How can your business benefit from going serverless?How can your business benefit from going serverless?
How can your business benefit from going serverless?Adrian Hornsby
 
Building Serverless IoT solutions - EPAM SEC 2018 Minsk
Building Serverless IoT solutions - EPAM SEC 2018 MinskBuilding Serverless IoT solutions - EPAM SEC 2018 Minsk
Building Serverless IoT solutions - EPAM SEC 2018 MinskBoaz Ziniman
 
Modernizing Media Supply Chains with AWS Serverless (API301) - AWS re:Invent ...
Modernizing Media Supply Chains with AWS Serverless (API301) - AWS re:Invent ...Modernizing Media Supply Chains with AWS Serverless (API301) - AWS re:Invent ...
Modernizing Media Supply Chains with AWS Serverless (API301) - AWS re:Invent ...Amazon Web Services
 
以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構Amazon Web Services
 
M&E Leadership Session: The State of the Industry, What's New from AWS for M&...
M&E Leadership Session: The State of the Industry, What's New from AWS for M&...M&E Leadership Session: The State of the Industry, What's New from AWS for M&...
M&E Leadership Session: The State of the Industry, What's New from AWS for M&...Amazon Web Services
 
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivBoaz Ziniman
 
Enterprise Cloud Adoption
Enterprise Cloud Adoption Enterprise Cloud Adoption
Enterprise Cloud Adoption Tom Laszewski
 
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m versionHeitor Lessa
 
Using AMS to get FSI Regulated Workloads on the Cloud, Fast - AWS Summit Sydn...
Using AMS to get FSI Regulated Workloads on the Cloud, Fast - AWS Summit Sydn...Using AMS to get FSI Regulated Workloads on the Cloud, Fast - AWS Summit Sydn...
Using AMS to get FSI Regulated Workloads on the Cloud, Fast - AWS Summit Sydn...Amazon Web Services
 

Similar to Next-Generation e-Commerce Architectures (RET207) - AWS re:Invent 2018 (20)

Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
Lessons Learned from a Large-Scale Legacy Migration with Sysco (STG311) - AWS...
 
AWS IoT for Frictionless Consumer Experiences in Retail (RET201) - AWS re:Inv...
AWS IoT for Frictionless Consumer Experiences in Retail (RET201) - AWS re:Inv...AWS IoT for Frictionless Consumer Experiences in Retail (RET201) - AWS re:Inv...
AWS IoT for Frictionless Consumer Experiences in Retail (RET201) - AWS re:Inv...
 
Breaking Down the 'Monowhat'
Breaking Down the 'Monowhat'Breaking Down the 'Monowhat'
Breaking Down the 'Monowhat'
 
Your road to a Well Architected solution in the Cloud - Tel Aviv Summit 2018
Your road to a Well Architected solution in the Cloud - Tel Aviv Summit 2018Your road to a Well Architected solution in the Cloud - Tel Aviv Summit 2018
Your road to a Well Architected solution in the Cloud - Tel Aviv Summit 2018
 
How can your business benefit from going Serverless
How can your business benefit from going ServerlessHow can your business benefit from going Serverless
How can your business benefit from going Serverless
 
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
 
Accelerate Business Innovation Using AWS Serverless Technologies
Accelerate Business Innovation Using AWS Serverless TechnologiesAccelerate Business Innovation Using AWS Serverless Technologies
Accelerate Business Innovation Using AWS Serverless Technologies
 
Microservices for Startups
Microservices for StartupsMicroservices for Startups
Microservices for Startups
 
How can your business benefit from going serverless?
How can your business benefit from going serverless?How can your business benefit from going serverless?
How can your business benefit from going serverless?
 
Building Serverless IoT solutions - EPAM SEC 2018 Minsk
Building Serverless IoT solutions - EPAM SEC 2018 MinskBuilding Serverless IoT solutions - EPAM SEC 2018 Minsk
Building Serverless IoT solutions - EPAM SEC 2018 Minsk
 
Modernizing Media Supply Chains with AWS Serverless (API301) - AWS re:Invent ...
Modernizing Media Supply Chains with AWS Serverless (API301) - AWS re:Invent ...Modernizing Media Supply Chains with AWS Serverless (API301) - AWS re:Invent ...
Modernizing Media Supply Chains with AWS Serverless (API301) - AWS re:Invent ...
 
以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構以容器技術為基礎的混合雲設計架構
以容器技術為基礎的混合雲設計架構
 
Serverless for Developers
Serverless for DevelopersServerless for Developers
Serverless for Developers
 
M&E Leadership Session: The State of the Industry, What's New from AWS for M&...
M&E Leadership Session: The State of the Industry, What's New from AWS for M&...M&E Leadership Session: The State of the Industry, What's New from AWS for M&...
M&E Leadership Session: The State of the Industry, What's New from AWS for M&...
 
Cheat your Way into the Cloud
Cheat your Way into the CloudCheat your Way into the Cloud
Cheat your Way into the Cloud
 
Wildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel AvivWildrydes Serverless Workshop Tel Aviv
Wildrydes Serverless Workshop Tel Aviv
 
Breaking Down the Monowhat
Breaking Down the MonowhatBreaking Down the Monowhat
Breaking Down the Monowhat
 
Enterprise Cloud Adoption
Enterprise Cloud Adoption Enterprise Cloud Adoption
Enterprise Cloud Adoption
 
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m version
 
Using AMS to get FSI Regulated Workloads on the Cloud, Fast - AWS Summit Sydn...
Using AMS to get FSI Regulated Workloads on the Cloud, Fast - AWS Summit Sydn...Using AMS to get FSI Regulated Workloads on the Cloud, Fast - AWS Summit Sydn...
Using AMS to get FSI Regulated Workloads on the Cloud, Fast - AWS Summit Sydn...
 

More from 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
 

More from 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
 

Next-Generation e-Commerce Architectures (RET207) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Next-Generation Ecommerce Architectures Bastien Leblanc Solutions Architect Amazon Web Services R E T 2 0 7 Charlie Wilkinson Head of Architecture River Island
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Introduction  Modernize your existing retail systems  Build next generation e-commerce systems  E-commerce event sourcing Conclusion and next steps
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ecommerce: it’s hard (and it’s getting harder) Scale is different between customers …
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. E-commerce : it’s hard (and it’s getting harder) • Scale • Upgrade & Adapt • Observability • Future Proof How to handle your (often unpredictable) peaks ? How to update, upgrade, adapt at scale ?
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scale: legacy ways of solving it • Buy new servers • Refuse connections • Build a bigger monolith • Tell your business you cannot do more • We have to find a better way
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.  Modernize your existing retail systems • Classical e-commerce applications typically used by retailers: • The same principles to modernize apply to almost all n-tiers legacy e- commerce applications IBM WebSphere Commerce Oracle ATG Web Commerce SAP Hybris
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Typical n-tier ecommerce architecture
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Typical n-tier ecommerce architecture: the database
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Typical n-tier ecommerce architecture: application
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. SAP Hybris on AWS by Piksel Retail https://aws.amazon.com/blogs/apn/hosting-sap-hybris-commerce-on-aws-with-piksel-retail/ SAP Hybris
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. River Island bespoke .NET stack
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why build your next-generation ecommerce? • Pressure from the business to change • We cannot change the website for six months • Lots of businesses are extending their freeze period • Scale • Agility • Lots of smaller changes => better uptime and knowledge of your system Photo by Ian Stauffer on Unsplash
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Architecture principles for next-gen ecommerce
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Next-generation ecommerce: where to start? • Search • Catalog • Content • Pricing • Offers • Payment • Promotions • Inventory • Consumer Profile • Cart & Checkout • Product MDM Next Steps • Break up your monolith • Build services independently • Expose services via APIs • Expose business events • Focus your tech design around capabilities Typical ecommerce capabilities:
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Architecture design implementation These principles lead to some choices to make on implementation: - Decoupling/Messaging - Exchange of the event objects, Amazon Simple Queue Service (Amazon SQS), Amazon MQ, or Amazon Kinesis? - Storing - Which object store or database to choose? - Compute - Where and how to run your ecommerce application?
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Compute for ecommerce applications Principles: - Flexible - Massive scale - Cost-effective - Efficient code delivery
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Compute: serverless at River Island
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Compute: serverless at River Island
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Decouple Principles: - Loose coupling - API or messaging as a pattern - Business functions: one at a time
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Next-gen ecommerce architecture: decouple
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Store: object store or database? Principles - Open and extensible - Cloud native - Multi-region ready - Scale ready
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Store: object store or database?
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Store: River Island’s choices Amazon S3 as the foundation of our data lake Aurora for MySQL compatibility & great features Amazon DynamoDB for key/value Streams bonus! Some teams like Postgres! PostgreSQL
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 29. “The fundamental idea of event sourcing is that of ensuring every change to the state of an application is captured in an event object, and that these event objects are themselves stored in the sequence they were applied for the same lifetime as the application state itself. Martin Fowler https://martinfowler.com/eaaDev/EventSourcing.html
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.  Event Sourcing E-commerce Principles: - Event object: Everything must be captured as an event - Kinesis or SQS - Stored in S3 - Sequence: Event objects must be stored, queryable and re-playable - All events in S3: good news, you can query them directly (Amazon Redshift, Amazon Athena, Amazon EMR, etc. ) - Snapshots (on schedule): limit the replays - Reverse dependencies
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Compute: serverless at River Island
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Next-generation ecommerce on AWS Static content Data Lake StorageMessagingComputeAPI
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What’s next? Go build your e-commerce platform ! - Start from customers and build your business - Build a migration plan - Migrate / Lift & Shift your on-premise stack - Choose one business function to be built on the next generation stack & iterate - Measure success - Start small and Think Big Photo by Jace Abshire on Unsplash
  • 35. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Bastien Leblanc @bastLeblanc Charlie Wilkinson @kabadisha
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.