SlideShare a Scribd company logo
1 of 23
September 22, 2015
Wordpress: Application Strategy on AWS Architecture
September 22, 2015
#YOOXlabsTechEvent
The information contained in this document is confidential and proprietary to YOOX Group
WordPress: Application Strategy on AWS Architecture
 Standard setup: single server stateful application
 Standard Configuration
 Standard WordPress migration
3
Scenario before AWS
The information contained in this document is confidential and proprietary to YOOX Group
WordPress: Application Strategy on AWS Architecture
 Standard setup: single server stateful application
 Standard Configuration
 Standard WordPress migration
4
Scenario before AWS
The information contained in this document is confidential and proprietary to YOOX Group
Standard setup
5
 One application server
 One RDBS server
 One single running instance of WordPress
Scaling is very difficult
No data redudancy
Disaster recovery may be very slow
Uploaded assets are stored on one single server
The information contained in this document is confidential and proprietary to YOOX Group
WordPress: Application Strategy on AWS Architecture
6
 Standard setup: single server stateful application
 Standard Configuration
 Standard WordPress migration
Scenario before AWS
The information contained in this document is confidential and proprietary to YOOX Group
Standard Configuration
7
 DB Connection
 Site URL and Home URL
 Cookie Domain
Params are stored inside wp-config.php
Stored inside DB during installation.
Can be overridden by constants inside
config file
Defined inside config file.
Needed to correctly handle cookies based
functionalities (login, sessions etc).
The information contained in this document is confidential and proprietary to YOOX Group
WordPress: Application Strategy on AWS Architecture
8
 Standard setup: single server stateful application
 Standard Configuration
 Standard WordPress migration
Scenario before AWS
The information contained in this document is confidential and proprietary to YOOX Group
Standard WordPress migration
9
 Move code bundle
 Move uploaded assets
 Reconfigure domains
Core, themes and plugins
Multimedia files
Settings inside DB or through wp-config.php
The information contained in this document is confidential and proprietary to YOOX Group
Moving WordPress to the cloud
10
 Setup
 Wordpress customization
 Custom wp-config.php and wp-config.xml
 Stateless application: load balancing and assets (S3)
 Post deploy action
 S3fs
Scenario with AWS
The information contained in this document is confidential and proprietary to YOOX Group
Set up (AWS)
11
 WordPress is installed onto AWS EB container
 AWS EB automatically handles the details of
capacity provisioning, load balancing, scaling,
and application health monitoring
 Amazon Relational Database Service (Amazon
RDS) is a web service that makes it easier to set
up, operate, and scale a relational database in
the cloud.
 Amazon ElastiCache is a web service that
makes it easy to set up, manage, and scale
distributed in-memory cache environments in the
cloud
 WordPress installation remains the same against
an architecture
The information contained in this document is confidential and proprietary to YOOX Group
Moving WordPress to the cloud
12
 Setup
 Wordpress customization
 Custom wp-config.php and wp-config.xml
 Stateless application: load balancing and assets (S3)
 Post deploy action
 S3fs
Scenario with AWS
The information contained in this document is confidential and proprietary to YOOX Group
WordPress Customization
13
The information contained in this document is confidential and proprietary to YOOX Group
Moving WordPress to the cloud
14
 Setup
 Wordpress customization
 Custom wp-config.php and wp-config.xml
 Stateless application: load balancing and assets (S3)
 Post deploy action
 S3fs
Scenario with AWS
The information contained in this document is confidential and proprietary to YOOX Group
WordPress customization :: Custom wp-config.php and wp-config.xml
15
 For each request wp-config.php loads settings
and configurations stored in wp-config.xml
 When all is ready WP will be initialized with right
configurations
 The configurations are different for each
environments
 wp-config.php takes right configurations against
an environment
 WordPress can run among environments without
any change to the DB or variables inside wp-
config.php
The information contained in this document is confidential and proprietary to YOOX Group
Moving WordPress to the cloud
16
 Setup
 Wordpress customization
 Custom wp-config.php and wp-config.xml
 Stateless application: load balancing and assets (S3)
 Post deploy action
 S3fs
Scenario with AWS
The information contained in this document is confidential and proprietary to YOOX Group
WordPress customization :: Stateless application
17
 Load balanced application
 Auto scaling policies and ranges
 Same WordPress code bundle shared
