Slide 1

Slide 1 text

ZÜRICH PUPPET MEETUP JULY WELCOME @ SNOWFLAKE

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

INFRASTRUCTURE Racks hired in two different datacenters DWDM between those locations and Zurich office VPN to other offices RIPE LIR (AS198249), SwissIX

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

with all platform aspects covered, we can solely focus on our virtual servers

Slide 6

Slide 6 text

GOALS top performance small footprint (mail daemon, logging, ...) automate everything, no local modifications 1 click configuration trough API

Slide 7

Slide 7 text

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, ...)

Slide 8

Slide 8 text

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/

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

EXAMPLE service: website, type: typo3cms

Slide 11

Slide 11 text

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 "

Slide 12

Slide 12 text

HIERA BACKEND under development: REST API, Angular frontend

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

THANK YOU https://www.snowflake.ch/jobs https://twitter.com/andristeiner https://speakerdeck.com/andristeiner FEEDBACK WELCOME ☺