devops for solo developers
TRANSCRIPT
DevOps for Solo DeveloperJure Čuhalev
I used to focus on technology
Now I focus on my clients business
How can I clone myself?
Technical Debtwas killing me
Quick hacks
Broken environment
High cost of
switching projects
DevOps to the rescue
a culture of collaboration and sharing between
Development and Operations teams
Ops is all about automation and monitoring
Deploy
Replicate remote environment
Deploy
Single deploy script
Remote Shell Access
• Controlled by your computer
• Requires build scripts on server
• Don’t expose your .git/folder to the internet
FTP• Build outside of your
development folder
• LFTP, NCFTP for scripting
Benefits
Good development
practicesReplicate build
processQuick deploy
Sync remote environment
Database
Uploaded content
Plugins
Localdatabase
Localdisk
Have a system• scripts/project/
• deploy
• sync_db
• sync_files
Find wrappers for your CMS/frameworkwp-cli, drush, magerun
Operations
Uptime monitoring• Clients will call you
• 1 hour resolution is fine
• Pick any free solution
• UptimeRobot is great
Error reporting• Frontend and backend error
logging
• Stack trace
• GetSentry.com is great
Final setup
Deploy
Replicate remote environment
Error monitoring
Uptime monitoring
Technology
Pick an automation a framework that your friends use
Ansible Chef
Puppet Fabric
BashCapistrano
Slow down, replace yourself with a small shell script