SlideShare a Scribd company logo
1 of 35
S E T T I N G U P A F A S T , S C A L A B L E
A N D R O B U S T W O R D P R E S S
I N S T A L L A T I O N O N A W S
H O U S T O N W O R D P R E S S M E E T U P - J A N 8 , 2 0 2 0
by: Alex Bertens
alexbertens.com
A B O U T M E
• WP Developer / Maintenance / Hosting
• BS Industrial & Systems Engineering from UF
• Worked abroad for over 10 years in Machinery
Sales and Logistics
• WP Development and Maintenance was just a
side hobby
T O P I C S W E W I L L C O V E R
Making a Super Fast / Robust / Secure Wordpress Stack
• L2MP Stack
• RDS and Redis
• Security
• Costs
• Future - Proofing your Stack
• Questions
L 2 M P
• What is it?
• Linux - OS
• Litespeed Server - Web Server
• Maria DB - Database
• PHP 7.3 - Language Compiler
L 2 M P
• What is it?
• Linux - OS
• Ubuntu 18.04
L 2 M P
• What is it?
• Linux - OS
• Ubuntu 18.04
• Litespeed Web Server
L I T E S P E E D W E B
S E R V E R
W H A T I S I T ?
• Web Server that is fully compatible with Apache
commands
• Proprietary but has open-source version
available
• 4th Most popular with 5.6% usage vs 41.9%
Apache, 31% Nginx, 22% IIS
• Fastest Growing by far
L S W S
W H Y I S G R E A T
• Capacity
• 84X more requests/second than apache
using Wordpress and Caching
• 10X more than Nginx
L S W S
W H Y I S G R E A T
• Speed
• 29X Faster than Apache for Static Page
Loading
• 6X Faster than Nginx
• Built in Compression
L S W S
W H Y I S G R E A T
• Security
• Connection Level limits
• Request checking
• Web Application Firewall - built in protection
against XSS attacks and SQL Injection
• Static File Checking
• OWASP and 6G Rules
M A R I A D B V 1 0 . 3
W H A T I S I T ?
• Open-Source Database Engine
• Compatible alternative to MySql
• MySql was developed by Oracle 24+ years ago
• Much faster than mainstream versions of MySql (5.4-
5.6)
• Takes full advantage of multi-core server processors
• Highly compatible with key-value caching systems
W H Y I T ’ S G R E A T
P H P 7 . 3
W H A T I S I T ?
• Language compiler with ubiquitous web compatibility
• 75% of websites run on PHP
• 5X faster than legacy PHP (5.6)
• Ensures secure code structure
• Not the hardest to learn
W H Y I T ’ S G R E A T
T O P I C S W E W I L L C O V E R
Making a Super Fast / Robust / Secure Wordpress Stack
• L2MP Stack
• RDS and Redis
R D S
W H A T I S I T ?
• Relational Database Service
• “VPS strictly for Running a Database”
• Powered by Amazon Web Services (AWS)
• Fully Compatible with most SQL services
(MySQL, MariaDB, PerconaDB, MongoDB)
R D S
W H Y I T S G R E A T
• Allows you to Run PHP on your server and have
a dedicated instance to run the Database
requests
• Since instance is optimized for performance,
database queries run much faster
• Automatic Backups
• Database and Hardware maintenance are not an
issue
R E D I S
W H A T I S I T ?
• In-Memory, key-value database object caching
• In English, how does it work
• Turns database queries into key-value pairs and
stores them in memory for faster data retrieval
• Exponential performance improvement in
applications with large databases and high
traffic.
R E D I S
W H Y I T S G R E A T
• Improves Performance for Crud Operations
(Create, Read, Update, Delete)
• Immensely
Create
Read
Update
Delete
T O P I C S W E W I L L C O V E R
Making a Super Fast / Robust / Secure Wordpress Stack
• L2MP Stack
• RDS and Redis
• Security
S E C U R I T Y
W H A T I S I T ?
• Probably one of the most important topics in
Wordpress Today
• Wordpress is the most attacked and hacked
platform in the world by far
• Most hacked people don’t even know they are
hacked - they are used for phishing, botnets,
serving malware.
S E C U R I T Y
L A Y E R S
• Server Level - iptables and Fail2Ban - install in
VPS first thing
• Web Server Level - LSWS Has big advantage
• Mod_security rules
• 6G bot blocking
• Wordpress support
• Recaptcha
• OWASP Rules
S E C U R I T Y
M O R E L A Y E R S
• Application - Level Firewall and Malware
Scanners
• Malcare
• Wordfence
• All in one WP Security
• Important to ban failed logins
• Set up 2FA
• Change /wp-login
S E C U R I T Y
D N S L E V E L
• CloudFlare or AWS WAF and Shield
• Lets you create security rules at DNS level
• Block all from Russia and/or China
S E C U R I T Y
O T H E R T I P S
• Always log into Machine from SSH
• #1 RULE, if nothing else…….
• USE
• A
• STRONG
• PASSWORD
• Use a Password Manager like OnePass,
Lastpass, Dashlane - most are free and sync on
all devices
T O P I C S W E W I L L C O V E R
Making a Super Fast / Robust / Secure Wordpress Stack
• L2MP Stack
• RDS and Redis
• Security
• Costs
C O S T
H O W M U C H ?
• AWS EC2 - t2 Micro - Free for first year
• RDS Free Tier - Free for first year
• CloudFlare - Free
• OpenLitespeed - Free
• After First Year:
• $12-$15 / Month
C O S T
W H A T C A N I T H A N D L E ?
• Traffic Spikes of 200-300 simultaneous users
• Prolonged periods with 160 users/hr
• Server usage: Around 25%
• RDS usage: 5-10%
• ~115,000 visits p/month
• Compare to managed WP hosting ~$100 and up
C O S T S
M A K E I T E V E N F A S T E R
• If serving a lot of media files, serve them from S3
and Cache them with Cloudfront
• Install Cloudfront on your Server to serve CSS,
JS and WOFF files even faster
T O P I C S W E W I L L C O V E R
Making a Super Fast / Robust / Secure Wordpress Stack
• L2MP Stack
• RDS and Redis
• Security
• Costs
• Future Proofing
F U T U R E O F
W O R D P R E S S
W H A T D O E S I T M E A N
• Headless (serverless)
• Using json to grab data from WP
• ex: Gatsby
• DB eventually all moving to key - value pair
system or soemting close
• HTTP/3 QUIC being developed with focus on
speed and security (less requests, with SSL built
in)
Q U E S T I O N S ?
T H A N K Y O U ! ! !
Alex Bertens
alexbertens.com

