Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Scaling WordPress
WP on AWS
ad personam
•Stefan Kremer
•freiberuflicher Systemberater

Mac, Web, CTI
•WordPress seit 2005
•Contributor
•WordPress Secur...
What is
• Amazon Web Services
• construction kit
• CPU
• storage
• database
• additional services
AWS ?
Why scaling?
• varying number of posts/pages/products/…
• varying number of sites and users
• varying number of hits and v...
Examples
• slashdotting
• promotion campains
• seasonal business
• DDoS
• just extend the machine!
• more CPU
• more RAM
• more Bandwidth
• more Storage
EC2
running
WordPress
vertical scaling
First Step
10 minute tutorial on WP on AWS


https://aws.amazon.com/de/getting-started/
tutorials/launch-a-wordpress-websi...
• add n machines
EC2
running
WordPress
horizontal scaling
EC2
running
WordPress
EC2
running
WordPress
EC2
running
WordPres...
EC2
running
WordPress
• add n availability zones
EC2
running
WordPress
global scaling
EC2
running
WordPress
EC2
running
Wo...
WP Architecture
• Two-Tier-Application
• PHP for presentation and logic layer
• MySQL for database
WP on AWS Architecture
EC2
running
WordPress
EC2
running
WordPress
EC2
running
WordPress
RDS
Database
EFS
/wp-content EFS
...
WP Architecture enhanced
• Three-Tier-Application?
• PHP for logic layer
• MySQL for database
• Presentation layer via RES...
EC2
running
Frontend
EC2
running
Frontend
EC2
running
WordPress
RDS
Database
S3
/wp-content
EC2
running
Frontend
REST-API
...
Core Services
• EC2 = CPU/RAM
• EFS or S3 = Storage
• RDS Aurora = Database
Additional Services
• CloudFront = CDN
• AWS WAF = WebApplication FireWall
• SES Mailservice = bulk eMailer e.g. MailPoet
...
AWS Services
• Development
• CodeComic
• CodeDeploy
• CodePipeline
• Operations
• CloudWatch
• CloudTrail
• DevOps
• Cloud...
Advantages
• cloud
• no invest in on-prem hardware
• availabilty
• scaling
• pay per use
• instant
Stefan Kremer
https://adminpress.de
FRAGEN?
Scaling WordPress - WP on AWS
Upcoming SlideShare
Loading in …5
×

Scaling WordPress - WP on AWS

1,158 views

Published on

Kleiner Überblick über die Möglichkeiten WordPress auf AWS zu hosten und die Vorteile der automatischen Skalierung für sich zu nutzen. Vortrag auf dem WordCamp Frankfurt 2016

Published in: Internet
  • Hello! I can recommend a site that has helped me. It's called ⇒ www.HelpWriting.net ⇐ So make sure to check it out!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Scaling WordPress - WP on AWS

  1. 1. Scaling WordPress WP on AWS
  2. 2. ad personam •Stefan Kremer •freiberuflicher Systemberater
 Mac, Web, CTI •WordPress seit 2005 •Contributor •WordPress Security Evangelist •Inhaber von AdminPress @WPAberSicher adminpress stefan@adminpress.de
  3. 3. What is • Amazon Web Services • construction kit • CPU • storage • database • additional services AWS ?
  4. 4. Why scaling? • varying number of posts/pages/products/… • varying number of sites and users • varying number of hits and visits • availability in different global areas • different compliance and data residency requirements
  5. 5. Examples • slashdotting • promotion campains • seasonal business • DDoS
  6. 6. • just extend the machine! • more CPU • more RAM • more Bandwidth • more Storage EC2 running WordPress vertical scaling
  7. 7. First Step 10 minute tutorial on WP on AWS 
 https://aws.amazon.com/de/getting-started/ tutorials/launch-a-wordpress-website/
  8. 8. • add n machines EC2 running WordPress horizontal scaling EC2 running WordPress EC2 running WordPress EC2 running WordPress EC2 running WordPress
  9. 9. EC2 running WordPress • add n availability zones EC2 running WordPress global scaling EC2 running WordPress EC2 running WordPress EC2 running WordPress EC2 running WordPress EC2 running WordPress EC2 running WordPress
  10. 10. WP Architecture • Two-Tier-Application • PHP for presentation and logic layer • MySQL for database
  11. 11. WP on AWS Architecture EC2 running WordPress EC2 running WordPress EC2 running WordPress RDS Database EFS /wp-content EFS /wp-content S3 /wp-content CloudFront CDN Web Application Firewall WAF Cloud Watch Cloud
 Trail Code Commit Code Deploy Code Pipeline Cloud Formation
  12. 12. WP Architecture enhanced • Three-Tier-Application? • PHP for logic layer • MySQL for database • Presentation layer via REST-API
  13. 13. EC2 running Frontend EC2 running Frontend EC2 running WordPress RDS Database S3 /wp-content EC2 running Frontend REST-API EC2 running Frontend
  14. 14. Core Services • EC2 = CPU/RAM • EFS or S3 = Storage • RDS Aurora = Database
  15. 15. Additional Services • CloudFront = CDN • AWS WAF = WebApplication FireWall • SES Mailservice = bulk eMailer e.g. MailPoet • FPS = payment processing for WooCoomerce et.al.
  16. 16. AWS Services • Development • CodeComic • CodeDeploy • CodePipeline • Operations • CloudWatch • CloudTrail • DevOps • CloudFormation • AWS OpsWorks • AWS Config • Security • Directory Service • Amazon Inspector
  17. 17. Advantages • cloud • no invest in on-prem hardware • availabilty • scaling • pay per use • instant
  18. 18. Stefan Kremer https://adminpress.de FRAGEN?

×