Hosting Drupal on Amazon Web Services (AWS) Heather Wozniak, Ph.D. Web Developer, UW College of Arts & Sciences hwozniak@uw.edu



Similar documents
Putting It All Together. Vagrant Drush Version Control

Managed Servers ASA Extract FY14

Achieving Continuous Integration with Drupal

What we're doing with Drupal at UChicago and how it can help you.

ArcGIS for Server in the Amazon Cloud. Michele Lundeen Esri

Cloud Computing and Amazon Web Services

Storage and Disaster Recovery

Cloud Computing Disaster Recovery (DR)

How AWS Pricing Works

How To Run A Drupal Website Without A Server Or A Server

Servers. Servers. NAT Public Subnet: /20. Internet Gateway. VPC Gateway VPC: /16

Simple and powerful site deployment with capistrano

How AWS Pricing Works May 2015

VPS Cloud Hosting. Call (02)

Migration and Building of Data Centers in IBM SoftLayer with the RackWare Management Module

Oracle SOA Infrastructure Deployment Models/Patterns

Work. MATLAB Source Control Using Git

Building Success on Acquia Cloud:

How To Use Arcgis For Free On A Gdb (For A Gis Server) For A Small Business

Every Silver Lining Has a Vault in the Cloud

Backup & Replication. Description. Use Cases

Migration and Building of Data Centers in IBM SoftLayer with the RackWare Management Module

Drupal in the Cloud. Scaling with Drupal and Amazon Web Services. Northern Virginia Drupal Meetup

Git - Working with Remote Repositories

Streamline your drupal development workflow in a 3-tier-environment - A story about drush make and drush aliases

Automated CPanel Backup Script. for home directory backup, remote FTP backup and Amazon S3 backup

TECHNOLOGY WHITE PAPER Jun 2012

SUSE Cloud Installation: Best Practices Using a SMT, Xen and Ceph Storage Environment

TECHNOLOGY WHITE PAPER Jan 2016

Application Security Best Practices. Matt Tavis Principal Solutions Architect

USER GUIDE. Lightweight Directory Access Protocol (LDAP) Schoolwires Centricity

HADOOP BIG DATA DEVELOPER TRAINING AGENDA

Cloud Computing with Amazon Web Services and the DevOps Methodology.

Stretching A Wolfpack Cluster Of Servers For Disaster Tolerance. Dick Wilkins Program Manager Hewlett-Packard Co. Redmond, WA dick_wilkins@hp.

How To Manage Change In Jeepers

Migration and Disaster Recovery Underground in the NEC / Iron Mountain National Data Center with the RackWare Management Module

Are You Ready for the Holiday Rush?

Cloud computing is a marketing term that means different things to different people. In this presentation, we look at the pros and cons of using

Creating an ESS instance on the Amazon Cloud

A (Web) Face for Radio. NPR and Drupal7 David Moore

References. Introduction to Database Systems CSE 444. Motivation. Basic Features. Outline: Database in the Cloud. Outline

Introduction to Database Systems CSE 444

PBS on Amazon. Jon Brendsel Vice President, Products

Online Backup Guide for the Amazon Cloud: How to Setup your Online Backup Service using Vembu StoreGrid Backup Virtual Appliance on the Amazon Cloud

Cloud Computing for Small to Mid Size Businesses. Tech66, LLC William Burleson

Moving Drupal to the Cloud: A step-by-step guide and reference document for hosting a Drupal web site on Amazon Web Services

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

White Paper: Librestream Security Overview

DevShop. Drupal Infrastructure in a Box. Jon Pugh CEO, Founder ThinkDrop Consulting Brooklyn NY

Cloud Hosting. QCLUG presentation - Aaron Johnson. Amazon AWS Heroku OpenShift

Cloud Models and Platforms

Version: Page 1 of 5

112 Linton House Union Street London SE1 0LH T: F:

6 reasons to choose us for your web hosting

Continuous Integration. CSC 440: Software Engineering Slide #1

Configuration Manual

ClockWork Enterprise 5

Rstudio Server on Amazon EC2

WINDOWS AZURE EXECUTION MODELS

Taking Drupal development to the Cloud. Karel Bemelmans

Automated Application Provisioning for Cloud

Upgrade Guide. CA Application Delivery Analysis 10.1

GeoCloud Project Report GEOSS Clearinghouse

This computer will be on independent from the computer you access it from (and also cost money as long as it s on )

Oracle Applications and Cloud Computing - Future Direction

Kaseya 2. User Guide. Version 7.0. English

Introduction to Cloud Computing

Web Application Deployment in the Cloud Using Amazon Web Services From Infancy to Maturity

About Acquia. Acquia Cloud Site Factory allows you to rapidly build mobile- ready brand, campaign, and franchise websites on a turnkey cloud platform.

Description of Application

Deploying Splunk on Amazon Web Services

Parallels Plesk Automation

ArcGIS for Server: In the Cloud