among multiple instances
 The assests are stored onto S3 (Simple
Storage Service)
The information contained in this document is confidential and proprietary to YOOX Group
Moving WordPress to the cloud
18
 Setup
 Wordpress customization
 Custom wp-config.php and wp-config.xml
 Stateless application: load balancing and assets (S3)
 Post deploy action
 S3fs
Scenario with AWS
The information contained in this document is confidential and proprietary to YOOX Group
WordPress customization :: Post deploy action
19
When deploying your applications, you may want to
customize and configure the software that your
application depends on. These files could be either
dependencies required by the application for example,
additional packages from the yum repository or they could
be configuration files such as a replacement for httpd.conf
to override specific settings that are defaulted by AWS
Elastic Beanstalk. You may also want to customize your
environment resources that are part of your AWS Elastic
Beanstalk environment (e.g., SQS queues, ElastiCache
clusters). For example, you may want to add an Amazon
SQS queue and an alarm on queue depth, or you might
want to add an Amazon ElastiCache cluster.
EB Extension references
 S3 bucket is mounted via eb commands
The information contained in this document is confidential and proprietary to YOOX Group
Moving WordPress to the cloud
20
 Setup
 Wordpress customization
 Custom wp-config.php and wp-config.xml
 Stateless application: load balancing and assets (S3)
 Post deploy action
 S3fs
Scenario with AWS
The information contained in this document is confidential and proprietary to YOOX Group
WordPress customization :: S3 FS (File System)
21
 Assets are stored onto S3 bucket
 S3 is mounted onto instance
 For WordPress the images are stored onto
instance but in the real world the assests
are saved onto S3 bucket
 Against multiple instances (one WP per
instance ) the assets remain the same
 S3fs allows Linux and Mac OS X to mount
an S3 bucket via FUSE
 With FUSE it is possible to implement a fully
functional filesystem in a userspace program
The information contained in this document is confidential and proprietary to YOOX Group
We are happy
22
We can no longer say that to have one’s head in the clouds is bad
(Non possiamo più dire che avere la testa tra le nuvole sia negativo)
The information contained in this document is confidential and proprietary to YOOX Group
www.yooxgroup.com
BOLOGNA - MILANO - NEW YORK - PARIS - TOKYO - SHANGHAI - HONG KONG
CONTACTS
Experience Tools
Team
experiencetoolssupport@yoox.com
#YOOXlabsTechEvent

More Related Content

What's hot

Accelerating Spark Workloads in a Mesos Environment with Alluxio
Accelerating Spark Workloads in a Mesos Environment with AlluxioAccelerating Spark Workloads in a Mesos Environment with Alluxio
Accelerating Spark Workloads in a Mesos Environment with AlluxioAlluxio, Inc.
 
How to backup Oracle Database to Dropbox, Windows Azure, Amazon S3, and local...
How to backup Oracle Database to Dropbox, Windows Azure, Amazon S3, and local...How to backup Oracle Database to Dropbox, Windows Azure, Amazon S3, and local...
How to backup Oracle Database to Dropbox, Windows Azure, Amazon S3, and local...Adeline Wong
 
Cloud bursting with Apache Stratos
Cloud bursting with Apache StratosCloud bursting with Apache Stratos
Cloud bursting with Apache StratosWSO2
 
Raid zero copy
Raid zero copyRaid zero copy
Raid zero copyClodura
 
Cloud Bursting Stratos Webinar
Cloud Bursting Stratos WebinarCloud Bursting Stratos Webinar
Cloud Bursting Stratos WebinarWSO2
 
Okuyama Summary
Okuyama SummaryOkuyama Summary
Okuyama Summaryskoichi
 
Mesos, DC/OS and the Architecture of the New Datacenter
Mesos, DC/OS and the Architecture of the New DatacenterMesos, DC/OS and the Architecture of the New Datacenter
Mesos, DC/OS and the Architecture of the New DatacenterQAware GmbH
 
Managing Cassandra Databases with OpenStack Trove
Managing Cassandra Databases with OpenStack TroveManaging Cassandra Databases with OpenStack Trove
Managing Cassandra Databases with OpenStack TroveTesora
 
MySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack TroveMySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack TroveMatt Lord
 
Extension de Service Cloud Foundry
Extension de Service Cloud FoundryExtension de Service Cloud Foundry
Extension de Service Cloud FoundryVMware Tanzu
 
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, Paas
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, PaasCloud Computing, Docker, Mesos, DCOS, Container, Big Data, Paas
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, PaasNeeraj Sabharwal
 
A Deep Dive Into Trove
A Deep Dive Into TroveA Deep Dive Into Trove
A Deep Dive Into TroveTesora
 