More Related Content

What's hot

RavenDB 4.0
RavenDB 4.0RavenDB 4.0
RavenDB 4.0Oren Eini
 
Agoda open stack in a large scale deployment
Agoda open stack in a large scale deploymentAgoda open stack in a large scale deployment
Agoda open stack in a large scale deploymentSharkrit JOBBO
 
On the Move, Migrations Made Simple
On the Move, Migrations Made SimpleOn the Move, Migrations Made Simple
On the Move, Migrations Made SimpleJonathan Perlman
 
Ruby Setup
Ruby SetupRuby Setup
Ruby SetupAlan Hecht
 
Scaling WordPress - Project Lana WordPress Team
Scaling WordPress - Project Lana WordPress TeamScaling WordPress - Project Lana WordPress Team
Scaling WordPress - Project Lana WordPress TeamDat Hoang
 
What is Nginx and Why You Should to Use it with Wordpress Hosting
What is Nginx and Why You Should to Use it with Wordpress HostingWhat is Nginx and Why You Should to Use it with Wordpress Hosting
What is Nginx and Why You Should to Use it with Wordpress HostingWPSFO Meetup Group
 
20130714 php matsuri - highly available php
20130714   php matsuri - highly available php20130714   php matsuri - highly available php
20130714 php matsuri - highly available phpGraham Weldon
 
The Dawson Way of Doing Things: A Study of Our Path Using WordPress
The Dawson Way of Doing Things: A Study of Our Path Using WordPressThe Dawson Way of Doing Things: A Study of Our Path Using WordPress
The Dawson Way of Doing Things: A Study of Our Path Using WordPressJonathan Perlman
 
Managing Traffic Spikes This Holiday Season
Managing Traffic Spikes This Holiday Season Managing Traffic Spikes This Holiday Season
Managing Traffic Spikes This Holiday Season Cloudflare
 
Flawless Application Delivery with NGINX Plus
Flawless Application Delivery with NGINX PlusFlawless Application Delivery with NGINX Plus
Flawless Application Delivery with NGINX PlusPeter Guagenti
 
Site speed Server Optimization
Site speed Server OptimizationSite speed Server Optimization
Site speed Server OptimizationShelly Fagin
 
