SlideShare une entreprise Scribd logo
1  sur  93
Télécharger pour lire hors ligne
November 14, 2014 | Las Vegas, NV 
Shaun Pearce, Solutions Architect, AWS 
Zachary Stevens, Chief Architect, Elastera
40% 
40% of shoppers abandon a site that takes more than 3 seconds to load 
Source: blog.kissmetrics.com/loading-time/
79% 
79% of shoppers who are dissatisfied with site performance are less likely to buy from the same site again 
Source: blog.kissmetrics.com/loading-time/
November
SALE 
ENDS SOON 
visit example.com/sale
http://youtu.be/xbuiIwEOCAs
Bottleneck
Bottleneck
Magento instance 
Master Slave Master Slave Master Slave
Bottleneck
Bottleneck
HTTP cache server (10.0.0.1) 
Varnish 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Internal 
load balancer 
Magento 
Magento 
User 
External 
load balancer 
default.vcl 
example.us-east-1.elb.amazonaws.com
Varnish 
HTTP cache server (10.0.0.1) 
10.0.1.1 
Magento 
Internal 
load balancer 
User 
External 
load balancer 
default.vcl 
10.0.1.1
Varnish 
HTTP cache server (10.0.0.1) 
Magento 
Magento 
Magento 
10.0.2.3 
10.0.2.4 
10.0.2.5 
User 
External 
load balancer 
default.vcl 
10.0.2.3 
10.0.2.4 
10.0.2.5
Varnish 
HTTP cache server (10.0.0.1) 
Magento 
Magento 
Magento 
User 
External load balancer 
10.0.2.3 
10.0.2.4 
10.0.2.5 
default.vcl 
10.0.2.3 
10.0.2.4 
10.0.2.5 
10.0.2.6
HTTP cache server (10.0.0.1) 
Varnish 
Nginx 
default.vcl 
localhost:8080 
User 
External load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Internal load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
Nginx 
default.vcl 
localhost:8080 
User 
External load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Internal 
load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
default.vcl 
localhost:8080 
User 
External 
load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Nginx 
Internal 
load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
default.vcl 
localhost:8080 
User 
Externalload balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Nginx 
Internalload balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
default.vcl 
localhost:8080 
User 
External 
load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Nginx 
Internal 
load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
default.vcl 
localhost:8080 
User 
External 
load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Nginx 
Internal 
load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
default.vcl 
localhost:8080 
User 
External 
load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Nginx 
Internal 
load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
default.vcl 
localhost:8080 
User 
External 
load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Nginx 
Internal 
load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
default.vcl 
localhost:8080 
User 
External 
load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Nginx 
Internal 
load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
HTTP cache server (10.0.0.1) 
Varnish 
default.vcl 
localhost:8080 
User 
External 
load balancer 
Magento 
10.0.1.1 
10.0.1.2 
10.0.1.3 
Nginx 
Internal 
load balancer 
Magento 
Magento 
nginx.conf 
example.us- east- 1.elb.amazonaws.com
SaaS 
BEST OF BOTH 
DIY 
No headaches 
Predictable cost 
Lower TCO 
Headaches 
Spiraling cost 
High TCO 
Renting 
Constraints 
Ownership 
Freedom 
Ownership 
Freedom 
Less headaches 
Lower Cost
RUNMANAGEEVOLVE
Availability Zone Availability Zone 
Magento Admin Primary Read Rep 
Magento Magento Magento Auto Scaling group Magento Magento Magento Media 
CDN 
Static 
CDN 
Media 
S3
Magento Admin 
Primary 
CloudFront Amazon S3 
Auto Scaling group 
Magento Magento Magento
Magento Admin 
Primary 
CloudFront Amazon S3 
Auto Scaling group 
Magento Magento Magento 
Magento Admin 
Primary 
CloudFront Amazon S3 
Auto Scaling group 
Magento Magento Magento
Magento Admin 
Primary 
CloudFront Amazon S3 
Auto Scaling group 
Magento Magento Magento
Magento Admin 
Primary 
CloudFront Amazon S3 
Auto Scaling group 
Magento Magento Magento 
Magento Admin 
Primary 
CloudFront Amazon S3 
Auto Scaling group 
Magento Magento Magento
QUALITY from code
log_bin_trust_function_creators
•local.xml 
Configuration 
•Magentocode 
Website 
•Apache, PHP 
•Chef, NewRelic 
System software 
•Amazon Linux 
Base OS
•local.xml 
Configuration 
•Magentocode 
Website 
•Apache, PHP 
•Chef, NewRelic 
System software 
•Amazon Linux 
Base OS
PROACTIVELY
•local.xml 
Configuration 
•Magentocode 
Website 
•Apache, PHP 
•Chef, NewRelic 
System software 
•Amazon Linux 
Base OS
•local.xml 
Configuration 
•Magentocode 
Website 
•Apache, PHP 
•Chef, NewRelic 
System software 
•Amazon Linux 
Base OS
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Live 
Deploy server 
Staging 
Developer 
Deploy bucket
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Live 
Deploy server 
Staging 
Developer 
Deploy bucket
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Live 
Deploy server 
Staging 
Developer 
Deploy bucket
PUSH
where are you
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Deploy bucket 
Live 
Deploy server 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Staging 
Developer
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Deploy bucket 
Live 
Deploy server 
Developer 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Staging
UPGRADE
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Deploy bucket 
Live 
Deploy server 
Developer 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Staging
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Deploy bucket 
Live 
Deploy server 
Developer 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Staging
Note
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Deploy bucket 
Live 
Deploy server 
Developer 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Staging
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Deploy bucket 
Live 
Deploy server 
Developer 
Magento Admin 
Auto Scaling group 
Magento 
Magento 
Staging
http://bit.ly/awsevals

