DevOps: Python tools to get started

DevOps: Python tools to get started

Presented at Mini PyCon Malaysia 2014 (March 15)

B488b215fc8fe37b528bc5f1643b2cd7?s=128

Victor Neo

March 15, 2014
Tweet

Transcript

  1. 2.

    DevOps is … “… development and operations teams work on

    software releases in tandem, rather than throwing code back and forth across a silo.”
  2. 3.

    Make no mistake DevOps is a culture In [1]: “tools

    make a culture” Out [1]: False
  3. 8.

    Not too long ago 1 Technical Co-founder ! Edits code

    on production server Live reload
  4. 9.

    Moments ago 4 Engineers: iOS, Android, CTO, Backend + Infrastructure

    ! Every engineer somewhat involved with Backend code
  5. 10.

    TODO • Deploy • Monitor Make it easy to: •

    Break things Make it difficult to:
  6. 12.

    Deployment options - Fabric + git / svn /… !

    - Salt / Ansible / Chef ! - Native packaging (.rpm, .deb)
  7. 13.

    Fabric (i) from fabric.api import env, run ! hosts =

    [‘app.server.com’] ! def deploy(): run(“git pull && … ”) fabfile.py
  8. 14.
  9. 15.

    Fabric: the good parts Simple, easy to start with !

    @parallel to speed up for multiple servers
  10. 19.

    TODO • Deploy • Monitor Make it easy to: •

    Break things Make it difficult to:
  11. 25.

    TODO • Deploy • Monitor Make it easy to: •

    Break things Make it difficult to:
  12. 31.

    Done! • Deploy • Monitor Make it easy to: •

    Break things Make it difficult to: