April 2nd, 2016 • Stanford Drupal Camp DRUPAL ON DOCKER · DOWNTIME (O outages) UPTIME 1 type:...

Preview:

Citation preview

DRUPAL ON DOCKERApril 2nd, 2016 • Stanford Drupal Camp

John Bickar Web Developer, Stanford Web Services

Infrastructure

Cardinal at Work

https://cardinalatwork.stanford.edu

Cardinal at Work

https://cardinalatwork.stanford.edu

Users

Don’t

Care

About

Your

Infrastructure

Until they do

WHAT IS DOCKER?

BACKGROUND

Hardware-based Web Server(s)

Summer 2014: Drupal on AWS Elastic Beanstalk

FALL 2015: ANCHORAGE

WHY DOCKER?

Ooh…shiny

Photo courtesy of Flickr user puzzler4879

HOW IT WORKS

RUNNING THE WEB SERVER

ComponentsElasticLoadBalancer(ELB)

SimpleStorageService(S3)

MySQLDatabase(onAmazonRDS)

ElasticComputeCloud(EC2)instancesrunning CoreOSCoreOS includes:

AutomatedOSupdatesandrestarts(canschedule)

etcd – key/valuemetadatastorage

fleetctl – supports deploying (Docker)containersacrossaclusterofCoreOS machines

One Docker container

DOCKER IMAGE HIERARCHY

So What?

So What?

(Yeah, right.)

BUILDING THE IMAGES

SUPPORTING SERVICES

LIVE DEMO TIME!

Recommended