Slide 1

Slide 1 text

PUPPET MODULES TO BUILD A WEBSCALE HOSTING INFRASTRUCTURE

Slide 2

Slide 2 text

> 2015 OpenVZ VMs (manual management) VMs managed by Puppet vHosts trough PHP based control panel

Slide 3

Slide 3 text

PROBLEMS single server only given configuration doing it the control panel way vs. doing it the right way costs, sometimes

Slide 4

Slide 4 text

2015 > get rid of the control panel VMs and vHosts managed by Puppet REST API to manage configuration, simple Angular frontend

Slide 5

Slide 5 text

WORK ACCOMPLISHED development started in April 2014 ~1500 hours, 134 PR merged, 1620 Commmits documentation (CC BY-SA): https://snowflakehosting.ch/ Open Source release coming

Slide 6

Slide 6 text

SESSION technical a few more slides only Live Demo find more interested parties who are interested in using and enhancing this stack

Slide 7

Slide 7 text

LIGHTNING TALK < > SESSION

Slide 8

Slide 8 text

PUPPET MODULES TO BUILD A WEBSCALE HOSTING INFRASTRUCTURE

Slide 9

Slide 9 text

TECH INSIGHTS Nutanix: "Invisible infrastructure for enterprise computing" (our own private cloud, modules will run an any server) Debian 8 Jessie (PHP 5.6, MariaDB 10) small footprint (nginx, MSMTP, collectd, ...) Performance: 6.2 Quickstart: 2-4x faster than before

Slide 10

Slide 10 text

MODULE STRUCTURE service (=wrapper module) added to server (Website, Database, Caching, ...) service options (name, env, type, ...) website types: typo3cms, magento, uwsgi, .. env: DEV, STAGE, PROD database types: mysql, postgres caching types: memcached, varnish, ...

Slide 11

Slide 11 text

EXAMPLE service: website, type: typo3cms

Slide 12

Slide 12 text

HIERA Hiera is a key/value lookup tool for configuration data, built to make Puppet better and let you set node-specific data without repeating yourself.

Slide 13

Slide 13 text

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 " : " s e r v e r _ n a m e " : " s t v h o c h d o r f . c h w w w . s t v h o c h d o r f . c h " " e n v " : " L I V E " " t y p e " : " t y p o 3 c m s "

Slide 14

Slide 14 text

UNDER DEVELOPMENT REST API, Angular frontend microrest.php: Silex, Doctrine

Slide 15

Slide 15 text

DEMO

Slide 16

Slide 16 text

NEXT STEPS finish API & frontend publish stack under a open source license (contact me for preview versions) find more interested parties who are interested in using and enhancing this setup

Slide 17

Slide 17 text

THANK YOU https://twitter.com/andristeiner https://speakerdeck.com/andristeiner FEEDBACK WELCOME ☺