On the Move - Migrations Made Simple
On the Move - Migrations Made SimpleOn the Move - Migrations Made Simple
On the Move - Migrations Made SimpleJonathan Perlman
 
SwampDragon presentation: The Copenhagen Django Meetup Group
SwampDragon presentation: The Copenhagen Django Meetup GroupSwampDragon presentation: The Copenhagen Django Meetup Group
SwampDragon presentation: The Copenhagen Django Meetup GroupErnest Jumbe
 
Keynote 2011 (wesselius noorderijk)
Keynote 2011 (wesselius noorderijk)Keynote 2011 (wesselius noorderijk)
Keynote 2011 (wesselius noorderijk)hypervnu
 
Scaling High Traffic Web Applications
Scaling High Traffic Web ApplicationsScaling High Traffic Web Applications
Scaling High Traffic Web ApplicationsAchievers Tech
 
Net as an awesome startup platform
Net as an awesome startup platformNet as an awesome startup platform
Net as an awesome startup platformSquareHire
 
NATS - A new nervous system for distributed cloud platforms
NATS - A new nervous system for distributed cloud platformsNATS - A new nervous system for distributed cloud platforms
NATS - A new nervous system for distributed cloud platformsDerek Collison
 
Lessons from the Trenches - Building Enterprise Applications with RavenDB
Lessons from the Trenches - Building Enterprise Applications with RavenDBLessons from the Trenches - Building Enterprise Applications with RavenDB
Lessons from the Trenches - Building Enterprise Applications with RavenDBOren Eini
 
ChinaNetCloud_magentocom (china)_2014
ChinaNetCloud_magentocom (china)_2014ChinaNetCloud_magentocom (china)_2014
ChinaNetCloud_magentocom (china)_2014Bluecom Group
 

What's hot (20)

RavenDB 4.0
RavenDB 4.0RavenDB 4.0
RavenDB 4.0
 
Agoda open stack in a large scale deployment
Agoda open stack in a large scale deploymentAgoda open stack in a large scale deployment
Agoda open stack in a large scale deployment
 
On the Move, Migrations Made Simple
On the Move, Migrations Made SimpleOn the Move, Migrations Made Simple
On the Move, Migrations Made Simple
 
Ruby Setup
Ruby SetupRuby Setup
Ruby Setup
 
Scaling WordPress - Project Lana WordPress Team
Scaling WordPress - Project Lana WordPress TeamScaling WordPress - Project Lana WordPress Team
Scaling WordPress - Project Lana WordPress Team
 
What is Nginx and Why You Should to Use it with Wordpress Hosting
What is Nginx and Why You Should to Use it with Wordpress HostingWhat is Nginx and Why You Should to Use it with Wordpress Hosting
What is Nginx and Why You Should to Use it with Wordpress Hosting
 
20130714 php matsuri - highly available php
20130714   php matsuri - highly available php20130714   php matsuri - highly available php
20130714 php matsuri - highly available php
 
The Dawson Way of Doing Things: A Study of Our Path Using WordPress
The Dawson Way of Doing Things: A Study of Our Path Using WordPressThe Dawson Way of Doing Things: A Study of Our Path Using WordPress
The Dawson Way of Doing Things: A Study of Our Path Using WordPress
 
Managing Traffic Spikes This Holiday Season
Managing Traffic Spikes This Holiday Season Managing Traffic Spikes This Holiday Season
Managing Traffic Spikes This Holiday Season
 
Flawless Application Delivery with NGINX Plus
Flawless Application Delivery with NGINX PlusFlawless Application Delivery with NGINX Plus
Flawless Application Delivery with NGINX Plus
 
Site speed Server Optimization
Site speed Server OptimizationSite speed Server Optimization
Site speed Server Optimization
 
WEB SERVER
WEB SERVERWEB SERVER
WEB SERVER
 
On the Move - Migrations Made Simple
On the Move - Migrations Made SimpleOn the Move - Migrations Made Simple
On the Move - Migrations Made Simple
 
SwampDragon presentation: The Copenhagen Django Meetup Group
SwampDragon presentation: The Copenhagen Django Meetup GroupSwampDragon presentation: The Copenhagen Django Meetup Group
SwampDragon presentation: The Copenhagen Django Meetup Group
 
Keynote 2011 (wesselius noorderijk)
Keynote 2011 (wesselius noorderijk)Keynote 2011 (wesselius noorderijk)
Keynote 2011 (wesselius noorderijk)
 
