Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DevOps: Python tools to get started

DevOps: Python tools to get started

Presented at Mini PyCon Malaysia 2014 (March 15)

Victor Neo

March 15, 2014
Tweet

More Decks by Victor Neo

Other Decks in Technology

Transcript

  1. DevOps is … “… development and operations teams work on

    software releases in tandem, rather than throwing code back and forth across a silo.”
  2. Make no mistake DevOps is a culture In [1]: “tools

    make a culture” Out [1]: False
  3. Not too long ago 1 Technical Co-founder ! Edits code

    on production server Live reload
  4. Moments ago 4 Engineers: iOS, Android, CTO, Backend + Infrastructure

    ! Every engineer somewhat involved with Backend code
  5. TODO • Deploy • Monitor Make it easy to: •

    Break things Make it difficult to:
  6. Deployment options - Fabric + git / svn /… !

    - Salt / Ansible / Chef ! - Native packaging (.rpm, .deb)
  7. Fabric (i) from fabric.api import env, run ! hosts =

    [‘app.server.com’] ! def deploy(): run(“git pull && … ”) fabfile.py
  8. Fabric: the good parts Simple, easy to start with !

    @parallel to speed up for multiple servers
  9. TODO • Deploy • Monitor Make it easy to: •

    Break things Make it difficult to:
  10. TODO • Deploy • Monitor Make it easy to: •

    Break things Make it difficult to:
  11. Done! • Deploy • Monitor Make it easy to: •

    Break things Make it difficult to: