36 point
日本語(にほんご)
48 point white on black
Puppet is most of your
documentation!
David Mytton
Puppet Camp Tokyo - May 2014
blog.serverdensity.jp
David Mytton
ウェブサイト及びサーバー監
視の プレミアム製品
Server Density Architecture
● ~100 servers - Ubuntu 12.04
● 50:50 virtual/dedicated
● Softlayer > Google Cloud
● Nginx, Py...
How we use Puppet
● Infrastructure
● Config
● Failover
● Deploys
How we use Puppet
Puppet is the source of truth
It knows all our servers, where they are,
their health status, how they are configured
and w...
How we use Puppet
● Infrastructure
● Config
● Failover
● Deploys
Infrastructure
Infrastructure
gce_instance { 'totoro-1':
ensure => present,
machine_type => 'n1-standard-1',
zone => 'asia-east1-a',
netw...
Infrastructure
● gce_instance
● gce_firewall
● gce_httphealthcheck
● gce_targetpool
● ...
Infrastructure
Infrastructure
● Why?
● Defined in code
● All under version control
● Changes applied consistently
● Easy for others to un...
Config
● Packages
● Versions (pinning)
● Config files
● Tweaks, fixes, patches
Config
Versions (pinning)
Config
Tweaks, fixes, patches
Config
● Why?
● Defined in code
● All under version control
● Changes applied consistently
● Easy for others to understand
Failover
● Nginx load balancer pools
● IPs stored in Puppet
● Console rake API
Failover
● Why?
● Defined in PuppetDB
● GET/SET via API or UI
● Changes applied consistently
● Easy for others to understa...
Deploys
Deploys
Deploys
Deploys
/opt/puppet/bin/mco puppetd runonce -I <host>
How we use Puppet
● Infrastructure
● Config
● Failover
● Deploys
}The Docs
ご興味がありましたら、新たに開設した
日本語のブログもご覧下さい。
● GoogleコンピュートエンジンでのMongoDBー -ヒ
ントとベンチマーク評価
● 当社の時系列グラフを支える技術 – 
一日に20億、月に30TBに及ぶドキュメント
...
日本語のツイッターのアカウントもフォローして
下さい。
@serverdensityjp
どもありがとうございます
@davidmytton
david@serverdensity.com
blog.serverdensity.jp
Upcoming SlideShare
Loading in …5
×

Puppet Camp Tokyo 2014: Puppet Is Most of Your Documentation

606 views

Published on

"Puppet Is Most of Your Documentation" presented at Puppet Camp Tokyo 2014 by David Mytton, Server Density.

Published in: Software, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
606
On SlideShare
0
From Embeds
0
Number of Embeds
44
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Puppet Camp Tokyo 2014: Puppet Is Most of Your Documentation

  1. 1. 36 point 日本語(にほんご) 48 point white on black
  2. 2. Puppet is most of your documentation! David Mytton Puppet Camp Tokyo - May 2014 blog.serverdensity.jp
  3. 3. David Mytton
  4. 4. ウェブサイト及びサーバー監 視の プレミアム製品
  5. 5. Server Density Architecture ● ~100 servers - Ubuntu 12.04 ● 50:50 virtual/dedicated ● Softlayer > Google Cloud ● Nginx, Python, MongoDB ● 30TB/m incoming data
  6. 6. How we use Puppet ● Infrastructure ● Config ● Failover ● Deploys
  7. 7. How we use Puppet
  8. 8. Puppet is the source of truth It knows all our servers, where they are, their health status, how they are configured and what is installed.
  9. 9. How we use Puppet ● Infrastructure ● Config ● Failover ● Deploys
  10. 10. Infrastructure
  11. 11. Infrastructure gce_instance { 'totoro-1': ensure => present, machine_type => 'n1-standard-1', zone => 'asia-east1-a', network => 'default', image => 'backports-debian-7-wheezy', }
  12. 12. Infrastructure ● gce_instance ● gce_firewall ● gce_httphealthcheck ● gce_targetpool ● ...
  13. 13. Infrastructure
  14. 14. Infrastructure ● Why? ● Defined in code ● All under version control ● Changes applied consistently ● Easy for others to understand
  15. 15. Config ● Packages ● Versions (pinning) ● Config files ● Tweaks, fixes, patches
  16. 16. Config Versions (pinning)
  17. 17. Config Tweaks, fixes, patches
  18. 18. Config ● Why? ● Defined in code ● All under version control ● Changes applied consistently ● Easy for others to understand
  19. 19. Failover ● Nginx load balancer pools ● IPs stored in Puppet ● Console rake API
  20. 20. Failover ● Why? ● Defined in PuppetDB ● GET/SET via API or UI ● Changes applied consistently ● Easy for others to understand
  21. 21. Deploys
  22. 22. Deploys
  23. 23. Deploys
  24. 24. Deploys /opt/puppet/bin/mco puppetd runonce -I <host>
  25. 25. How we use Puppet ● Infrastructure ● Config ● Failover ● Deploys }The Docs
  26. 26. ご興味がありましたら、新たに開設した 日本語のブログもご覧下さい。 ● GoogleコンピュートエンジンでのMongoDBー -ヒ ントとベンチマーク評価 ● 当社の時系列グラフを支える技術 –  一日に20億、月に30TBに及ぶドキュメント blog.serverdensity.jp
  27. 27. 日本語のツイッターのアカウントもフォローして 下さい。 @serverdensityjp
  28. 28. どもありがとうございます @davidmytton david@serverdensity.com blog.serverdensity.jp

×