Contenu connexe

Tendances

MySQL Monitoring with Zabbix
MySQL Monitoring with ZabbixMySQL Monitoring with Zabbix
MySQL Monitoring with Zabbix
FromDual GmbH
 
Introduction to Spring Boot!
Introduction to Spring Boot!Introduction to Spring Boot!
Introduction to Spring Boot!
Jakub Kubrynski
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
TO THE NEW | Technology
 

Tendances (20)

Open stack ha design & deployment kilo
Open stack ha design & deployment   kiloOpen stack ha design & deployment   kilo
Open stack ha design & deployment kilo
 
Bypass file upload restrictions
Bypass file upload restrictionsBypass file upload restrictions
Bypass file upload restrictions
 
Caching solutions with Redis
Caching solutions   with RedisCaching solutions   with Redis
Caching solutions with Redis
 
MySQL Monitoring with Zabbix
MySQL Monitoring with ZabbixMySQL Monitoring with Zabbix
MySQL Monitoring with Zabbix
 
Sonar qube
Sonar qubeSonar qube
Sonar qube
 
API Security - OWASP top 10 for APIs + tips for pentesters
API Security - OWASP top 10 for APIs + tips for pentestersAPI Security - OWASP top 10 for APIs + tips for pentesters
API Security - OWASP top 10 for APIs + tips for pentesters
 
200.마이크로서비스에 적합한 오픈소스 WAS는 무엇?
200.마이크로서비스에 적합한 오픈소스 WAS는 무엇?200.마이크로서비스에 적합한 오픈소스 WAS는 무엇?
200.마이크로서비스에 적합한 오픈소스 WAS는 무엇?
 
Checkmarx meetup API Security - API Security top 10 - Erez Yalon
Checkmarx meetup API Security -  API Security top 10 - Erez YalonCheckmarx meetup API Security -  API Security top 10 - Erez Yalon
Checkmarx meetup API Security - API Security top 10 - Erez Yalon
 
Automating security test using Selenium and OWASP ZAP - Practical DevSecOps
Automating security test using Selenium and OWASP ZAP - Practical DevSecOpsAutomating security test using Selenium and OWASP ZAP - Practical DevSecOps
Automating security test using Selenium and OWASP ZAP - Practical DevSecOps
 
The Play Framework at LinkedIn
The Play Framework at LinkedInThe Play Framework at LinkedIn
The Play Framework at LinkedIn
 
Dangling DNS records takeover at scale
Dangling DNS records takeover at scaleDangling DNS records takeover at scale
Dangling DNS records takeover at scale
 
