• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Deployment Without the Chaos!
 

Deployment Without the Chaos!

on

  • 1,544 views

To watch the recorded webinar please go to:...

To watch the recorded webinar please go to:
http://bit.ly/H3vI6V

Learn how to harness Zend Studio and Server to easily manage the development of version controlled projects and their deployment to various environments. As a bonus, the Web API of Zend Server is used to demonstrate a way of scripting application deployment.

Presenter – Eric Ritchie - (70 min) January 31, 2012

Statistics

Views

Total Views
1,544
Views on SlideShare
1,539
Embed Views
5

Actions

Likes
0
Downloads
0
Comments
0

3 Embeds 5

https://si0.twimg.com 2
http://us-w1.rockmelt.com 2
http://tweetedtimes.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Deployment Without the Chaos! Deployment Without the Chaos! Presentation Transcript

    • Deployment Withoutthe Chaos!By Eric Ritchie (eric@zend.com)To watch the recorded webinar please go to:http://bit.ly/H3vI6V © All rights reserved. Zend Technologies, Inc.
    • Eric Ritchie bids you welcome!• Senior Technical Consultant and Trainer at Zend Technologies• Zend Framework and PHP 5.3 ZCE• Seventeen years of system administration experience• Eleven years of PHP (3,4 & 5) and five years Zend Framework development experience• Hobbies: Sampling good wines/whiskies (gifts welcome) © All rights reserved. Zend Technologies, Inc.
    • The good old days of PHP development?• A few developers working directly on a single server SSH/Samba © All rights reserved. Zend Technologies, Inc.
    • The professional version...Version Control Server Testing/QASubversion/Git Deploy Deploy Development Production Workstation Local Disk Web Server / Storage Cluster d HTTP Virtual Web Appliance © All rights reserved. Zend Technologies, Inc.
    • Managing deployment• Potential nightmare senario:  Testing server controlled by integration team / Sysops  Production server controlled by Sysops  Only developers should need to know how to deploy• Fast path to tranquility:  Zend Server 5.6 Deployment features  Zend Studio 9.0.1 Deployment tools  Zend SDK © All rights reserved. Zend Technologies, Inc.
    • Demo... Local Development and Simple Deployment © All rights reserved. Zend Technologies, Inc.
    • Prerequisites• Helps prevent deployment to incompatable targets• Various tests possible:  PHP version  Required PHP modules  Required PHP settings  Zend Framework version  Zend Server version  Required Zend Server modules © All rights reserved. Zend Technologies, Inc.
    • Demo... Prerequisites © All rights reserved. Zend Technologies, Inc.
    • Triggers & variables• Scripts are called at various points in the deploy process  Deploy (Stage/Activate)  Rollback  Remove (Deactivate/Un-stage)• Some helpful constants are defined automatically  Version number  Application base path  Etc.• User defined constants possible, supplied by the user at deployment time © All rights reserved. Zend Technologies, Inc.
    • Demo... Triggers and Variables © All rights reserved. Zend Technologies, Inc.
    • Rollback (or <Ctrl>Z)• Ok, we deployed and our website is down... What now?  Check the PHP error log?  Check Zend Server event monitoring?  Yell at the developers!  Develop a fix and redeploy...• Nah, better to act now and ask questions later:  Undo!  You can still check your logs while your website runs © All rights reserved. Zend Technologies, Inc.
    • Demo... Rollback © All rights reserved. Zend Technologies, Inc.
    • Zend SDK• Command line tool that allows (amongst other things):  Creation of project templates (Hello World)  Project check out from Git  Prepare projects for deployment  Deploy to multiple Zend Server / Cluster Manager instances  Etc.• Used internally by Zend Studio 9• Open source project• Download it here: http://code.google.com/p/zend-sdk/ © All rights reserved. Zend Technologies, Inc.
    • Web API• Webservice based API that allows (amongst other things):  Expansion/shrinking of an application cluster  Deploy to local or remote Zend Server / Cluster Manager instances  Changing the GUI password  Acceptance of Zend Server EULA  Retrival of monitoring data  Retrieval of code tracing data  Etc. © All rights reserved. Zend Technologies, Inc.
    • Demo... Command Line Deployment using the Web API © All rights reserved. Zend Technologies, Inc.
    • Cloud topics• What happens when ″booting″ a new cloud server?  You get a shiny new bare bones Linux server, that‘s all*  What about your application?• Let‘s see what happens... © All rights reserved. Zend Technologies, Inc.
    • Demo... Cluster Expansion © All rights reserved. Zend Technologies, Inc.
    • Package customisation• Possible to adjust the deployment package when:  Not the complete project should be deployed  Project contains some static elements (libraries) © All rights reserved. Zend Technologies, Inc.
    • So long...• …and thanks for all the fish. © All rights reserved. Zend Technologies, Inc.
    • WebinarTo watch the recorded webinar, please go to:http://www.zend.com/en/resources/webinars/zend-server#DChaosorhttp://bit.ly/H3vI6V © All rights reserved. Zend Technologies, Inc.