AWSAdvancedArchitecturesforOracleDBonEC2
AWSAdvancedArchitecturesforOracleDBonEC2AWSAdvancedArchitecturesforOracleDBonEC2
AWSAdvancedArchitecturesforOracleDBonEC2Abdul Sathar Sait
 
Best Practices for Using Alluxio with Spark
Best Practices for Using Alluxio with SparkBest Practices for Using Alluxio with Spark
Best Practices for Using Alluxio with SparkAlluxio, Inc.
 
Alluxio Mesos Meetup - SMACK to SMAACK
Alluxio Mesos Meetup - SMACK to SMAACKAlluxio Mesos Meetup - SMACK to SMAACK
Alluxio Mesos Meetup - SMACK to SMAACKAlluxio, Inc.
 
Open stack presentation
Open stack presentationOpen stack presentation
Open stack presentationFrikha Nour
 
Introduction to OpenStack Trove & Database as a Service
Introduction to OpenStack Trove & Database as a ServiceIntroduction to OpenStack Trove & Database as a Service
Introduction to OpenStack Trove & Database as a ServiceTesora
 
Upgrading to MySQL 8.0 webinar slides November 27th, 2019
Upgrading to MySQL 8.0 webinar slides November 27th, 2019Upgrading to MySQL 8.0 webinar slides November 27th, 2019
Upgrading to MySQL 8.0 webinar slides November 27th, 2019Dave Stokes
 

What's hot (20)

Accelerating Spark Workloads in a Mesos Environment with Alluxio
Accelerating Spark Workloads in a Mesos Environment with AlluxioAccelerating Spark Workloads in a Mesos Environment with Alluxio
Accelerating Spark Workloads in a Mesos Environment with Alluxio
 
How to backup Oracle Database to Dropbox, Windows Azure, Amazon S3, and local...
How to backup Oracle Database to Dropbox, Windows Azure, Amazon S3, and local...How to backup Oracle Database to Dropbox, Windows Azure, Amazon S3, and local...
How to backup Oracle Database to Dropbox, Windows Azure, Amazon S3, and local...
 
Cloud bursting with Apache Stratos
Cloud bursting with Apache StratosCloud bursting with Apache Stratos
Cloud bursting with Apache Stratos
 
Oracle OpenWorld 2014 Review Part two - IaaS
Oracle OpenWorld 2014 Review Part two - IaaSOracle OpenWorld 2014 Review Part two - IaaS
Oracle OpenWorld 2014 Review Part two - IaaS
 
Raid zero copy
Raid zero copyRaid zero copy
Raid zero copy
 
Cloud Bursting Stratos Webinar
Cloud Bursting Stratos WebinarCloud Bursting Stratos Webinar
Cloud Bursting Stratos Webinar
 
AWS: First Steps
AWS: First StepsAWS: First Steps
AWS: First Steps
 
Okuyama Summary
Okuyama SummaryOkuyama Summary
Okuyama Summary
 
Mesos, DC/OS and the Architecture of the New Datacenter
Mesos, DC/OS and the Architecture of the New DatacenterMesos, DC/OS and the Architecture of the New Datacenter
Mesos, DC/OS and the Architecture of the New Datacenter
 
Managing Cassandra Databases with OpenStack Trove
Managing Cassandra Databases with OpenStack TroveManaging Cassandra Databases with OpenStack Trove
Managing Cassandra Databases with OpenStack Trove
 
MySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack TroveMySQL DBaaS with OpenStack Trove
MySQL DBaaS with OpenStack Trove
 
Extension de Service Cloud Foundry
Extension de Service Cloud FoundryExtension de Service Cloud Foundry
Extension de Service Cloud Foundry
 
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, Paas
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, PaasCloud Computing, Docker, Mesos, DCOS, Container, Big Data, Paas
Cloud Computing, Docker, Mesos, DCOS, Container, Big Data, Paas
 
A Deep Dive Into Trove
A Deep Dive Into TroveA Deep Dive Into Trove
A Deep Dive Into Trove
 
AWSAdvancedArchitecturesforOracleDBonEC2
AWSAdvancedArchitecturesforOracleDBonEC2AWSAdvancedArchitecturesforOracleDBonEC2
AWSAdvancedArchitecturesforOracleDBonEC2
 
Best Practices for Using Alluxio with Spark
Best Practices for Using Alluxio with SparkBest Practices for Using Alluxio with Spark
Best Practices for Using Alluxio with Spark
 