System Administration and Server Management Service Level Agreement (SLA)

Building Success on Acquia Cloud. Buyer s Guide

FileMaker Server 14. FileMaker Server Help

F5 BIG-IP V9 Local Traffic Management EE Demo Version. ITCertKeys.com

Amazon Elastic Beanstalk

Amazon Web Services Student Tutorial

<Insert Picture Here> Considerations for Enterprise Cloud Computing

Selling Virtual Private Servers. A guide to positioning and selling VPS to your customers with Heart Internet

An Introduction to Cloud Computing Concepts

2) Xen Hypervisor 3) UEC

MANAGE AND DEPLOY YOUR SITES WITH DRUSH

ArcGIS 10.3 Server on Amazon Web Services

Deployment Options for Microsoft Hyper-V Server

Cisco SSL Encryption Utility

Transcription:

Hosting Drupal on Amazon Web Services (AWS) Heather Wozniak, Ph.D. Web Developer, UW College of Arts & Sciences hwozniak@uw.edu

Questions, questions How many servers and Drupal sites do we support? Why did we choose AWS? How much does it cost? How do we manage the servers? How do we manage the Drupal sites? Pro s, con s, discussion

How many servers do we support? Staging server (micro) 24x7 Production server (medium) 24x7 Dev and testing servers ad hoc (micro)

How many Drupal sites do we support? In production, as of 5/14/2014 16 On staging, as of 5/14/2014 25 Combined prod + staging 41 Our web team does all the technical support and Drupal configuration. Departmental staff only add and manage content. We have trained 75+ web editors. We use Drupal multisites to consolidate maintenance tasks and share modules/themes across sites.

The path to AWS depts.washington.edu Can t have multisites + custom subdomains + SSL Performance and stability issues Each custom subdomain costs $50 per year Standard Managed Server Too expensive for a pilot project Pricing not competitive with third-party managed VPS Still requires some server ops knowledge Managed VPS Still requires some server ops knowledge Long wait for support to make changes No shibboleth support, no ldap we can t authenticate!

The path to AWS (cont.) We have to do this ourselves. Yikes! Buy our own box? Non-managed VPS? Standard Hosted Server? Wasn t available yet. Cloud computing? Let s try AWS Minimal cost + maximum flexibility About a month to get everything fully configured AMI (Amazon Machine Image) with LAMP, backup scripts, virtual hosts, APC, Drupal multisites, etc. AMI has evolved over time

How much does it cost? 2 continuous servers + ad hoc dev servers + local backups + AWS snapshot backups = $1,977.30 over last 12 months $164.78 average per month $4.05-$6.48 per prod site, per month (Plus <$10 per month for off-site backup storage)

A&S Monthly AWS Bill 250 207.32 200 150 153.78 100 94.66 Total 70.53 50 0

How does that compare to SMS and SHS? If one slice for staging and two for production (similar to AWS micro and medium instance), not including snapshots or offsite backups, or ad hoc instances: Standard Managed Servers: Approx. $466/month + initial setup ($1100 x 2) Standard Hosted Servers: Approx. $66/month + initial setup (is there a charge?) Backup service approximately $9/month for 150GB?

How do we manage the servers? A single AMI serves as base for all servers. The AMI has an instance volume, containing the OS and LAMP stack, and a data volume, containing the MySQL data, Drupal/web directories, and local backups. Three layers of backups: Data volumes are backed up nightly via AWS snapshot. MySQL databases and web files are backed up nightly on the local data volume. Database and web file backups are copied off-site, to a non- AWS server, once a week in case of total AWS catastrophe!

How do we manage the servers? All changes that should persist are made on the AMI. Examples: add new virtual hosts, add new SSL certificate, update backup scripts. Some AMI configuration files are stored in git repos. Occasionally we launch new instances from the AMI. Backup scripts and cronjobs are manually configured each time. Each server has a single IP address. A single SSL certificate is shared across all servers. The SSL cert has all subdomains listed as Subject Alternative Names.

How do we manage the Drupal sites? Majority of Drupal sites belong to one multisite installation Every site has a drush alias Drupal core and contrib modules are managed in a git repo Drupal core updates are fetched and merged from Drupal remote Contrib modules are updated via drush Custom modules are added to the repo as git submodules Each custom module has its own project history Custom modules can be installed independently on other sites Code changes are applied to production by merging tags

Pro s of AWS Lots of flexibility Create dev and testing servers on the fly, without worrying about breaking things Identical staging/dev/production servers Not affected by local weather/power outages Cost effective, no setup fees, no lifecycle/replacement costs Increase instance and data volume size according to need Room for growth RDS, autoscaling, cross region redundancy, other AWS services

Con s of AWS Had to learn server ops Server maintenance takes away from Drupal dev/support Risk are we doing it right? Responsibility if it fails AWS adds some overhead on top of standard server ops Local dev is harder doesn t mirror server Small peanuts compared to other AWS clients

Questions? Discussion?