Don’t Touch that
Server: A Toolkit for
   “Zero Touch”
I used to work for a very big company




                                        © 2009 Acquia, Inc.
And we sold to a lot of big companies




                                        © 2009 Acquia, Inc.
We sold them a lot of FUD!




                             © 2009 Acquia, Inc.
We sold them a lot of FUD!
I mean that in a good way




                             © 2009 Acquia, Inc.
We sold them a lot of FUD!
I mean that in a good way
(I still own a lot of stock!)




                                © 2...
Of course, we called it “IT Governance”
                               Provide
                               Direction

 ...
And had really expensive tools to support it




                                          © 2009 Acquia, Inc.
Then, I discovered something simpler
Before Drupal I thought
the next big thing was
Rails
They had a great stack of
tools!...
And then, I found Acquia and Drupal
We had some tools, too
 CVS



I was confused . . .




                              ...
Didn’t big companies use Drupal?




                                   © 2009 Acquia, Inc.
© 2009 Acquia, Inc.
What tools are available?
Drupal tools
System tools
Development tools




                            © 2009 Acquia, Inc.
Drupal tools
Features
Spaces
Strongarm
Drush




               © 2009 Acquia, Inc.
System tools
Con guration
management
Execution tools
Log management




                  © 2009 Acquia, Inc.
Puppet
Declarative language for
system con guration
Basic concepts
  Nodes
  Classes
  De nes (macros)
  Types
Modular and...
Remote Execution
Func–“Fedora Uni ed
Network Controller”
From the home page:
  “Func allows for
  running commands on
  re...
Log Management
“How will we see the
logs?”
You need to centralize
  Syslog
  Splunk




                         © 2009 Ac...
Development tools
Version management
Build tools
Continuous integration




                         © 2009 Acquia, Inc.
Continuous integration and builds

                                                              Admin Console
           ...
Continuous integration and builds
Syntax checking
                                                         Admin Console
T...
Build tools




              © 2009 Acquia, Inc.
Build tools
 Phing
   written (and extended)
   in PHP
   XML build description
 Built-in PHPish tasks
   PHPLint
   PDOSQ...
What about content?
Split “in-house” editing
from production
Deploy




                           © 2009 Acquia, Inc.
Roadblocks and limitations
“The Staging Problem”
  Metadata and data in
  the same store
Enabling Features
Managing author...
The Deployment Manifest
Steps to take as part of
deployment
  Enable features &
  modules
  Manage roles
  Clear cache
  U...
© 2009 Acquia, Inc.
What did you think?
                 Step 1)
  Locate this session on the DCSF site
 http://sf2010.drupal.org/conference/
...
Upcoming SlideShare
Loading in …5
×

Don't touch that server

818 views
732 views

Published on

Slides from Drupalcon session "'Don't Touch That Server': A toolkit for zero-touch production environments"

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
818
On SlideShare
0
From Embeds
0
Number of Embeds
15
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide










  • Reduce your attack surface
    Protect your team from themselves
    Split off operations from development work




  • Python







  • Requires humans
    Can automate a dump
    Must be “diff-able”
    Need to be very careful with content changes
    Need help here
    Rails-like migrations?
    rollback.php & hooks?

  • Don't touch that server

    1. 1. Don’t Touch that Server: A Toolkit for “Zero Touch”
    2. 2. I used to work for a very big company © 2009 Acquia, Inc.
    3. 3. And we sold to a lot of big companies © 2009 Acquia, Inc.
    4. 4. We sold them a lot of FUD! © 2009 Acquia, Inc.
    5. 5. We sold them a lot of FUD! I mean that in a good way © 2009 Acquia, Inc.
    6. 6. We sold them a lot of FUD! I mean that in a good way (I still own a lot of stock!) © 2009 Acquia, Inc.
    7. 7. Of course, we called it “IT Governance” Provide Direction Set Objectives • Align with the business • Enable business IT Activities • Maximize benefits • Increase business • Use resources effectiveness Compare responsibly • Decrease cost • Mange Risk • Manage risks Measure Performance Source: IT Governance Institute © 2009 Acquia, Inc.
    8. 8. And had really expensive tools to support it © 2009 Acquia, Inc.
    9. 9. Then, I discovered something simpler Before Drupal I thought the next big thing was Rails They had a great stack of tools! Git Rake Capistrano CruiseControl Selenium And they were FREE! © 2009 Acquia, Inc.
    10. 10. And then, I found Acquia and Drupal We had some tools, too CVS I was confused . . . © 2009 Acquia, Inc.
    11. 11. Didn’t big companies use Drupal? © 2009 Acquia, Inc.
    12. 12. © 2009 Acquia, Inc.
    13. 13. What tools are available? Drupal tools System tools Development tools © 2009 Acquia, Inc.
    14. 14. Drupal tools Features Spaces Strongarm Drush © 2009 Acquia, Inc.
    15. 15. System tools Con guration management Execution tools Log management © 2009 Acquia, Inc.
    16. 16. Puppet Declarative language for system con guration Basic concepts Nodes Classes De nes (macros) Types Modular and extensible © 2009 Acquia, Inc.
    17. 17. Remote Execution Func–“Fedora Uni ed Network Controller” From the home page: “Func allows for running commands on remote systems in a secure way, like SSH, but offers several improvements.” Supported on RHEL and Fedora Does it break the rules? © 2009 Acquia, Inc.
    18. 18. Log Management “How will we see the logs?” You need to centralize Syslog Splunk © 2009 Acquia, Inc.
    19. 19. Development tools Version management Build tools Continuous integration © 2009 Acquia, Inc.
    20. 20. Continuous integration and builds Admin Console CI Server Poll Source Developer Control Build Workstation Server Output Fileserver Checkout Build Slave Test Execution Commands Dev Tools Setup Commands Test Staging Test Web Tra c Staging Server Automation Staging Server Server Server © 2009 Acquia, Inc.
    21. 21. Continuous integration and builds Syntax checking Admin Console Testing Poll CI Server Simpletest Source Developer Control Selenium Workstation Server Build Output Fileserver Packaging Checkout Build Slave Test Execution Deployment Commands Dev Tools Setup Commands Test Staging Test Web Tra c Staging Server Automation Staging Server Server Server © 2009 Acquia, Inc.
    22. 22. Build tools © 2009 Acquia, Inc.
    23. 23. Build tools Phing written (and extended) in PHP XML build description Built-in PHPish tasks PHPLint PDOSQLExec many others ... © 2009 Acquia, Inc.
    24. 24. What about content? Split “in-house” editing from production Deploy © 2009 Acquia, Inc.
    25. 25. Roadblocks and limitations “The Staging Problem” Metadata and data in the same store Enabling Features Managing authorization Database updates Rollback? © 2009 Acquia, Inc.
    26. 26. The Deployment Manifest Steps to take as part of deployment Enable features & modules Manage roles Clear cache Update DB Simple syntax XML, YAML, JSON, etc. Drives Drush © 2009 Acquia, Inc.
    27. 27. © 2009 Acquia, Inc.
    28. 28. What did you think? Step 1) Locate this session on the DCSF site  http://sf2010.drupal.org/conference/ schedule Step 2) Click the “Take Survey” link

    ×