Alluxio Mesos Meetup - SMACK to SMAACK
Alluxio Mesos Meetup - SMACK to SMAACKAlluxio Mesos Meetup - SMACK to SMAACK
Alluxio Mesos Meetup - SMACK to SMAACK
 
Open stack presentation
Open stack presentationOpen stack presentation
Open stack presentation
 
Introduction to OpenStack Trove & Database as a Service
Introduction to OpenStack Trove & Database as a ServiceIntroduction to OpenStack Trove & Database as a Service
Introduction to OpenStack Trove & Database as a Service
 
Upgrading to MySQL 8.0 webinar slides November 27th, 2019
Upgrading to MySQL 8.0 webinar slides November 27th, 2019Upgrading to MySQL 8.0 webinar slides November 27th, 2019
Upgrading to MySQL 8.0 webinar slides November 27th, 2019
 

Viewers also liked

RClark professional portfolio recent
RClark professional portfolio recentRClark professional portfolio recent
RClark professional portfolio recentRandy Clark, M.F.A.
 
Cheerfy pitch - METRO Accelerator Hospitality 2016 demo day
Cheerfy pitch - METRO Accelerator Hospitality 2016 demo dayCheerfy pitch - METRO Accelerator Hospitality 2016 demo day
Cheerfy pitch - METRO Accelerator Hospitality 2016 demo dayMetroAccel
 
Nicholas M Theodore Economic Analysis
Nicholas M Theodore Economic AnalysisNicholas M Theodore Economic Analysis
Nicholas M Theodore Economic AnalysisNicholas Theodore
 
Road Safety Partnership Day flyer, Hertford
Road Safety Partnership Day flyer, HertfordRoad Safety Partnership Day flyer, Hertford
Road Safety Partnership Day flyer, HertfordStephen Lloyd Jones
 
Spad big data - sfds - 2016
Spad   big data - sfds - 2016Spad   big data - sfds - 2016
Spad big data - sfds - 2016Julien BLAIZE
 
The root causes of the decline of Muslim
The root causes of the decline of MuslimThe root causes of the decline of Muslim
The root causes of the decline of MuslimBelayet Hossen
 
PBL Reserch Project-Storyboard
PBL Reserch Project-StoryboardPBL Reserch Project-Storyboard
PBL Reserch Project-Storyboardesmercuellar
 
Pet 3947 - PETIÇÃO (Processo físico)
Pet 3947 - PETIÇÃO  (Processo físico)Pet 3947 - PETIÇÃO  (Processo físico)
Pet 3947 - PETIÇÃO (Processo físico)tribunadoceara
 
Cases - Carraro e Bar do Gomes
Cases - Carraro e Bar do GomesCases - Carraro e Bar do Gomes
Cases - Carraro e Bar do Gomes8 Total Brand
 
Conheça as 10 medidas contra a corrupção!
Conheça as 10 medidas contra a corrupção!Conheça as 10 medidas contra a corrupção!
Conheça as 10 medidas contra a corrupção!Politize!
 
U iii cheque o pagare- Marielbys Nairelis Grimaldo
U iii cheque o pagare- Marielbys Nairelis GrimaldoU iii cheque o pagare- Marielbys Nairelis Grimaldo
U iii cheque o pagare- Marielbys Nairelis Grimaldorammsteinruben
 

Viewers also liked (14)

RClark professional portfolio recent
RClark professional portfolio recentRClark professional portfolio recent
RClark professional portfolio recent
 
Cheerfy pitch - METRO Accelerator Hospitality 2016 demo day
Cheerfy pitch - METRO Accelerator Hospitality 2016 demo dayCheerfy pitch - METRO Accelerator Hospitality 2016 demo day
Cheerfy pitch - METRO Accelerator Hospitality 2016 demo day
 
Nicholas M Theodore Economic Analysis
Nicholas M Theodore Economic AnalysisNicholas M Theodore Economic Analysis
Nicholas M Theodore Economic Analysis
 
Road Safety Partnership Day flyer, Hertford
Road Safety Partnership Day flyer, HertfordRoad Safety Partnership Day flyer, Hertford
Road Safety Partnership Day flyer, Hertford
 
Spad big data - sfds - 2016
Spad   big data - sfds - 2016Spad   big data - sfds - 2016
Spad big data - sfds - 2016
 
The root causes of the decline of Muslim
The root causes of the decline of MuslimThe root causes of the decline of Muslim
The root causes of the decline of Muslim
 