Introduction to Spring Boot!
Introduction to Spring Boot!Introduction to Spring Boot!
Introduction to Spring Boot!
 
Hearts Of Darkness - a Spring DevOps Apocalypse
Hearts Of Darkness - a Spring DevOps ApocalypseHearts Of Darkness - a Spring DevOps Apocalypse
Hearts Of Darkness - a Spring DevOps Apocalypse
 
Funzioni hash con PHP
Funzioni hash con PHPFunzioni hash con PHP
Funzioni hash con PHP
 
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017
How Netflix Tunes Amazon EC2 Instances for Performance - CMP325 - re:Invent 2017
 
Sonarqube
SonarqubeSonarqube
Sonarqube
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
 
Fluentd v0.14 Plugin API Details
Fluentd v0.14 Plugin API DetailsFluentd v0.14 Plugin API Details
Fluentd v0.14 Plugin API Details
 
점진적인 레거시 웹 애플리케이션 개선 과정
점진적인 레거시 웹 애플리케이션 개선 과정점진적인 레거시 웹 애플리케이션 개선 과정
점진적인 레거시 웹 애플리케이션 개선 과정
 
Understanding Active Directory Enumeration
Understanding Active Directory EnumerationUnderstanding Active Directory Enumeration
Understanding Active Directory Enumeration
 

En vedette

Rock-solid Magento Development and Deployment Workflows
Rock-solid Magento Development and Deployment WorkflowsRock-solid Magento Development and Deployment Workflows
Rock-solid Magento Development and Deployment Workflows
AOE
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
John Willis
 

En vedette (20)

Running and Scaling Magento on AWS
Running and Scaling Magento on AWSRunning and Scaling Magento on AWS
Running and Scaling Magento on AWS
 
High-Performance Magento in the Cloud
High-Performance Magento in the CloudHigh-Performance Magento in the Cloud
High-Performance Magento in the Cloud
 
Rock-solid Magento Deployments (and Development)
Rock-solid Magento Deployments (and Development)Rock-solid Magento Deployments (and Development)
Rock-solid Magento Deployments (and Development)
 
Immutable Deployments with AWS CloudFormation and AWS Lambda
Immutable Deployments with AWS CloudFormation and AWS LambdaImmutable Deployments with AWS CloudFormation and AWS Lambda
Immutable Deployments with AWS CloudFormation and AWS Lambda
 
Angrybirds Magento Cloud Deployment
Angrybirds Magento Cloud DeploymentAngrybirds Magento Cloud Deployment
Angrybirds Magento Cloud Deployment
 
Rock-solid Magento Development and Deployment Workflows
Rock-solid Magento Development and Deployment WorkflowsRock-solid Magento Development and Deployment Workflows
Rock-solid Magento Development and Deployment Workflows
 
Phpworld.2015 scaling magento
Phpworld.2015 scaling magentoPhpworld.2015 scaling magento
Phpworld.2015 scaling magento
 
UX Design + UI Design: Injecting a brand persona!
UX Design + UI Design: Injecting a brand persona!UX Design + UI Design: Injecting a brand persona!
UX Design + UI Design: Injecting a brand persona!
 
2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services Singapore2nd AMIMOTO: WordPress + Amazon Web Services Singapore
2nd AMIMOTO: WordPress + Amazon Web Services Singapore
 
Continuous Integration and Deployment Patterns for Magento
Continuous Integration and Deployment Patterns for MagentoContinuous Integration and Deployment Patterns for Magento
Continuous Integration and Deployment Patterns for Magento
 
I Kongres eHandlu: Paweł Fornalski - "Kiedy warto inwestować w tzw. własny sy...
I Kongres eHandlu: Paweł Fornalski - "Kiedy warto inwestować w tzw. własny sy...I Kongres eHandlu: Paweł Fornalski - "Kiedy warto inwestować w tzw. własny sy...
I Kongres eHandlu: Paweł Fornalski - "Kiedy warto inwestować w tzw. własny sy...
 
Backup and Recovery for Linux With Amazon S3
Backup and Recovery for Linux With Amazon S3Backup and Recovery for Linux With Amazon S3
Backup and Recovery for Linux With Amazon S3
 
