SlideShare a Scribd company logo
AWS 
Speed & Scaling with Magento 
Florian Aschenbrenner
About me 
• 2 years Java dev – ATM/Host comms 
• 6 years of sysadmin and security admin 
• 3 years of Head of Tech/CTO for Wedo 
• freelance projects 
• musician
Structure 
• Concepts 
• Example for local environment 
• Proposal for AWS buildout 
• Highlight on individual technologies 
• Example for infrastructure buildout
Let‘s go 
to the cloud (1)
TCO – Traditional 
9 
8 
7 
6 
5 
4 
3 
2 
1 
0 
Cost 
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
TCO – AWS (if done right) 
9 
8 
7 
6 
5 
4 
3 
2 
1 
0 
Cost 
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
High Availability 
• Cost of downtime? 
• DNS availability? 
• Server replacement time? 
• Disaster recovery?
Scalability / Automation 
• Adding additional hardware? 
• Identical systems? 
• More hardware than needed? 
• Dev machines = live environment? 
• 2x the load? 3x? 4x?
What to consider before moving 
• Is your application ready? 
– do you store information locally? 
– can you handle turning off one node? 
– how high is your IO usage? 
• Are your current app components ready? 
– look for cloud service alternatives
Magento and the Cloud (1) 
• Magento (per default) 
– uses lots of resources and IO requests 
– saves information locally 
– can get really heavy with lots of SKUs 
– uses a combined frontend / backend system
Magento and the Cloud (2) 
• Ideal scenario 
– separate backend / frontend / cron jobs 
– don’t save any important data locally 
– centralized session storage 
– centralized cache storage 
– lower IO usage (1.7+) 
– use a proper search engine 
– use full(!) page caches = no hits to AWS 
– completely automated
Traditional Magento Infrastructure 
App 
(Magento) 
Database
Traditional Magento Infrastructure 
Load 
Balancer 
App 
App 
Database
Step 1 – A test environment 
• Automation is key! 
– test system = production system 
– all devs have same system setups 
• Technologies used 
– Packer (http://www.packer.io/) 
– Vagrant (http://www.vagrantup.com/) 
– VMWare (recommended), VirtualBox 
– Puppet (recommended), Chef
Traditional Magento Infrastructure 
Load 
Balancer 
App 
App 
Database
Proposed Infrastructure 
Route 
53 
Fastly 
BE 
ELB 
FE 
ELB 
BE 
Array 
FE 
Array 
Job 
Array 
RDS 
Additional 
Services 
ELBs EC2s
Proposed Infrastructure 
Route 
53 
Fastly 
BE 
ELB 
FE 
ELB 
BE 
Array 
FE 
Array 
Job 
Array 
RDS 
Additional 
Services 
ELBs EC2s
Tech – EC2 
• ephemeral vs. EBS-backed storage 
• compute vs. memory heavy instances 
• EBS vs. network optimized instances 
• SSD vs. non-SSD storage
Tech – EC2 Frontend 
• test with expected traffic + more 
– capture and replay 
– simulate crawling 
– test with real people (!) 
• 2 large instances vs. 4 smaller instances
Tech – EC2 Backend / EC2 Job 
• split out to not take away processing 
power for customers 
• Backend roles 
– admin work 
– API connections 
• Job roles 
– periodical jobs 
– usually 1 instance
Autoscaling 
• min, max and desired amounts of 
EC2 instances 
• rule-based system 
• Launch Groups for launching AMIs
Proposed Infrastructure 
Route 
53 
Fastly 
BE 
ELB 
FE 
ELB 
BE 
Array 
FE 
Array 
Job 
Array 
RDS 
Additional 
Services 
ELBs EC2s
Tech – ELBs (1) 
• will distribute traffic based on latency, 
origin etc. 
• “Cross-Zone balancing” 
• “Connection Draining” (new)
Tech – ELBs (2) 
• check idle timeout settings 
• make sure security groups and availability 
zones match with AS group 
• consider cron jobs / shell jobs instead of 
long running queries
Proposed Infrastructure 
Route 
53 
Fastly 
BE 
ELB 
FE 
ELB 
BE 
Array 
FE 
Array 
Job 
Array 
RDS 
Additional 
Services 
ELBs EC2s
Tech - RDS (1) 
• Reserved IOPS vs. Standard Storage 
• Reserved IOPS 
– start at 1000 IOPS 
– have to be paid in full 
• watch CloudWatch metric „Disk Queue 
Depth“
Tech - RDS (2) 
• go for Multi-AZ 
– High Availability 
– DB changes don‘t need downtime 
• check your Configuration Sets (!) 
– Query Cache might be disabled 
– further optimizations need to be done
Proposed Infrastructure 
Route 
53 
Fastly 
BE 
ELB 
FE 
ELB 
BE 
Array 
FE 
Array 
Job 
Array 
RDS 
Additional 
Services 
ELBs EC2s
Tech - Route 53 
• „Delegation Set“ 
• needs registrar with support for 
4 name servers (new: register via AWS) 
• Routing policies 
– Simple 
– Latency
Proposed Infrastructure 
Route 
53 
Fastly 
BE 
ELB 
FE 
ELB 
BE 
Array 
FE 
Array 
Job 
Array 
RDS 
Additional 
Services 
ELBs EC2s
Tech – Fastly / Varnish (1) 
Internet Varnish Backend 
Server
Tech – Fastly / Varnish (2) 
• hosted Varnish solution 
• „distributed“ Varnish 
• complete purge support 
• complete VCL support 
• Magento implementation 
– Phoenix PageCache for Magento 
– implement Fastly API
Tech – Fastly / Varnish (3) 
• pages HAVE to be fully cacheable 
• hole-punching: negative performance 
impact 
• go for AJAX 
• store information locally 
(HTML5 local storage, cookies)
Tech – Fastly / Varnish (4) 
• Examples: 
– recently viewed products 
– amount of products in basket 
• might need layout changes 
• use some form of pre-caching 
• normalize user agents (!)
Proposed Infrastructure 
Route 
53 
Fastly 
BE 
ELB 
FE 
ELB 
BE 
Array 
FE 
Array 
Job 
Array 
RDS 
Additional 
Services 
ELBs EC2s
Tech - S3 / CloudFront (1) 
• do not use local storage for persistent data 
• do not use EBS for persistent data 
• S3 is available to all instances 
• will host 
– CMS uploaded files (static pages) 
– product images 
– image caches
Tech - S3 / CloudFront (2) 
• great for write-heavy operations (save) 
• slow for read-heavy operations 
– use CloudFront 
• Magento implementation: 
– OnePica ImageCDN 
– custom code for backend data storage
Tech - S3 / CloudFront (3) 
• Magento provides 2 data storages 
– file based storage 
– database based storage 
• rewrite database storage to use 
aws-php-sdk 
• combine with OnePica extension
Tech - S3 / CloudFront (4) 
Internet 
Instance 
Backend 
Fetch image / Storage 
generate cache 
http://…/cache/test.jpg
Tech - S3 / CloudFront (5) 
Cloud 
Front 
S3 
Save cache to S3 
Internet 
Instance 
Backend 
Fetch image / Storage 
generate cache 
http://…/cache/test.jpg
Tech – Elasticache 
• will be used for 
– Session storage 
http://github.com/colinmollenhour/Cm_Cache_Backend_Redis.git 
– Block Level Cache 
http://github.com/colinmollenhour/Cm_RedisSession.git 
• we will use Redis 
– > memcache 
– distributable by default 
– true key-value store
Tech – Search 
• slow on large catalogues 
• Elasticsearch (Bubblesearch) / Solar 
• offload search traffic to dedicated service 
/server
Security 
• use VPCs (now per default) 
• don’t assign public IPs to your servers 
• don’t use public RDS distributions 
• set strict security groups 
• use VPN to connect to your infrastructure 
– AWS Direct Connect 
– small EC2 instance that runs VPN service 
– only VPN servers should have external IPs
Tech – Rollouts (1) 
• previously: 
– Capistrano 
– rpm packages 
– git pull 
– svn up 
• now: server names might be unknown
Tech – Rollouts (2) 
• Options 
– bake an AMI for every change 
– use messaging systems to roll out 
releases across servers (ActiveMQ etc.) 
• use a Capistrano-like system to ensure 
fast rollbacks if needed
Tech – Rollouts (3) 
• always aim for a 1-click deployment 
• use Jenkins etc. to build/verify your project 
• OS Packages 
– bake AMIs every time you want to install 
something 
– use puppet master/client architecture
Step 2 - Infrastructure (1) 
• go a step further: 
automate your infrastructure 
• quickly build new test environments 
• quickly move to another provider if needed 
• automatically document your infrastructure 
• “check in” your infrastructure
Step 2 - Infrastructure (2) 
• build your base AMI with packer 
• use same CM tools and classes as for test 
environment 
• use tech such as 
– Fog (http://fog.io) 
– build-cloud 
(https://github.com/scalefactory/build-cloud)
Thanks! 
• Check out the demos on 
– https://github.com/Fireflake/tech4africa 
• Get in touch 
– http://www.linkedin.com/pub/florian-aschenbrenner/ 
79/368/566

More Related Content

What's hot

Best Practice for Deploying Application with Heat
Best Practice for Deploying Application with HeatBest Practice for Deploying Application with Heat
Best Practice for Deploying Application with Heat
Ethan Lynn
 
CIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
CIRCUIT 2015 - AEM Infrastructure Automation with Chef CookbooksCIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
CIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
ICF CIRCUIT
 
Orchestration across multiple cloud platforms using Heat
Orchestration across multiple cloud platforms using HeatOrchestration across multiple cloud platforms using Heat
Orchestration across multiple cloud platforms using Heat
CoreStack
 
Jim Dowling - Multi-tenant Flink-as-a-Service on YARN
Jim Dowling - Multi-tenant Flink-as-a-Service on YARN Jim Dowling - Multi-tenant Flink-as-a-Service on YARN
Jim Dowling - Multi-tenant Flink-as-a-Service on YARN
Flink Forward
 
Distributed automation sel_conf_2015
Distributed automation sel_conf_2015Distributed automation sel_conf_2015
Distributed automation sel_conf_2015
aragavan
 
Autoscaled Distributed Automation using AWS at Selenium London MeetUp
Autoscaled Distributed Automation using AWS at Selenium London MeetUpAutoscaled Distributed Automation using AWS at Selenium London MeetUp
Autoscaled Distributed Automation using AWS at Selenium London MeetUp
aragavan
 
Apache Curator: Past, Present and Future
Apache Curator: Past, Present and FutureApache Curator: Past, Present and Future
Apache Curator: Past, Present and Future
Jordan Zimmerman
 
Kubernetes at NU.nl (Kubernetes meetup 2019-09-05)
Kubernetes at NU.nl   (Kubernetes meetup 2019-09-05)Kubernetes at NU.nl   (Kubernetes meetup 2019-09-05)
Kubernetes at NU.nl (Kubernetes meetup 2019-09-05)
Tibo Beijen
 
To Build My Own Cloud with Blackjack…
To Build My Own Cloud with Blackjack…To Build My Own Cloud with Blackjack…
To Build My Own Cloud with Blackjack…
Sergey Dzyuban
 
Autoscaled Distributed Automation Expedia Know How
Autoscaled Distributed Automation Expedia Know HowAutoscaled Distributed Automation Expedia Know How
Autoscaled Distributed Automation Expedia Know How
aragavan
 
Gobblin on-aws
Gobblin on-awsGobblin on-aws
Gobblin on-aws
Vasanth Rajamani
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache Mesos
Knoldus Inc.
 
Java Application Servers Are Dead!
Java Application Servers Are Dead!Java Application Servers Are Dead!
Java Application Servers Are Dead!
Eberhard Wolff
 
Mitchell Hashimoto, HashiCorp
Mitchell Hashimoto, HashiCorpMitchell Hashimoto, HashiCorp
Mitchell Hashimoto, HashiCorp
Ontico
 
Infrastructure as code
Infrastructure as codeInfrastructure as code
Infrastructure as code
Axel Quack
 
Atlanta Hadoop Users Meetup 09 21 2016
Atlanta Hadoop Users Meetup 09 21 2016Atlanta Hadoop Users Meetup 09 21 2016
Atlanta Hadoop Users Meetup 09 21 2016
Chris Fregly
 
Configuration primer
Configuration primerConfiguration primer
Configuration primer
feanil
 
Terraform
TerraformTerraform
Terraform
An Nguyen
 
Jose portillo dev con presentation 1138
Jose portillo   dev con presentation 1138Jose portillo   dev con presentation 1138
Jose portillo dev con presentation 1138
Jose Portillo
 
Ansible for large scale deployment
Ansible for large scale deploymentAnsible for large scale deployment
Ansible for large scale deployment
Karthik .P.R
 

What's hot (20)

Best Practice for Deploying Application with Heat
Best Practice for Deploying Application with HeatBest Practice for Deploying Application with Heat
Best Practice for Deploying Application with Heat
 
CIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
CIRCUIT 2015 - AEM Infrastructure Automation with Chef CookbooksCIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
CIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
 
Orchestration across multiple cloud platforms using Heat
Orchestration across multiple cloud platforms using HeatOrchestration across multiple cloud platforms using Heat
Orchestration across multiple cloud platforms using Heat
 
Jim Dowling - Multi-tenant Flink-as-a-Service on YARN
Jim Dowling - Multi-tenant Flink-as-a-Service on YARN Jim Dowling - Multi-tenant Flink-as-a-Service on YARN
Jim Dowling - Multi-tenant Flink-as-a-Service on YARN
 
Distributed automation sel_conf_2015
Distributed automation sel_conf_2015Distributed automation sel_conf_2015
Distributed automation sel_conf_2015
 
Autoscaled Distributed Automation using AWS at Selenium London MeetUp
Autoscaled Distributed Automation using AWS at Selenium London MeetUpAutoscaled Distributed Automation using AWS at Selenium London MeetUp
Autoscaled Distributed Automation using AWS at Selenium London MeetUp
 
Apache Curator: Past, Present and Future
Apache Curator: Past, Present and FutureApache Curator: Past, Present and Future
Apache Curator: Past, Present and Future
 
Kubernetes at NU.nl (Kubernetes meetup 2019-09-05)
Kubernetes at NU.nl   (Kubernetes meetup 2019-09-05)Kubernetes at NU.nl   (Kubernetes meetup 2019-09-05)
Kubernetes at NU.nl (Kubernetes meetup 2019-09-05)
 
To Build My Own Cloud with Blackjack…
To Build My Own Cloud with Blackjack…To Build My Own Cloud with Blackjack…
To Build My Own Cloud with Blackjack…
 
Autoscaled Distributed Automation Expedia Know How
Autoscaled Distributed Automation Expedia Know HowAutoscaled Distributed Automation Expedia Know How
Autoscaled Distributed Automation Expedia Know How
 
Gobblin on-aws
Gobblin on-awsGobblin on-aws
Gobblin on-aws
 
Introduction to Apache Mesos
Introduction to Apache MesosIntroduction to Apache Mesos
Introduction to Apache Mesos
 
Java Application Servers Are Dead!
Java Application Servers Are Dead!Java Application Servers Are Dead!
Java Application Servers Are Dead!
 
Mitchell Hashimoto, HashiCorp
Mitchell Hashimoto, HashiCorpMitchell Hashimoto, HashiCorp
Mitchell Hashimoto, HashiCorp
 
Infrastructure as code
Infrastructure as codeInfrastructure as code
Infrastructure as code
 
Atlanta Hadoop Users Meetup 09 21 2016
Atlanta Hadoop Users Meetup 09 21 2016Atlanta Hadoop Users Meetup 09 21 2016
Atlanta Hadoop Users Meetup 09 21 2016
 
Configuration primer
Configuration primerConfiguration primer
Configuration primer
 
Terraform
TerraformTerraform
Terraform
 
Jose portillo dev con presentation 1138
Jose portillo   dev con presentation 1138Jose portillo   dev con presentation 1138
Jose portillo dev con presentation 1138
 
Ansible for large scale deployment
Ansible for large scale deploymentAnsible for large scale deployment
Ansible for large scale deployment
 

Viewers also liked

Magento Optimization Whitepaper
Magento Optimization WhitepaperMagento Optimization Whitepaper
Magento Optimization Whitepaper
Vladyslav Solodovnyk
 
Magento community edition 1.7 & enterprise edition 1.12
Magento community edition  1.7 & enterprise edition 1.12Magento community edition  1.7 & enterprise edition 1.12
Magento community edition 1.7 & enterprise edition 1.12
X2i
 
вепольное моделирование Игра Решалка
вепольное моделирование Игра Решалкавепольное моделирование Игра Решалка
вепольное моделирование Игра Решалка
ООО "ТРИЗ ЦЕНТР "Решатель"
 
3 opp 4 2-12 - slide package
3 opp 4 2-12 - slide  package3 opp 4 2-12 - slide  package
3 opp 4 2-12 - slide package
Redentor Tongco
 
4 opp 4 2-12 - slide marketing plan
4 opp 4 2-12 - slide  marketing plan4 opp 4 2-12 - slide  marketing plan
4 opp 4 2-12 - slide marketing plan
Redentor Tongco
 
Confident Zaniah
Confident ZaniahConfident Zaniah
Confident Zaniah
Confident Group
 
Capa pcc certo
Capa pcc certoCapa pcc certo
Capa pcc certo
Jackson Cândido
 
Starcore International Mines (TSX:SAM) August 2014
Starcore International Mines (TSX:SAM) August 2014Starcore International Mines (TSX:SAM) August 2014
Starcore International Mines (TSX:SAM) August 2014
Evan Eadie
 
Pengetahuan dasar kuhap
Pengetahuan dasar kuhapPengetahuan dasar kuhap
Pengetahuan dasar kuhap
Paris Manalu
 
Animal research project_template (1)
Animal research project_template (1)Animal research project_template (1)
Animal research project_template (1)
403Anissa
 
Health Capital Consultants (HCC) Curriculum Vitae
Health Capital Consultants (HCC) Curriculum VitaeHealth Capital Consultants (HCC) Curriculum Vitae
Health Capital Consultants (HCC) Curriculum Vitae
Health Capital Consultants
 

Viewers also liked (11)

Magento Optimization Whitepaper
Magento Optimization WhitepaperMagento Optimization Whitepaper
Magento Optimization Whitepaper
 
Magento community edition 1.7 & enterprise edition 1.12
Magento community edition  1.7 & enterprise edition 1.12Magento community edition  1.7 & enterprise edition 1.12
Magento community edition 1.7 & enterprise edition 1.12
 
вепольное моделирование Игра Решалка
вепольное моделирование Игра Решалкавепольное моделирование Игра Решалка
вепольное моделирование Игра Решалка
 
3 opp 4 2-12 - slide package
3 opp 4 2-12 - slide  package3 opp 4 2-12 - slide  package
3 opp 4 2-12 - slide package
 
4 opp 4 2-12 - slide marketing plan
4 opp 4 2-12 - slide  marketing plan4 opp 4 2-12 - slide  marketing plan
4 opp 4 2-12 - slide marketing plan
 
Confident Zaniah
Confident ZaniahConfident Zaniah
Confident Zaniah
 
Capa pcc certo
Capa pcc certoCapa pcc certo
Capa pcc certo
 
Starcore International Mines (TSX:SAM) August 2014
Starcore International Mines (TSX:SAM) August 2014Starcore International Mines (TSX:SAM) August 2014
Starcore International Mines (TSX:SAM) August 2014
 
Pengetahuan dasar kuhap
Pengetahuan dasar kuhapPengetahuan dasar kuhap
Pengetahuan dasar kuhap
 
Animal research project_template (1)
Animal research project_template (1)Animal research project_template (1)
Animal research project_template (1)
 
Health Capital Consultants (HCC) Curriculum Vitae
Health Capital Consultants (HCC) Curriculum VitaeHealth Capital Consultants (HCC) Curriculum Vitae
Health Capital Consultants (HCC) Curriculum Vitae
 

Similar to Tech4Africa 2014

Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
Tom Laszewski
 
Building a Just-in-Time Application Stack for Analysts
Building a Just-in-Time Application Stack for AnalystsBuilding a Just-in-Time Application Stack for Analysts
Building a Just-in-Time Application Stack for Analysts
Avere Systems
 
PowerPoint Presentation
PowerPoint PresentationPowerPoint Presentation
PowerPoint Presentation
lalitjangra9
 
Migrating to aws
Migrating to awsMigrating to aws
Migrating to aws
IT Expert Club
 
AWS Best Practices
AWS Best PracticesAWS Best Practices
AWS Best Practices
Kenichi Shibata
 
Modernizing your AWS Deployment
Modernizing your AWS DeploymentModernizing your AWS Deployment
Modernizing your AWS Deployment
CloudHesive
 
Docker and kubernetes
Docker and kubernetesDocker and kubernetes
Docker and kubernetes
Dongwon Kim
 
Kubernetes Manchester - 6th December 2018
Kubernetes Manchester - 6th December 2018Kubernetes Manchester - 6th December 2018
Kubernetes Manchester - 6th December 2018
David Stockton
 
Biomatters and Amazon Web Services
Biomatters and Amazon Web Services Biomatters and Amazon Web Services
Biomatters and Amazon Web Services
Biomatters
 
NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013
aspyker
 
AWS (Hadoop) Meetup 30.04.09
AWS (Hadoop) Meetup 30.04.09AWS (Hadoop) Meetup 30.04.09
AWS (Hadoop) Meetup 30.04.09
Chris Purrington
 
AWS Best Practices Version 2
AWS Best Practices Version 2AWS Best Practices Version 2
AWS Best Practices Version 2
Kenichi Shibata
 
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
SolarWinds Loggly
 
Flexible compute
Flexible computeFlexible compute
Flexible compute
Peter Clapham
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticians
Peter Clapham
 
Nuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloudNuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloud
David Veksler
 
Meetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWSMeetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWS
AWS Vietnam Community
 
20170831 - Greg Palmier: Terraform & AWS at Tempus
20170831 - Greg Palmier: Terraform & AWS at Tempus20170831 - Greg Palmier: Terraform & AWS at Tempus
20170831 - Greg Palmier: Terraform & AWS at Tempus
DevOps Chicago
 
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
Amazon Web Services
 

Similar to Tech4Africa 2014 (20)

Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWSMigrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
 
Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS Migrating enterprise workloads to AWS
Migrating enterprise workloads to AWS
 
Building a Just-in-Time Application Stack for Analysts
Building a Just-in-Time Application Stack for AnalystsBuilding a Just-in-Time Application Stack for Analysts
Building a Just-in-Time Application Stack for Analysts
 
PowerPoint Presentation
PowerPoint PresentationPowerPoint Presentation
PowerPoint Presentation
 
Migrating to aws
Migrating to awsMigrating to aws
Migrating to aws
 
AWS Best Practices
AWS Best PracticesAWS Best Practices
AWS Best Practices
 
Modernizing your AWS Deployment
Modernizing your AWS DeploymentModernizing your AWS Deployment
Modernizing your AWS Deployment
 
Docker and kubernetes
Docker and kubernetesDocker and kubernetes
Docker and kubernetes
 
Kubernetes Manchester - 6th December 2018
Kubernetes Manchester - 6th December 2018Kubernetes Manchester - 6th December 2018
Kubernetes Manchester - 6th December 2018
 
Biomatters and Amazon Web Services
Biomatters and Amazon Web Services Biomatters and Amazon Web Services
Biomatters and Amazon Web Services
 
NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013
 
AWS (Hadoop) Meetup 30.04.09
AWS (Hadoop) Meetup 30.04.09AWS (Hadoop) Meetup 30.04.09
AWS (Hadoop) Meetup 30.04.09
 
AWS Best Practices Version 2
AWS Best Practices Version 2AWS Best Practices Version 2
AWS Best Practices Version 2
 
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
AWS re:Invent presentation: Unmeltable Infrastructure at Scale by Loggly
 
Flexible compute
Flexible computeFlexible compute
Flexible compute
 
Sanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticiansSanger, upcoming Openstack for Bio-informaticians
Sanger, upcoming Openstack for Bio-informaticians
 
Nuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloudNuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloud
 
Meetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWSMeetup #3: Migrate a fast scale system to AWS
Meetup #3: Migrate a fast scale system to AWS
 
20170831 - Greg Palmier: Terraform & AWS at Tempus
20170831 - Greg Palmier: Terraform & AWS at Tempus20170831 - Greg Palmier: Terraform & AWS at Tempus
20170831 - Greg Palmier: Terraform & AWS at Tempus
 
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
Infrastructure at Scale: Apache Kafka, Twitter Storm & Elastic Search (ARC303...
 

Recently uploaded

重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
cuobya
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
Azure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdfAzure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdf
AanSulistiyo
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
Danica Gill
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
Trish Parr
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
Laura Szabó
 
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
ukwwuq
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
uehowe
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
uehowe
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
zyfovom
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
SEO Article Boost
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
davidjhones387
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
bseovas
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 

Recently uploaded (20)

重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
制作毕业证书(ANU毕业证)莫纳什大学毕业证成绩单官方原版办理
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
Azure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdfAzure EA Sponsorship - Customer Guide.pdf
Azure EA Sponsorship - Customer Guide.pdf
 
7 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 20247 Best Cloud Hosting Services to Try Out in 2024
7 Best Cloud Hosting Services to Try Out in 2024
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
Search Result Showing My Post is Now Buried
Search Result Showing My Post is Now BuriedSearch Result Showing My Post is Now Buried
Search Result Showing My Post is Now Buried
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
 
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
 
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
留学挂科(UofM毕业证)明尼苏达大学毕业证成绩单复刻办理
 
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
办理毕业证(NYU毕业证)纽约大学毕业证成绩单官方原版办理
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
 
Discover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to IndiaDiscover the benefits of outsourcing SEO to India
Discover the benefits of outsourcing SEO to India
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 

Tech4Africa 2014

  • 1. AWS Speed & Scaling with Magento Florian Aschenbrenner
  • 2. About me • 2 years Java dev – ATM/Host comms • 6 years of sysadmin and security admin • 3 years of Head of Tech/CTO for Wedo • freelance projects • musician
  • 3. Structure • Concepts • Example for local environment • Proposal for AWS buildout • Highlight on individual technologies • Example for infrastructure buildout
  • 4. Let‘s go to the cloud (1)
  • 5.
  • 6. TCO – Traditional 9 8 7 6 5 4 3 2 1 0 Cost Sunday Monday Tuesday Wednesday Thursday Friday Saturday
  • 7. TCO – AWS (if done right) 9 8 7 6 5 4 3 2 1 0 Cost Sunday Monday Tuesday Wednesday Thursday Friday Saturday
  • 8. High Availability • Cost of downtime? • DNS availability? • Server replacement time? • Disaster recovery?
  • 9. Scalability / Automation • Adding additional hardware? • Identical systems? • More hardware than needed? • Dev machines = live environment? • 2x the load? 3x? 4x?
  • 10.
  • 11. What to consider before moving • Is your application ready? – do you store information locally? – can you handle turning off one node? – how high is your IO usage? • Are your current app components ready? – look for cloud service alternatives
  • 12. Magento and the Cloud (1) • Magento (per default) – uses lots of resources and IO requests – saves information locally – can get really heavy with lots of SKUs – uses a combined frontend / backend system
  • 13. Magento and the Cloud (2) • Ideal scenario – separate backend / frontend / cron jobs – don’t save any important data locally – centralized session storage – centralized cache storage – lower IO usage (1.7+) – use a proper search engine – use full(!) page caches = no hits to AWS – completely automated
  • 14. Traditional Magento Infrastructure App (Magento) Database
  • 15. Traditional Magento Infrastructure Load Balancer App App Database
  • 16. Step 1 – A test environment • Automation is key! – test system = production system – all devs have same system setups • Technologies used – Packer (http://www.packer.io/) – Vagrant (http://www.vagrantup.com/) – VMWare (recommended), VirtualBox – Puppet (recommended), Chef
  • 17. Traditional Magento Infrastructure Load Balancer App App Database
  • 18. Proposed Infrastructure Route 53 Fastly BE ELB FE ELB BE Array FE Array Job Array RDS Additional Services ELBs EC2s
  • 19. Proposed Infrastructure Route 53 Fastly BE ELB FE ELB BE Array FE Array Job Array RDS Additional Services ELBs EC2s
  • 20. Tech – EC2 • ephemeral vs. EBS-backed storage • compute vs. memory heavy instances • EBS vs. network optimized instances • SSD vs. non-SSD storage
  • 21. Tech – EC2 Frontend • test with expected traffic + more – capture and replay – simulate crawling – test with real people (!) • 2 large instances vs. 4 smaller instances
  • 22. Tech – EC2 Backend / EC2 Job • split out to not take away processing power for customers • Backend roles – admin work – API connections • Job roles – periodical jobs – usually 1 instance
  • 23. Autoscaling • min, max and desired amounts of EC2 instances • rule-based system • Launch Groups for launching AMIs
  • 24. Proposed Infrastructure Route 53 Fastly BE ELB FE ELB BE Array FE Array Job Array RDS Additional Services ELBs EC2s
  • 25. Tech – ELBs (1) • will distribute traffic based on latency, origin etc. • “Cross-Zone balancing” • “Connection Draining” (new)
  • 26. Tech – ELBs (2) • check idle timeout settings • make sure security groups and availability zones match with AS group • consider cron jobs / shell jobs instead of long running queries
  • 27. Proposed Infrastructure Route 53 Fastly BE ELB FE ELB BE Array FE Array Job Array RDS Additional Services ELBs EC2s
  • 28. Tech - RDS (1) • Reserved IOPS vs. Standard Storage • Reserved IOPS – start at 1000 IOPS – have to be paid in full • watch CloudWatch metric „Disk Queue Depth“
  • 29. Tech - RDS (2) • go for Multi-AZ – High Availability – DB changes don‘t need downtime • check your Configuration Sets (!) – Query Cache might be disabled – further optimizations need to be done
  • 30.
  • 31. Proposed Infrastructure Route 53 Fastly BE ELB FE ELB BE Array FE Array Job Array RDS Additional Services ELBs EC2s
  • 32. Tech - Route 53 • „Delegation Set“ • needs registrar with support for 4 name servers (new: register via AWS) • Routing policies – Simple – Latency
  • 33.
  • 34. Proposed Infrastructure Route 53 Fastly BE ELB FE ELB BE Array FE Array Job Array RDS Additional Services ELBs EC2s
  • 35. Tech – Fastly / Varnish (1) Internet Varnish Backend Server
  • 36. Tech – Fastly / Varnish (2) • hosted Varnish solution • „distributed“ Varnish • complete purge support • complete VCL support • Magento implementation – Phoenix PageCache for Magento – implement Fastly API
  • 37. Tech – Fastly / Varnish (3) • pages HAVE to be fully cacheable • hole-punching: negative performance impact • go for AJAX • store information locally (HTML5 local storage, cookies)
  • 38. Tech – Fastly / Varnish (4) • Examples: – recently viewed products – amount of products in basket • might need layout changes • use some form of pre-caching • normalize user agents (!)
  • 39. Proposed Infrastructure Route 53 Fastly BE ELB FE ELB BE Array FE Array Job Array RDS Additional Services ELBs EC2s
  • 40. Tech - S3 / CloudFront (1) • do not use local storage for persistent data • do not use EBS for persistent data • S3 is available to all instances • will host – CMS uploaded files (static pages) – product images – image caches
  • 41. Tech - S3 / CloudFront (2) • great for write-heavy operations (save) • slow for read-heavy operations – use CloudFront • Magento implementation: – OnePica ImageCDN – custom code for backend data storage
  • 42. Tech - S3 / CloudFront (3) • Magento provides 2 data storages – file based storage – database based storage • rewrite database storage to use aws-php-sdk • combine with OnePica extension
  • 43. Tech - S3 / CloudFront (4) Internet Instance Backend Fetch image / Storage generate cache http://…/cache/test.jpg
  • 44. Tech - S3 / CloudFront (5) Cloud Front S3 Save cache to S3 Internet Instance Backend Fetch image / Storage generate cache http://…/cache/test.jpg
  • 45. Tech – Elasticache • will be used for – Session storage http://github.com/colinmollenhour/Cm_Cache_Backend_Redis.git – Block Level Cache http://github.com/colinmollenhour/Cm_RedisSession.git • we will use Redis – > memcache – distributable by default – true key-value store
  • 46. Tech – Search • slow on large catalogues • Elasticsearch (Bubblesearch) / Solar • offload search traffic to dedicated service /server
  • 47.
  • 48. Security • use VPCs (now per default) • don’t assign public IPs to your servers • don’t use public RDS distributions • set strict security groups • use VPN to connect to your infrastructure – AWS Direct Connect – small EC2 instance that runs VPN service – only VPN servers should have external IPs
  • 49. Tech – Rollouts (1) • previously: – Capistrano – rpm packages – git pull – svn up • now: server names might be unknown
  • 50. Tech – Rollouts (2) • Options – bake an AMI for every change – use messaging systems to roll out releases across servers (ActiveMQ etc.) • use a Capistrano-like system to ensure fast rollbacks if needed
  • 51. Tech – Rollouts (3) • always aim for a 1-click deployment • use Jenkins etc. to build/verify your project • OS Packages – bake AMIs every time you want to install something – use puppet master/client architecture
  • 52. Step 2 - Infrastructure (1) • go a step further: automate your infrastructure • quickly build new test environments • quickly move to another provider if needed • automatically document your infrastructure • “check in” your infrastructure
  • 53. Step 2 - Infrastructure (2) • build your base AMI with packer • use same CM tools and classes as for test environment • use tech such as – Fog (http://fog.io) – build-cloud (https://github.com/scalefactory/build-cloud)
  • 54. Thanks! • Check out the demos on – https://github.com/Fireflake/tech4africa • Get in touch – http://www.linkedin.com/pub/florian-aschenbrenner/ 79/368/566

Editor's Notes

  1. you just managed to get a rented VM space Lowering TCO High Availability Scalability Automation Reproducibility
  2. in my experience C3 > M3 for frontend server M1 as a cheap alternative for backend server
  3. Reserved IOPS vs. Standard Storage (±100 IOPS with spikes) Reserved IOPS start at 1000 IOPS (no spikes, each page read/write 1 IOP, > 16KB = multiple IO requests) Queue Depth of 5 per 1000 IOPS is good Queue Depth of 1-2 IOPS for standard storage
  4. further optimizations need to be done table_cache etc. be wary about changes from mysql 5.5 to 5.6 (query execution plans)
  5. 4 redundant DNS servers („Delegation Set“)
  6. Crawlers/Bots will pre-cache your store
  7. do not use local storage for persistent data turning off an instance will loose you data! do not use EBS for persistent data same as introducing NFS -> slow!
  8. CloudFront s3 meta data needs to be correct
  9. configure „origin-pull“ from s3 buckets
  10. Memcache: not persistent! Redis: very easy garbage collection circumvents core_cache_tags table