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

Puppet @ snowflake

Andri Steiner
July 07, 2015
220

Puppet @ snowflake

Zurich Puppet Meetup, 07.07.2015

Andri Steiner

July 07, 2015
Tweet

Transcript

  1. SNOWFLAKE Web agency "PREMIUM OPEN SOURCE" Zurich, Bern, Lucerne founded

    and still owned by 3 lads, ~50 employees Development Teams: CMS, eCommerce, Applications multiple staff sections, amongst others: Hosting
  2. INFRASTRUCTURE Racks hired in two different datacenters DWDM between those

    locations and Zurich office VPN to other offices RIPE LIR (AS198249), SwissIX
  3. HARDWARE Nutanix : "Invisible Infrastructure for Enterprise Computing" Package of

    software, management, hardware SDx, especially storage, multi tier caching Network: Arista based, redundant, active/active Layer 2 & 3
  4. GOALS top performance small footprint (mail daemon, logging, ...) automate

    everything, no local modifications 1 click configuration trough API
  5. GOALS: PUPPET separate code (Modules) and configuration (Hiera) Puppet Forge

    usage (nginx, mysql, php, ...) wrapper modules whenever possible no manual interaction at all (DNS, Backup, Monitoring, Firewall, Billing, ...)
  6. WHAT WE DID development started in April 2014 128 Pull

    requests merged 1560 Commits 37'409 lines Puppet manifests 16'620 lines templates documentation: , CC BY-SA https://snowflakehosting.ch/
  7. ARCHITECTURE server trough Nutanix API (puppet-nutanix pending) configuration from Hiera

    Backend service (= wrapper module) added to server (Website, Database, Caching, ...) service has options (name, type, env, ...) website types: typo3cms, magento, uwsgi, .. environments: DEV, STAGE, PROD database types: mysql, postgres caching types: memcached, varnish
  8. HIERA BACKEND by now: YAML files in GIT w e

    b s i t e : : s i t e s : " s t v h o c h d o r f " : " p a s s w o r d " : " 1 2 3 4 " " s e r v e r _ n a m e " : " s t v h o c h d o r f . c h " " e n v " : " L I V E " " h t p a s s w d " : " 4 3 2 1 " " t y p e " : " t y p o 3 c m s "
  9. NEXT STEPS finishing REST API puppet-nutanix module publish whole stack

    under a open source license spread the word and find more interested parties who are interested in using and enhancing this setup