april 2nd, 2016 • stanford drupal camp drupal on docker · downtime (o outages) uptime 1 type:...
TRANSCRIPT
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!