Puppet at Spotify

744 views

Published on

Erik Dalén's talk "Puppet at Spotify" from Puppet Camp Ghent 2013.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
744
On SlideShare
0
From Embeds
0
Number of Embeds
45
Actions
Shares
0
Downloads
6
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Puppet at Spotify

  1. 1. Puppet at SpotifyErik DalénFebruary 1, 2013
  2. 2. Spotify•  Over 20 million monthly active users•  Launched in 17 countries•  Over 20 million songs•  More than 1 billion playlistsGrowing quickly
  3. 3. Puppet Infrastructure•  Rougly 3500 nodes•  3 different Puppet installations, each with their own PuppetDB and CA•  One puppetmaster per data centre
  4. 4. Puppet InfrastructurePuppet users since 2.5 years•  More than 300 changes per month•  137 committers to our Puppet repository•  240 puppet modulesCode review by operations using Gerrit
  5. 5. Puppet Infrastructure Git branch == Puppet environment
  6. 6. Node ClassificationAt the moment using different ENCs in different Puppet installationsWill be switching to using hiera to classify nodes
  7. 7. Node ClassificationHostname standard:sto1-puppet-a1<site>-<service>-<pool><poolid>Mainly service fact used to determine the classes a machine should have
  8. 8. Service discoveryUsing SRV records to discover services
  9. 9. Service discoverywasd: github.com/spotify/wasdIngests Cassandra rings and DNS records across multiple sites at a regular interval, then exposes information about hosts and services.One can ask what a host does, optionally for which sites; which hosts in a site offer a service; which hosts offer a service for a site.Using a REST API.
  10. 10. Questions?

×