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

Configuration Management Tools

Configuration Management Tools

Very basic introduction to the Configuration Management Tools for the group Las Palmas DevOps.

Juanje Ojeda

March 05, 2014
Tweet

More Decks by Juanje Ojeda

Other Decks in Programming

Transcript

  1. Configurations ≈ Policies The port 80 must be open The

    user X must have access MySQL database must be running Ping must be blocked
  2. What do we need? All changes documented All changes must

    be repeatable All changes in one place Accesibles for anyone All changes must be traceable
  3. What do we do? Configuration by hand Wiki One or

    few scripts Better scripts + Wiki Better scripts + Git/Svn Custom SCM (script+git+ssh loop)
  4. How is a modern SCM? Declarative Abstract Idempotent Convergent How

    it should behave Rely on the tool for the implementation
  5. Make Apps SCM friendly Separate data from code Allow to

    use ENV variables Set default options But allow overwrite them with conffiles
  6. Make Apps SCM friendly Use flags to activate features Use

    standard formats Think about settings per environment