PBL Reserch Project-Storyboard
PBL Reserch Project-StoryboardPBL Reserch Project-Storyboard
PBL Reserch Project-Storyboard
 
Pet 3947 - PETIÇÃO (Processo físico)
Pet 3947 - PETIÇÃO  (Processo físico)Pet 3947 - PETIÇÃO  (Processo físico)
Pet 3947 - PETIÇÃO (Processo físico)
 
Paquetes PPK (Modificaciones al Código Tributario)
Paquetes PPK (Modificaciones al Código Tributario)Paquetes PPK (Modificaciones al Código Tributario)
Paquetes PPK (Modificaciones al Código Tributario)
 
Cases - Carraro e Bar do Gomes
Cases - Carraro e Bar do GomesCases - Carraro e Bar do Gomes
Cases - Carraro e Bar do Gomes
 
Conheça as 10 medidas contra a corrupção!
Conheça as 10 medidas contra a corrupção!Conheça as 10 medidas contra a corrupção!
Conheça as 10 medidas contra a corrupção!
 
U iii cheque o pagare- Marielbys Nairelis Grimaldo
U iii cheque o pagare- Marielbys Nairelis GrimaldoU iii cheque o pagare- Marielbys Nairelis Grimaldo
U iii cheque o pagare- Marielbys Nairelis Grimaldo
 
اختراعات النانو
اختراعات النانواختراعات النانو
اختراعات النانو
 
Carlos Caixeta
Carlos CaixetaCarlos Caixeta
Carlos Caixeta
 

Similar to Wordpress_AWS

PDF_Slide__Hadirkan_AWS_untuk_Hybrid_Cloud_Storage_Anda.pdf
PDF_Slide__Hadirkan_AWS_untuk_Hybrid_Cloud_Storage_Anda.pdfPDF_Slide__Hadirkan_AWS_untuk_Hybrid_Cloud_Storage_Anda.pdf
PDF_Slide__Hadirkan_AWS_untuk_Hybrid_Cloud_Storage_Anda.pdfRopiudin5
 
AWS Accelerated Program - Session 2 - Storage Services.pptx
AWS Accelerated Program - Session 2 - Storage Services.pptxAWS Accelerated Program - Session 2 - Storage Services.pptx
AWS Accelerated Program - Session 2 - Storage Services.pptxDipaliKulshrestha2
 
WordPress on AE Beanstalk:The One-Stop Guide
WordPress on AE Beanstalk:The One-Stop GuideWordPress on AE Beanstalk:The One-Stop Guide
WordPress on AE Beanstalk:The One-Stop GuidePixlogix Infotech
 
Getting Started with Managed Services | AWS Public Sector Summit 2016
Getting Started with Managed Services | AWS Public Sector Summit 2016Getting Started with Managed Services | AWS Public Sector Summit 2016
Getting Started with Managed Services | AWS Public Sector Summit 2016Amazon Web Services
 
AWS Certified Solutions Architect - Associate SAA-C03 Dumps
AWS Certified Solutions Architect - Associate SAA-C03 DumpsAWS Certified Solutions Architect - Associate SAA-C03 Dumps
AWS Certified Solutions Architect - Associate SAA-C03 DumpsVictoriaMeisel
 
T3 - Design, deploy, and optimize Microsoft SharePoint on AWS - Zlatan Dzinic
T3 - Design, deploy, and optimize Microsoft SharePoint on AWS - Zlatan Dzinic T3 - Design, deploy, and optimize Microsoft SharePoint on AWS - Zlatan Dzinic
T3 - Design, deploy, and optimize Microsoft SharePoint on AWS - Zlatan Dzinic SPS Monaco
 
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...Amazon Web Services
 
WIN204-Simplifying Microsoft Architectures with AWS Services
WIN204-Simplifying Microsoft Architectures with AWS ServicesWIN204-Simplifying Microsoft Architectures with AWS Services
WIN204-Simplifying Microsoft Architectures with AWS ServicesAmazon Web Services
 
Mastering PAS-C01 Unleash Your Potential with Amazondumps
Mastering PAS-C01 Unleash Your Potential with AmazondumpsMastering PAS-C01 Unleash Your Potential with Amazondumps
Mastering PAS-C01 Unleash Your Potential with AmazondumpsNoraScarlett1
 
Architecting Cloud Apps
Architecting Cloud AppsArchitecting Cloud Apps
Architecting Cloud Appsjineshvaria
 