Working with LoopBack Models
Working with LoopBack ModelsWorking with LoopBack Models
Working with LoopBack Models
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
AWS Webcast - Emergency Preparedness and Interagency Collaboration Webinar
AWS Webcast - Emergency Preparedness and Interagency Collaboration Webinar AWS Webcast - Emergency Preparedness and Interagency Collaboration Webinar
AWS Webcast - Emergency Preparedness and Interagency Collaboration Webinar
 
AWS Service Drill Downs
AWS Service Drill DownsAWS Service Drill Downs
AWS Service Drill Downs
 
(SPOT207) State of the Union: AWS Database Services | AWS re:Invent 2014
(SPOT207) State of the Union: AWS Database Services | AWS re:Invent 2014(SPOT207) State of the Union: AWS Database Services | AWS re:Invent 2014
(SPOT207) State of the Union: AWS Database Services | AWS re:Invent 2014
 
AWS Paris Summit 2014 - Closing Keynote Werner Vogels - Beyond the fridge
AWS Paris Summit 2014 - Closing Keynote Werner Vogels - Beyond the fridgeAWS Paris Summit 2014 - Closing Keynote Werner Vogels - Beyond the fridge
AWS Paris Summit 2014 - Closing Keynote Werner Vogels - Beyond the fridge
 
AWS Public Sector Symposium | Effective Security Response in the Cloud - Sess...
AWS Public Sector Symposium | Effective Security Response in the Cloud - Sess...AWS Public Sector Symposium | Effective Security Response in the Cloud - Sess...
AWS Public Sector Symposium | Effective Security Response in the Cloud - Sess...
 
Fostering a Culture of Innovation with Cloud
Fostering a Culture of Innovation with CloudFostering a Culture of Innovation with Cloud
Fostering a Culture of Innovation with Cloud
 

Similaire à (WEB304) Running and Scaling Magento on AWS | AWS re:Invent 2014

Magento performancenbs
Magento performancenbsMagento performancenbs
Magento performancenbs
varien
 
Enterprise Build And Test In The Cloud
Enterprise Build And Test In The CloudEnterprise Build And Test In The Cloud
Enterprise Build And Test In The Cloud
Carlos Sanchez
 
Magento Imagine 2013: Fabrizio Branca - Learning To Fly: How Angry Birds Reac...
Magento Imagine 2013: Fabrizio Branca - Learning To Fly: How Angry Birds Reac...Magento Imagine 2013: Fabrizio Branca - Learning To Fly: How Angry Birds Reac...
Magento Imagine 2013: Fabrizio Branca - Learning To Fly: How Angry Birds Reac...
AOE
 
Learning to Fly: How Angry Birds Reached the Heights of Store Performance |…
Learning to Fly: How Angry Birds Reached the Heights of Store Performance |…Learning to Fly: How Angry Birds Reached the Heights of Store Performance |…
Learning to Fly: How Angry Birds Reached the Heights of Store Performance |…
Atwix
 

Similaire à (WEB304) Running and Scaling Magento on AWS | AWS re:Invent 2014 (20)

Best Practices for Deploying Magento on AWS
Best Practices for Deploying Magento on AWSBest Practices for Deploying Magento on AWS
Best Practices for Deploying Magento on AWS
 
Introduction to Magento Optimization
Introduction to Magento OptimizationIntroduction to Magento Optimization
Introduction to Magento Optimization
 
Magento performancenbs
Magento performancenbsMagento performancenbs
Magento performancenbs
 
AMP in WordPress, the WordPress Way
AMP in WordPress, the WordPress WayAMP in WordPress, the WordPress Way
AMP in WordPress, the WordPress Way
 
Enterprise Build And Test In The Cloud
Enterprise Build And Test In The CloudEnterprise Build And Test In The Cloud
Enterprise Build And Test In The Cloud
 
NDC 2011 - Let me introduce my Moncai
NDC 2011 - Let me introduce my MoncaiNDC 2011 - Let me introduce my Moncai
NDC 2011 - Let me introduce my Moncai
 
