Slide 1

Slide 1 text

DevOpsDays Philly 2017 Daniel Olson, COO @emaildano WordPress Goes Serverless Philadelphia Kobe Sendai Tokyo Niigata Fukuoka

Slide 2

Slide 2 text

Why WordPress?

Slide 3

Slide 3 text

1 1 1 1 1 6 4 1 10 WordPress Drupal WebEx Panel Custom Angular Contentful Hugo Blogger HubSpot CMS in use by DevOpsDays Philly Sponsors src: https://trends.builtwith.com/cms

Slide 4

Slide 4 text

CMS in use by the entire internet 5% 2% 40% 53% WordPress Other Drupal Joomla

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

It’s a powerful tool!

Slide 7

Slide 7 text

WordPress Hosting Not much has changed

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

src: http://www.gartner.com/newsroom/id/3784363

Slide 10

Slide 10 text

How do we Retrofit WordPress
 with Serverless and Design Thinking?

Slide 11

Slide 11 text

Nobody puts WordPress in a container.

Slide 12

Slide 12 text

PHP Database Javascript HTTP Proxy WordPress Container

Slide 13

Slide 13 text

WordPress Container On or off MySQL Database

Slide 14

Slide 14 text

Hosting Server / Docker Container CDN MySQL Database

Slide 15

Slide 15 text

'use strict'; module.exports.endpoint = (event, context, callback) => { const response = { statusCode: 200, body: JSON.stringify({ message: `Hello, the current time is ${new Date().toTimeString()}.`, }), }; callback(null, response); }; WordPress_2_Static.js

Slide 16

Slide 16 text

WordPress2Static.js CDN ../wp-content wp-core MySQL Database

Slide 17

Slide 17 text

WordPress Admin on-demand = No WP Admin to hack

Slide 18

Slide 18 text

No server to maintain or crash

Slide 19

Slide 19 text

What about dynamic content? like comments or search

Slide 20

Slide 20 text

Daniel Olson @emaildano – https://speakerdeck.com/emaildano Thank you!