Scaling High Traffic Web Applications
Scaling High Traffic Web ApplicationsScaling High Traffic Web Applications
Scaling High Traffic Web Applications
 
Net as an awesome startup platform
Net as an awesome startup platformNet as an awesome startup platform
Net as an awesome startup platform
 
NATS - A new nervous system for distributed cloud platforms
NATS - A new nervous system for distributed cloud platformsNATS - A new nervous system for distributed cloud platforms
NATS - A new nervous system for distributed cloud platforms
 
Lessons from the Trenches - Building Enterprise Applications with RavenDB
Lessons from the Trenches - Building Enterprise Applications with RavenDBLessons from the Trenches - Building Enterprise Applications with RavenDB
Lessons from the Trenches - Building Enterprise Applications with RavenDB
 
ChinaNetCloud_magentocom (china)_2014
ChinaNetCloud_magentocom (china)_2014ChinaNetCloud_magentocom (china)_2014
ChinaNetCloud_magentocom (china)_2014
 

Similar to Robust WordPress Installation using L2MP Stack

Best Practices for WordPress in Enterprise
Best Practices for WordPress in EnterpriseBest Practices for WordPress in Enterprise
Best Practices for WordPress in EnterpriseTaylor Lovett
 
Can Your Mobile Infrastructure Survive 1 Million Concurrent Users?
Can Your Mobile Infrastructure Survive 1 Million Concurrent Users?Can Your Mobile Infrastructure Survive 1 Million Concurrent Users?
Can Your Mobile Infrastructure Survive 1 Million Concurrent Users?TechWell
 
Best practices-wordpress-enterprise
Best practices-wordpress-enterpriseBest practices-wordpress-enterprise
Best practices-wordpress-enterpriseTaylor Lovett
 
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)Amazon Web Services
 
What's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesWhat's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesAmazon Web Services
 
Microsoft Azure Explained - Hitesh D Kesharia
Microsoft Azure Explained - Hitesh D KeshariaMicrosoft Azure Explained - Hitesh D Kesharia
Microsoft Azure Explained - Hitesh D KeshariaHARMAN Services
 
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...Amazon Web Services
 
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASS
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASSECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASS
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASSEuropean Collaboration Summit
 
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...Serdar Basegmez
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersAmazon Web Services
 
Global Windows Azure Bootcamp - San Diego
Global Windows Azure Bootcamp - San DiegoGlobal Windows Azure Bootcamp - San Diego
Global Windows Azure Bootcamp - San DiegoMichele Leroux Bustamante
 
David Max SATURN 2018 - Migrating from Oracle to Espresso
David Max SATURN 2018 - Migrating from Oracle to EspressoDavid Max SATURN 2018 - Migrating from Oracle to Espresso
David Max SATURN 2018 - Migrating from Oracle to EspressoDavid Max
 
Scaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinScaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinAmazon Web Services
 
Scaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinScaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinIan Massingham
 
MySQL Guide for Beginners
MySQL Guide for BeginnersMySQL Guide for Beginners
MySQL Guide for BeginnersDainis Graveris
 
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersAmazon Web Services
 
Gs08 modernize your data platform with sql technologies wash dc
Gs08 modernize your data platform with sql technologies   wash dcGs08 modernize your data platform with sql technologies   wash dc
Gs08 modernize your data platform with sql technologies wash dcBob Ward
 
AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)Amazon Web Services
 
Pascal benois performance_troubleshooting-spsbe18
Pascal benois performance_troubleshooting-spsbe18Pascal benois performance_troubleshooting-spsbe18
Pascal benois performance_troubleshooting-spsbe18BIWUG
 
Couchbase overview033113long
Couchbase overview033113longCouchbase overview033113long
Couchbase overview033113longJeff Harris
 

Similar to Robust WordPress Installation using L2MP Stack (20)

Best Practices for WordPress in Enterprise
Best Practices for WordPress in EnterpriseBest Practices for WordPress in Enterprise
Best Practices for WordPress in Enterprise
 
Can Your Mobile Infrastructure Survive 1 Million Concurrent Users?
Can Your Mobile Infrastructure Survive 1 Million Concurrent Users?Can Your Mobile Infrastructure Survive 1 Million Concurrent Users?
Can Your Mobile Infrastructure Survive 1 Million Concurrent Users?
 