How to Improve Magento Performance | Tips to Speed up Magento eCommerce Site/...
How to Improve Magento Performance | Tips to Speed up Magento eCommerce Site/...How to Improve Magento Performance | Tips to Speed up Magento eCommerce Site/...
How to Improve Magento Performance | Tips to Speed up Magento eCommerce Site/...
 
Bringing the JAMstack to the Enterprise
Bringing the JAMstack to the EnterpriseBringing the JAMstack to the Enterprise
Bringing the JAMstack to the Enterprise
 
Magento Imagine 2013: Fabrizio Branca - Learning To Fly: How Angry Birds Reac...
Magento Imagine 2013: Fabrizio Branca - Learning To Fly: How Angry Birds Reac...Magento Imagine 2013: Fabrizio Branca - Learning To Fly: How Angry Birds Reac...
Magento Imagine 2013: Fabrizio Branca - Learning To Fly: How Angry Birds Reac...
 
Learning to Fly: How Angry Birds Reached the Heights of Store Performance |…
Learning to Fly: How Angry Birds Reached the Heights of Store Performance |…Learning to Fly: How Angry Birds Reached the Heights of Store Performance |…
Learning to Fly: How Angry Birds Reached the Heights of Store Performance |…
 
Performance Tuning - MuraCon 2012
Performance Tuning - MuraCon 2012Performance Tuning - MuraCon 2012
Performance Tuning - MuraCon 2012
 
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtMaven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
 
Caching 101
Caching 101Caching 101
Caching 101
 
Taking Web Applications Offline
Taking Web Applications OfflineTaking Web Applications Offline
Taking Web Applications Offline
 
Magento for-performance- v01
Magento for-performance- v01Magento for-performance- v01
Magento for-performance- v01
 
Optimizing WordPress for Performance - WordCamp Houston
Optimizing WordPress for Performance - WordCamp HoustonOptimizing WordPress for Performance - WordCamp Houston
Optimizing WordPress for Performance - WordCamp Houston
 
How to optimize your Magento store
How to optimize your Magento store How to optimize your Magento store
How to optimize your Magento store
 
Ajax to the Moon
Ajax to the MoonAjax to the Moon
Ajax to the Moon
 
Dev309 from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-finalDev309  from asgard to zuul - netflix oss-final
Dev309 from asgard to zuul - netflix oss-final
 
SSR with Quasar Framework - JSNation 2019
SSR with Quasar Framework - JSNation 2019SSR with Quasar Framework - JSNation 2019
SSR with Quasar Framework - JSNation 2019
 

Plus de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
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
 

Plus 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
 

Dernier

Dernier (20)

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