Deep Dive on the AWS Storage Gateway - April 2017 AWS Online Tech Talks
Deep Dive on the AWS Storage Gateway - April 2017 AWS Online Tech TalksDeep Dive on the AWS Storage Gateway - April 2017 AWS Online Tech Talks
Deep Dive on the AWS Storage Gateway - April 2017 AWS Online Tech TalksAmazon Web Services
 
AWS Storage and Data Migration: AWS Innovate Ottawa
AWS Storage and Data Migration: AWS Innovate OttawaAWS Storage and Data Migration: AWS Innovate Ottawa
AWS Storage and Data Migration: AWS Innovate OttawaAmazon Web Services
 
Cloud_providers_comparison.pdf
Cloud_providers_comparison.pdfCloud_providers_comparison.pdf
Cloud_providers_comparison.pdfHarshith212902
 
ENT306 Migrating Large Scale Data Sets to the Cloud
ENT306 Migrating Large Scale Data Sets to the CloudENT306 Migrating Large Scale Data Sets to the Cloud
ENT306 Migrating Large Scale Data Sets to the CloudAmazon Web Services
 
SoftNAS Cloud NAS Architecture on AWS whitepaper
SoftNAS Cloud NAS Architecture on AWS whitepaperSoftNAS Cloud NAS Architecture on AWS whitepaper
SoftNAS Cloud NAS Architecture on AWS whitepaperMH Riad
 
SoftNAS Architecture on AWS
SoftNAS Architecture on AWSSoftNAS Architecture on AWS
SoftNAS Architecture on AWSBuurst
 
Simplifying Microsoft Architectures with AWS - CMP214 - re:Invent 2017
Simplifying Microsoft Architectures with AWS - CMP214 - re:Invent 2017Simplifying Microsoft Architectures with AWS - CMP214 - re:Invent 2017
Simplifying Microsoft Architectures with AWS - CMP214 - re:Invent 2017Amazon Web Services
 
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...Amazon Web Services
 
Disaster recovery webinar - oct.7
Disaster recovery   webinar - oct.7Disaster recovery   webinar - oct.7
Disaster recovery webinar - oct.7Amazon Web Services
 

Similar to Wordpress_AWS (20)

PDF_Slide__Hadirkan_AWS_untuk_Hybrid_Cloud_Storage_Anda.pdf
PDF_Slide__Hadirkan_AWS_untuk_Hybrid_Cloud_Storage_Anda.pdfPDF_Slide__Hadirkan_AWS_untuk_Hybrid_Cloud_Storage_Anda.pdf
PDF_Slide__Hadirkan_AWS_untuk_Hybrid_Cloud_Storage_Anda.pdf
 
AWS Accelerated Program - Session 2 - Storage Services.pptx
AWS Accelerated Program - Session 2 - Storage Services.pptxAWS Accelerated Program - Session 2 - Storage Services.pptx
AWS Accelerated Program - Session 2 - Storage Services.pptx
 
WordPress on AE Beanstalk:The One-Stop Guide
WordPress on AE Beanstalk:The One-Stop GuideWordPress on AE Beanstalk:The One-Stop Guide
WordPress on AE Beanstalk:The One-Stop Guide
 
Getting Started with Managed Services | AWS Public Sector Summit 2016
Getting Started with Managed Services | AWS Public Sector Summit 2016Getting Started with Managed Services | AWS Public Sector Summit 2016
Getting Started with Managed Services | AWS Public Sector Summit 2016
 
AWS Certified Solutions Architect - Associate SAA-C03 Dumps
AWS Certified Solutions Architect - Associate SAA-C03 DumpsAWS Certified Solutions Architect - Associate SAA-C03 Dumps
AWS Certified Solutions Architect - Associate SAA-C03 Dumps
 
T3 - Design, deploy, and optimize Microsoft SharePoint on AWS - Zlatan Dzinic
T3 - Design, deploy, and optimize Microsoft SharePoint on AWS - Zlatan Dzinic T3 - Design, deploy, and optimize Microsoft SharePoint on AWS - Zlatan Dzinic
T3 - Design, deploy, and optimize Microsoft SharePoint on AWS - Zlatan Dzinic
 
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
AWS re:Invent 2016: Design, Deploy, and Optimize Microsoft SharePoint on AWS ...
 
WIN204-Simplifying Microsoft Architectures with AWS Services
WIN204-Simplifying Microsoft Architectures with AWS ServicesWIN204-Simplifying Microsoft Architectures with AWS Services
WIN204-Simplifying Microsoft Architectures with AWS Services
 