Best practices-wordpress-enterprise
Best practices-wordpress-enterpriseBest practices-wordpress-enterprise
Best practices-wordpress-enterprise
 
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
AWS Summit London 2014 | Scaling on AWS for the First 10 Million Users (200)
 
What's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesWhat's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial Databases
 
Microsoft Azure Explained - Hitesh D Kesharia
Microsoft Azure Explained - Hitesh D KeshariaMicrosoft Azure Explained - Hitesh D Kesharia
Microsoft Azure Explained - Hitesh D Kesharia
 
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
 
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASS
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASSECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASS
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASS
 
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
IBM Connect 2017: Your Data In the Major Leagues: A Practical Guide to REST S...
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
Global Windows Azure Bootcamp - San Diego
Global Windows Azure Bootcamp - San DiegoGlobal Windows Azure Bootcamp - San Diego
Global Windows Azure Bootcamp - San Diego
 
David Max SATURN 2018 - Migrating from Oracle to Espresso
David Max SATURN 2018 - Migrating from Oracle to EspressoDavid Max SATURN 2018 - Migrating from Oracle to Espresso
David Max SATURN 2018 - Migrating from Oracle to Espresso
 
Scaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinScaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit Dublin
 
Scaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit DublinScaling on AWS for the First 10 Million Users at Websummit Dublin
Scaling on AWS for the First 10 Million Users at Websummit Dublin
 
MySQL Guide for Beginners
MySQL Guide for BeginnersMySQL Guide for Beginners
MySQL Guide for Beginners
 
ENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million UsersENT309 Scaling Up to Your First 10 Million Users
ENT309 Scaling Up to Your First 10 Million Users
 
Gs08 modernize your data platform with sql technologies wash dc
Gs08 modernize your data platform with sql technologies   wash dcGs08 modernize your data platform with sql technologies   wash dc
Gs08 modernize your data platform with sql technologies wash dc
 
AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)
 
Pascal benois performance_troubleshooting-spsbe18
Pascal benois performance_troubleshooting-spsbe18Pascal benois performance_troubleshooting-spsbe18
Pascal benois performance_troubleshooting-spsbe18
 