(WEB304) Running and Scaling Magento on AWS | AWS re:Invent 2014

  • 1. November 14, 2014 | Las Vegas, NV Shaun Pearce, Solutions Architect, AWS Zachary Stevens, Chief Architect, Elastera
  • 2.
  • 3.
  • 4. 40% 40% of shoppers abandon a site that takes more than 3 seconds to load Source: blog.kissmetrics.com/loading-time/
  • 5. 79% 79% of shoppers who are dissatisfied with site performance are less likely to buy from the same site again Source: blog.kissmetrics.com/loading-time/
  • 7. SALE ENDS SOON visit example.com/sale
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 18.
  • 19.
  • 20. Magento instance Master Slave Master Slave Master Slave
  • 22.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34. HTTP cache server (10.0.0.1) Varnish Magento 10.0.1.1 10.0.1.2 10.0.1.3 Internal load balancer Magento Magento User External load balancer default.vcl example.us-east-1.elb.amazonaws.com
  • 35. Varnish HTTP cache server (10.0.0.1) 10.0.1.1 Magento Internal load balancer User External load balancer default.vcl 10.0.1.1
  • 36. Varnish HTTP cache server (10.0.0.1) Magento Magento Magento 10.0.2.3 10.0.2.4 10.0.2.5 User External load balancer default.vcl 10.0.2.3 10.0.2.4 10.0.2.5
  • 37. Varnish HTTP cache server (10.0.0.1) Magento Magento Magento User External load balancer 10.0.2.3 10.0.2.4 10.0.2.5 default.vcl 10.0.2.3 10.0.2.4 10.0.2.5 10.0.2.6
  • 38. HTTP cache server (10.0.0.1) Varnish Nginx default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 39.
  • 40. HTTP cache server (10.0.0.1) Varnish Nginx default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 41. HTTP cache server (10.0.0.1) Varnish default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Nginx Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 42. HTTP cache server (10.0.0.1) Varnish default.vcl localhost:8080 User Externalload balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Nginx Internalload balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 43. HTTP cache server (10.0.0.1) Varnish default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Nginx Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 44. HTTP cache server (10.0.0.1) Varnish default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Nginx Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 45. HTTP cache server (10.0.0.1) Varnish default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Nginx Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 46. HTTP cache server (10.0.0.1) Varnish default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Nginx Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 47. HTTP cache server (10.0.0.1) Varnish default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Nginx Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 48. HTTP cache server (10.0.0.1) Varnish default.vcl localhost:8080 User External load balancer Magento 10.0.1.1 10.0.1.2 10.0.1.3 Nginx Internal load balancer Magento Magento nginx.conf example.us- east- 1.elb.amazonaws.com
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54. SaaS BEST OF BOTH DIY No headaches Predictable cost Lower TCO Headaches Spiraling cost High TCO Renting Constraints Ownership Freedom Ownership Freedom Less headaches Lower Cost
  • 56. Availability Zone Availability Zone Magento Admin Primary Read Rep Magento Magento Magento Auto Scaling group Magento Magento Magento Media CDN Static CDN Media S3
  • 57.
  • 58.
  • 59. Magento Admin Primary CloudFront Amazon S3 Auto Scaling group Magento Magento Magento
  • 60. Magento Admin Primary CloudFront Amazon S3 Auto Scaling group Magento Magento Magento Magento Admin Primary CloudFront Amazon S3 Auto Scaling group Magento Magento Magento
  • 61. Magento Admin Primary CloudFront Amazon S3 Auto Scaling group Magento Magento Magento
  • 62. Magento Admin Primary CloudFront Amazon S3 Auto Scaling group Magento Magento Magento Magento Admin Primary CloudFront Amazon S3 Auto Scaling group Magento Magento Magento
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70. •local.xml Configuration •Magentocode Website •Apache, PHP •Chef, NewRelic System software •Amazon Linux Base OS
  • 71.
  • 72. •local.xml Configuration •Magentocode Website •Apache, PHP •Chef, NewRelic System software •Amazon Linux Base OS
  • 73.
  • 75.
  • 76. •local.xml Configuration •Magentocode Website •Apache, PHP •Chef, NewRelic System software •Amazon Linux Base OS
  • 77. •local.xml Configuration •Magentocode Website •Apache, PHP •Chef, NewRelic System software •Amazon Linux Base OS
  • 78. Magento Admin Auto Scaling group Magento Magento Magento Admin Auto Scaling group Magento Magento Live Deploy server Staging Developer Deploy bucket
  • 79. Magento Admin Auto Scaling group Magento Magento Magento Admin Auto Scaling group Magento Magento Live Deploy server Staging Developer Deploy bucket
  • 80. Magento Admin Auto Scaling group Magento Magento Magento Admin Auto Scaling group Magento Magento Live Deploy server Staging Developer Deploy bucket
  • 81. PUSH
  • 83. Magento Admin Auto Scaling group Magento Magento Deploy bucket Live Deploy server Magento Admin Auto Scaling group Magento Magento Staging Developer
  • 84. Magento Admin Auto Scaling group Magento Magento Deploy bucket Live Deploy server Developer Magento Admin Auto Scaling group Magento Magento Staging
  • 86. Magento Admin Auto Scaling group Magento Magento Deploy bucket Live Deploy server Developer Magento Admin Auto Scaling group Magento Magento Staging
  • 87. Magento Admin Auto Scaling group Magento Magento Deploy bucket Live Deploy server Developer Magento Admin Auto Scaling group Magento Magento Staging
  • 88. Note
  • 89.
  • 90. Magento Admin Auto Scaling group Magento Magento Deploy bucket Live Deploy server Developer Magento Admin Auto Scaling group Magento Magento Staging
  • 91. Magento Admin Auto Scaling group Magento Magento Deploy bucket Live Deploy server Developer Magento Admin Auto Scaling group Magento Magento Staging
  • 92.