Mastering PAS-C01 Unleash Your Potential with Amazondumps
Mastering PAS-C01 Unleash Your Potential with AmazondumpsMastering PAS-C01 Unleash Your Potential with Amazondumps
Mastering PAS-C01 Unleash Your Potential with Amazondumps
 
Architecting Cloud Apps
Architecting Cloud AppsArchitecting Cloud Apps
Architecting Cloud Apps
 
Deep Dive on the AWS Storage Gateway - April 2017 AWS Online Tech Talks
Deep Dive on the AWS Storage Gateway - April 2017 AWS Online Tech TalksDeep Dive on the AWS Storage Gateway - April 2017 AWS Online Tech Talks
Deep Dive on the AWS Storage Gateway - April 2017 AWS Online Tech Talks
 
Aws
AwsAws
Aws
 
AWS Storage and Data Migration: AWS Innovate Ottawa
AWS Storage and Data Migration: AWS Innovate OttawaAWS Storage and Data Migration: AWS Innovate Ottawa
AWS Storage and Data Migration: AWS Innovate Ottawa
 
Cloud_providers_comparison.pdf
Cloud_providers_comparison.pdfCloud_providers_comparison.pdf
Cloud_providers_comparison.pdf
 
ENT306 Migrating Large Scale Data Sets to the Cloud
ENT306 Migrating Large Scale Data Sets to the CloudENT306 Migrating Large Scale Data Sets to the Cloud
ENT306 Migrating Large Scale Data Sets to the Cloud
 
SoftNAS Cloud NAS Architecture on AWS whitepaper
SoftNAS Cloud NAS Architecture on AWS whitepaperSoftNAS Cloud NAS Architecture on AWS whitepaper
SoftNAS Cloud NAS Architecture on AWS whitepaper
 
SoftNAS Architecture on AWS
SoftNAS Architecture on AWSSoftNAS Architecture on AWS
SoftNAS Architecture on AWS
 
Simplifying Microsoft Architectures with AWS - CMP214 - re:Invent 2017
Simplifying Microsoft Architectures with AWS - CMP214 - re:Invent 2017Simplifying Microsoft Architectures with AWS - CMP214 - re:Invent 2017
Simplifying Microsoft Architectures with AWS - CMP214 - re:Invent 2017
 
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
AWS re:Invent 2016: Getting Started with the Hybrid Cloud: Enterprise Backup ...
 
Disaster recovery webinar - oct.7
Disaster recovery   webinar - oct.7Disaster recovery   webinar - oct.7
Disaster recovery webinar - oct.7
 