Couchbase overview033113long
Couchbase overview033113longCouchbase overview033113long
Couchbase overview033113long
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
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.pptxHampshireHUG
 
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 WorkerThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
[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.pdfhans926745
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
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
 
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
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
[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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 

Robust WordPress Installation using L2MP Stack

  • 1. S E T T I N G U P A F A S T , S C A L A B L E A N D R O B U S T W O R D P R E S S I N S T A L L A T I O N O N A W S H O U S T O N W O R D P R E S S M E E T U P - J A N 8 , 2 0 2 0 by: Alex Bertens alexbertens.com
  • 2. A B O U T M E • WP Developer / Maintenance / Hosting • BS Industrial & Systems Engineering from UF • Worked abroad for over 10 years in Machinery Sales and Logistics • WP Development and Maintenance was just a side hobby
  • 3. T O P I C S W E W I L L C O V E R Making a Super Fast / Robust / Secure Wordpress Stack • L2MP Stack • RDS and Redis • Security • Costs • Future - Proofing your Stack • Questions
  • 4. L 2 M P • What is it? • Linux - OS • Litespeed Server - Web Server • Maria DB - Database • PHP 7.3 - Language Compiler
  • 5. L 2 M P • What is it? • Linux - OS • Ubuntu 18.04
  • 6. L 2 M P • What is it? • Linux - OS • Ubuntu 18.04 • Litespeed Web Server
  • 7. L I T E S P E E D W E B S E R V E R W H A T I S I T ? • Web Server that is fully compatible with Apache commands • Proprietary but has open-source version available • 4th Most popular with 5.6% usage vs 41.9% Apache, 31% Nginx, 22% IIS • Fastest Growing by far
  • 8. L S W S W H Y I S G R E A T • Capacity • 84X more requests/second than apache using Wordpress and Caching • 10X more than Nginx
  • 9. L S W S W H Y I S G R E A T • Speed • 29X Faster than Apache for Static Page Loading • 6X Faster than Nginx • Built in Compression
  • 10. L S W S W H Y I S G R E A T • Security • Connection Level limits • Request checking • Web Application Firewall - built in protection against XSS attacks and SQL Injection • Static File Checking • OWASP and 6G Rules
  • 11. M A R I A D B V 1 0 . 3 W H A T I S I T ? • Open-Source Database Engine • Compatible alternative to MySql • MySql was developed by Oracle 24+ years ago • Much faster than mainstream versions of MySql (5.4- 5.6) • Takes full advantage of multi-core server processors • Highly compatible with key-value caching systems W H Y I T ’ S G R E A T
  • 12. P H P 7 . 3 W H A T I S I T ? • Language compiler with ubiquitous web compatibility • 75% of websites run on PHP • 5X faster than legacy PHP (5.6) • Ensures secure code structure • Not the hardest to learn W H Y I T ’ S G R E A T
  • 13. T O P I C S W E W I L L C O V E R Making a Super Fast / Robust / Secure Wordpress Stack • L2MP Stack • RDS and Redis
  • 14. R D S W H A T I S I T ? • Relational Database Service • “VPS strictly for Running a Database” • Powered by Amazon Web Services (AWS) • Fully Compatible with most SQL services (MySQL, MariaDB, PerconaDB, MongoDB)
  • 15. R D S W H Y I T S G R E A T • Allows you to Run PHP on your server and have a dedicated instance to run the Database requests • Since instance is optimized for performance, database queries run much faster • Automatic Backups • Database and Hardware maintenance are not an issue
  • 16. R E D I S W H A T I S I T ? • In-Memory, key-value database object caching • In English, how does it work • Turns database queries into key-value pairs and stores them in memory for faster data retrieval • Exponential performance improvement in applications with large databases and high traffic.
  • 17. R E D I S W H Y I T S G R E A T • Improves Performance for Crud Operations (Create, Read, Update, Delete) • Immensely
  • 19. Read
  • 22. T O P I C S W E W I L L C O V E R Making a Super Fast / Robust / Secure Wordpress Stack • L2MP Stack • RDS and Redis • Security
  • 23. S E C U R I T Y W H A T I S I T ? • Probably one of the most important topics in Wordpress Today • Wordpress is the most attacked and hacked platform in the world by far • Most hacked people don’t even know they are hacked - they are used for phishing, botnets, serving malware.
  • 24. S E C U R I T Y L A Y E R S • Server Level - iptables and Fail2Ban - install in VPS first thing • Web Server Level - LSWS Has big advantage • Mod_security rules • 6G bot blocking • Wordpress support • Recaptcha • OWASP Rules
  • 25. S E C U R I T Y M O R E L A Y E R S • Application - Level Firewall and Malware Scanners • Malcare • Wordfence • All in one WP Security • Important to ban failed logins • Set up 2FA • Change /wp-login
  • 26. S E C U R I T Y D N S L E V E L • CloudFlare or AWS WAF and Shield • Lets you create security rules at DNS level • Block all from Russia and/or China
  • 27. S E C U R I T Y O T H E R T I P S • Always log into Machine from SSH • #1 RULE, if nothing else……. • USE • A • STRONG • PASSWORD • Use a Password Manager like OnePass, Lastpass, Dashlane - most are free and sync on all devices
  • 28. T O P I C S W E W I L L C O V E R Making a Super Fast / Robust / Secure Wordpress Stack • L2MP Stack • RDS and Redis • Security • Costs
  • 29. C O S T H O W M U C H ? • AWS EC2 - t2 Micro - Free for first year • RDS Free Tier - Free for first year • CloudFlare - Free • OpenLitespeed - Free • After First Year: • $12-$15 / Month
  • 30. C O S T W H A T C A N I T H A N D L E ? • Traffic Spikes of 200-300 simultaneous users • Prolonged periods with 160 users/hr • Server usage: Around 25% • RDS usage: 5-10% • ~115,000 visits p/month • Compare to managed WP hosting ~$100 and up
  • 31. C O S T S M A K E I T E V E N F A S T E R • If serving a lot of media files, serve them from S3 and Cache them with Cloudfront • Install Cloudfront on your Server to serve CSS, JS and WOFF files even faster
  • 32. T O P I C S W E W I L L C O V E R Making a Super Fast / Robust / Secure Wordpress Stack • L2MP Stack • RDS and Redis • Security • Costs • Future Proofing
  • 33. F U T U R E O F W O R D P R E S S W H A T D O E S I T M E A N • Headless (serverless) • Using json to grab data from WP • ex: Gatsby • DB eventually all moving to key - value pair system or soemting close • HTTP/3 QUIC being developed with focus on speed and security (less requests, with SSL built in)
  • 34. Q U E S T I O N S ?
  • 35. T H A N K Y O U ! ! ! Alex Bertens alexbertens.com