82
Client Advisor Series Drupal Staging and Deployment Best Practices Bryan House Sr. Director, Marketing Acquia @bryanhouse Joshua Brauer Drupalist - Client Advisor Team Acquia @jbrauer

Client Advisor Webinar - Drupal Staging and Deployment Best Practices

  • Upload
    acquia

  • View
    4.118

  • Download
    1

Embed Size (px)

DESCRIPTION

One of the more complex problems in managing large Drupal projects is keeping development, staging and production environments in sync. As projects grow in complexity including multiple developers and more features it becomes ever more important to have a reliable, repeatable process for deploying new functionality to the production website. In this webinar we'll cover: - Using version control for your Drupal project - Migrating your code, files and database between sites - Providing developers environments for effective development - Setting up sites for repeatable testing and deployment

Citation preview

Page 1: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Client Advisor SeriesDrupal Staging and Deployment Best Practices

Bryan HouseSr. Director, Marketing

Acquia

@bryanhouse

Joshua BrauerDrupalist - Client Advisor Team

Acquia

@jbrauer

Page 2: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Upcoming Events

Cities– New York City, November 9th

– Washington DC, November 18th

– Chicago, November 30th– San Francisco, December 2nd

Target Audience– Senior IT & Marketing

professionals

Companies Speaking– New York Stock Exchange

– tmg-emedia (Time Out)

– New York State Senate– The 451 Group

– Gilbane Group

– VML– Taunton Press

– Zagat Survey

– Examiner.com

Register at: http://revolution2010.acquia.com/

Page 3: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Introduction

Joshua Brauer–Drupalist on the Acquia Client Advisor Team

Page 4: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Development workflows

Thursday, October 28, 2010

Page 5: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Awesome Drupal

Thursday, October 28, 2010

Page 6: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

There are other places to be...

Thursday, October 28, 2010

Page 7: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Awesome Drupal+

Vacations

Thursday, October 28, 2010

Page 8: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Deployment Goals

Thursday, October 28, 2010

Page 9: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Reliable

Thursday, October 28, 2010

Page 10: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Repeatable

Thursday, October 28, 2010

Page 11: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Efficient

Thursday, October 28, 2010

Page 12: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Durable

Thursday, October 28, 2010

Page 13: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Location Agnostic

Thursday, October 28, 2010

Page 14: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Scalable

Thursday, October 28, 2010

Page 15: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Secure

Photo Credit: http://www.flickr.com/photos/sooperkuh/4241490395http://creativecommons.org/licenses/by/2.0/Thursday, October 28, 2010

Page 16: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Development Teams

Thursday, October 28, 2010

Page 17: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Solo developersThursday, October 28, 2010

Page 18: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Small Teams

Thursday, October 28, 2010

Page 19: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Large Teams

Thursday, October 28, 2010

Page 20: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Content Uploaded Files

Configuration

Code

What sites are made of

Thursday, October 28, 2010

Page 21: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 22: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 23: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 24: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 25: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 26: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 27: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 28: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 29: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Journey from Dev to Prod

Thursday, October 28, 2010

Page 30: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Moving Content

Thursday, October 28, 2010

Page 31: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Moving code and configuration

Thursday, October 28, 2010

Page 32: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Database-sync

Thursday, October 28, 2010

Page 33: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Easy to setup

Thursday, October 28, 2010

Page 34: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Local Computer

DB

Code

Files

Server

DB

Code

Files

Local Computer

DB

Code

Files

Thursday, October 28, 2010

Page 35: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Local Computer

DB

Code

Files

Server

DB

Code

Files

Local Computer

DB

Code

Files

Thursday, October 28, 2010

Page 36: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Works fine for

• Small sites with isolated content updates

• Single site-builder

• Sorry there is no #3

Thursday, October 28, 2010

Page 37: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

There’s a module for that

Thursday, October 28, 2010

Page 38: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

What are Databases good at?

Thursday, October 28, 2010

Page 39: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Storing Data

Thursday, October 28, 2010

Page 40: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Querying data

Thursday, October 28, 2010

Page 41: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Returning Data

Thursday, October 28, 2010

Page 42: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Not Merging and Versioning

Thursday, October 28, 2010

Page 43: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Manage sites in code

Thursday, October 28, 2010

Page 44: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Tools

Thursday, October 28, 2010

Page 45: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Version Control

Thursday, October 28, 2010

Page 46: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Local Stack

Thursday, October 28, 2010

Page 47: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Local Stack

Thursday, October 28, 2010

Page 48: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Testing tools

Thursday, October 28, 2010

Page 49: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Deployment toolsThursday, October 28, 2010

Page 50: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 51: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Manage sites in code

Thursday, October 28, 2010

Page 52: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 53: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 54: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 55: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 56: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 57: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 58: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 59: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 60: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 61: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 62: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 63: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 64: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 65: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 66: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 67: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Scrub the database

Thursday, October 28, 2010

Page 68: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 69: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 70: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Configuration in Code

Thursday, October 28, 2010

Page 71: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

hook_update()

Thursday, October 28, 2010

Page 72: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 73: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Thursday, October 28, 2010

Page 74: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

There’s a module for that

Thursday, October 28, 2010

Page 75: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

There are modules for that

Thursday, October 28, 2010

Page 76: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Strongarm

Thursday, October 28, 2010

Page 77: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Features

Thursday, October 28, 2010

Page 78: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Ctools

Thursday, October 28, 2010

Page 79: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

...and more

Thursday, October 28, 2010

Page 80: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Database Code

Reliable sometimes yes

Repeatable tricky yes

Efficient small sites yes

Durable no yes

Location no yes

Scalable no yes

Secure no possible

Thursday, October 28, 2010

Page 81: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

Drupal 8 and beyond

Thursday, October 28, 2010

Page 82: Client Advisor Webinar - Drupal Staging and Deployment Best Practices

QuestionsFor more information, visit:– http://acquia.com– http://twitter.com/acquia– http://twitter.com/drupalgardens– http://twitter.com/drupalcommons– http://acquia.com/facebook

Contact us:– [email protected]

– 888.9.ACQUIA

Try Drupal 7 today, for free – Sign up at http://drupalgardens.com

Sign up for the Drupal Business Summit– http://revolution2010.acquia.com/

Recording of today’s event and slideswill be posted at:

http://acquia.com/resources/recorded_webinars