Wordpress_AWS

  • 2. Wordpress: Application Strategy on AWS Architecture September 22, 2015 #YOOXlabsTechEvent
  • 3. The information contained in this document is confidential and proprietary to YOOX Group WordPress: Application Strategy on AWS Architecture  Standard setup: single server stateful application  Standard Configuration  Standard WordPress migration 3 Scenario before AWS
  • 4. The information contained in this document is confidential and proprietary to YOOX Group WordPress: Application Strategy on AWS Architecture  Standard setup: single server stateful application  Standard Configuration  Standard WordPress migration 4 Scenario before AWS
  • 5. The information contained in this document is confidential and proprietary to YOOX Group Standard setup 5  One application server  One RDBS server  One single running instance of WordPress Scaling is very difficult No data redudancy Disaster recovery may be very slow Uploaded assets are stored on one single server
  • 6. The information contained in this document is confidential and proprietary to YOOX Group WordPress: Application Strategy on AWS Architecture 6  Standard setup: single server stateful application  Standard Configuration  Standard WordPress migration Scenario before AWS
  • 7. The information contained in this document is confidential and proprietary to YOOX Group Standard Configuration 7  DB Connection  Site URL and Home URL  Cookie Domain Params are stored inside wp-config.php Stored inside DB during installation. Can be overridden by constants inside config file Defined inside config file. Needed to correctly handle cookies based functionalities (login, sessions etc).
  • 8. The information contained in this document is confidential and proprietary to YOOX Group WordPress: Application Strategy on AWS Architecture 8  Standard setup: single server stateful application  Standard Configuration  Standard WordPress migration Scenario before AWS
  • 9. The information contained in this document is confidential and proprietary to YOOX Group Standard WordPress migration 9  Move code bundle  Move uploaded assets  Reconfigure domains Core, themes and plugins Multimedia files Settings inside DB or through wp-config.php
  • 10. The information contained in this document is confidential and proprietary to YOOX Group Moving WordPress to the cloud 10  Setup  Wordpress customization  Custom wp-config.php and wp-config.xml  Stateless application: load balancing and assets (S3)  Post deploy action  S3fs Scenario with AWS
  • 11. The information contained in this document is confidential and proprietary to YOOX Group Set up (AWS) 11  WordPress is installed onto AWS EB container  AWS EB automatically handles the details of capacity provisioning, load balancing, scaling, and application health monitoring  Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud.  Amazon ElastiCache is a web service that makes it easy to set up, manage, and scale distributed in-memory cache environments in the cloud  WordPress installation remains the same against an architecture
  • 12. The information contained in this document is confidential and proprietary to YOOX Group Moving WordPress to the cloud 12  Setup  Wordpress customization  Custom wp-config.php and wp-config.xml  Stateless application: load balancing and assets (S3)  Post deploy action  S3fs Scenario with AWS
  • 13. The information contained in this document is confidential and proprietary to YOOX Group WordPress Customization 13
  • 14. The information contained in this document is confidential and proprietary to YOOX Group Moving WordPress to the cloud 14  Setup  Wordpress customization  Custom wp-config.php and wp-config.xml  Stateless application: load balancing and assets (S3)  Post deploy action  S3fs Scenario with AWS
  • 15. The information contained in this document is confidential and proprietary to YOOX Group WordPress customization :: Custom wp-config.php and wp-config.xml 15  For each request wp-config.php loads settings and configurations stored in wp-config.xml  When all is ready WP will be initialized with right configurations  The configurations are different for each environments  wp-config.php takes right configurations against an environment  WordPress can run among environments without any change to the DB or variables inside wp- config.php
  • 16. The information contained in this document is confidential and proprietary to YOOX Group Moving WordPress to the cloud 16  Setup  Wordpress customization  Custom wp-config.php and wp-config.xml  Stateless application: load balancing and assets (S3)  Post deploy action  S3fs Scenario with AWS
  • 17. The information contained in this document is confidential and proprietary to YOOX Group WordPress customization :: Stateless application 17  Load balanced application  Auto scaling policies and ranges  Same WordPress code bundle shared among multiple instances  The assests are stored onto S3 (Simple Storage Service)
  • 18. The information contained in this document is confidential and proprietary to YOOX Group Moving WordPress to the cloud 18  Setup  Wordpress customization  Custom wp-config.php and wp-config.xml  Stateless application: load balancing and assets (S3)  Post deploy action  S3fs Scenario with AWS
  • 19. The information contained in this document is confidential and proprietary to YOOX Group WordPress customization :: Post deploy action 19 When deploying your applications, you may want to customize and configure the software that your application depends on. These files could be either dependencies required by the application for example, additional packages from the yum repository or they could be configuration files such as a replacement for httpd.conf to override specific settings that are defaulted by AWS Elastic Beanstalk. You may also want to customize your environment resources that are part of your AWS Elastic Beanstalk environment (e.g., SQS queues, ElastiCache clusters). For example, you may want to add an Amazon SQS queue and an alarm on queue depth, or you might want to add an Amazon ElastiCache cluster. EB Extension references  S3 bucket is mounted via eb commands
  • 20. The information contained in this document is confidential and proprietary to YOOX Group Moving WordPress to the cloud 20  Setup  Wordpress customization  Custom wp-config.php and wp-config.xml  Stateless application: load balancing and assets (S3)  Post deploy action  S3fs Scenario with AWS
  • 21. The information contained in this document is confidential and proprietary to YOOX Group WordPress customization :: S3 FS (File System) 21  Assets are stored onto S3 bucket  S3 is mounted onto instance  For WordPress the images are stored onto instance but in the real world the assests are saved onto S3 bucket  Against multiple instances (one WP per instance ) the assets remain the same  S3fs allows Linux and Mac OS X to mount an S3 bucket via FUSE  With FUSE it is possible to implement a fully functional filesystem in a userspace program
  • 22. The information contained in this document is confidential and proprietary to YOOX Group We are happy 22 We can no longer say that to have one’s head in the clouds is bad (Non possiamo più dire che avere la testa tra le nuvole sia negativo)
  • 23. The information contained in this document is confidential and proprietary to YOOX Group www.yooxgroup.com BOLOGNA - MILANO - NEW YORK - PARIS - TOKYO - SHANGHAI - HONG KONG CONTACTS Experience Tools Team experiencetoolssupport@yoox.com #YOOXlabsTechEvent