Are you still using FTP to deploy your code? Are you still manually performing the same steps of deploying a feature, again and again? How many hours have you spent on ssh-ing into the server, pulling the repo, migrating the database, reloading the web server and so on, for each deployment?? Ever wondered if there is a process as simple as a single click to perform all these steps for you?
Automated Deployment does exactly these things for you. It takes the burden of remembering all the steps required in each deployment process and execute it smoothly.
1. STILL STUCK WITH FTP OR GIT PULL TO
DEPLOY?
IT'S HIGH TIME TO EMBRACE AUTOMATED
DEPLOYMENT WITH CAPISTRANO
Created by /Sumit Chhetri @shhetri
, Kumaripati, LalitpurYIPL
2. OUTLINE
Who Am I?
Deployment?
Deployment Goals
Bene ts of Automated
Deployment
Some Infographics and Stats
Capistrano
Requirements
Terminology
Demo
Future of Deployment
Any Questions?
Thank You
5. DEPLOYMENT
is all of the activities that make a
software system available for use
Software deployment
copy/clone code base to server
run composer commands
migrate your database
reload the web server
notify about the deployment
and so on...
15. Deployments become much less error-prone
compared to this...
This simulates a manual deployment
Source: devopsreactions.tumblr.com
16. Anyone in the team with permission can deploy software
17. Engineers will spend most of their time developing software
and not have to face this kind of situation...
Problematic deployment is over
Source: devopsreactions.tumblr.com
22. DEPLOYMENT TOOLS, WHAT ARE THE POPULAR
ONES
Tool Written In Github Stars Github Watchers
Ruby 329
Python 316
Ruby 90
PHP 81
PHP 85
Capistrano 7476
Fabric 5833
Mina 2701
Rocketeer 1731
Deployer 1334
Source: , data from 04-Sep-2015Github.com
39. STAGES
Refers to each environment being a stage like dev, staging,
testing, production.
Usually means different set of servers.
Can also include con guration per stage.
Or even different tasks.
41. FUTURE OF DEPLOYMENT
with deploying from Hipchat using HubotChat ops
deployment but looks like a problem in Internet
challenged Nepal :)
Docker
42. ANY QUESTIONS???
You can drop me a message via
Email :
Facebook :
Twitter :
Visit to read
more on this. And for more interesting
stuffs.
sumit.chhetri@yipl.com.np
er.sumit.chhetri@gmail.com
https://www.facebook.com/SHhetri
https://twitter.com/shhetri
http://blog.yipl.com.np/automated-deployment
http://blog.yipl.com.np