Servers as Pets v. Servers as Cattle

2,684 views

Published on

Talk given to Manila AWS User Group, October 9, 2013 at Kickstart Labs.

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

No Downloads
Views
Total views
2,684
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
18
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Servers as Pets v. Servers as Cattle

  1. 1. Servers as Pets v. Servers as Cattle Radamanthus Batnag Saturday, October 12, 13
  2. 2. @radamanthus radamanthus@gmail.com http://github.com/radamanthus http://rad.batnag.org Application Support Engineer at EngineYard Saturday, October 12, 13
  3. 3. http://www.slideshare.net/gmccance/cern-data-centre-evolution CERN Data Center Evolution Saturday, October 12, 13
  4. 4. Pets Saturday, October 12, 13
  5. 5. Pets Saturday, October 12, 13
  6. 6. Pets Saturday, October 12, 13
  7. 7. Pets • Pets are given names like pussinboots.cern.ch • They are unique, lovingly hand raised and cared for • When they get ill, you nurse them back to health Saturday, October 12, 13
  8. 8. Cattle Saturday, October 12, 13
  9. 9. Cattle Saturday, October 12, 13
  10. 10. Cattle • Cattle are given names numbers like vm0042.cern.ch • They are almost identical to other cattle • When they get ill, you... Saturday, October 12, 13
  11. 11. ...get another one Saturday, October 12, 13
  12. 12. 2004 JBoss SQLServer Production Saturday, October 12, 13
  13. 13. 2005 JBoss SQLServer Production JBoss SQLServer Staging Saturday, October 12, 13
  14. 14. 2007 JBoss SQLServer Trinity Production JBoss SQLServer Trinity Staging Apache/Mongrels PostgreSQL Neo Staging App1 PostgreSQL Neo Production App2 Cache smtp Intranet Saturday, October 12, 13
  15. 15. 2010 app1 app2 db Staging JBos SQLSer Trinity app1 Production app2 app3 app4 cache smtp db master db slave app5 app6 app7 app8 app9 app10 admin solr1 solr2 app1 app2 db New App Production sphinx app1 db New App Staging sphinx Saturday, October 12, 13
  16. 16. EngineYard Saturday, October 12, 13
  17. 17. EngineYard Saturday, October 12, 13
  18. 18. Factory! Saturday, October 12, 13
  19. 19. Saturday, October 12, 13
  20. 20. Saturday, October 12, 13
  21. 21. Provisioning Tools • Puppet - http://puppetlabs.com/ • Chef - http://www.opscode.com/chef/ • Ansible - http://www.ansibleworks.com/ • DIY Saturday, October 12, 13
  22. 22. “Future application architectures should use Cattle but Pets with strong configuration management are viable and still needed.” Saturday, October 12, 13
  23. 23. Credits • http://www.slideshare.net/gmccance/cern-data-centre-evolution • http://eofdreams.com/data_images/dreams/cat/cat-07.jpg • http://upload.wikimedia.org/wikipedia/commons/2/22/Turkish_Van_Cat.jpg • http://www.freegreatpicture.com/cat/photo-1562 • http://www.collisiondetection.net/images/cow_herd.jpg • http://imgc.artprintimages.com/images/art-print/bobby-haas-a-large-herd-of-cattle-being-driven-to- richer-grasslands_i-G-37-3731-7ZDZF00Z.jpg • http://upload.wikimedia.org/wikipedia/en/a/aa/CattleRestrainedForSlaughter.jpg • http://www.clker.com/cliparts/I/x/g/a/v/N/new-cow-hi.png • http://d75822.medialib.glogster.com/media/ff/ fff1da0084e911a530554eb577d29aefe31a0a6f0a16ecee8551d42bbae56227/factory-png.png • https://www.digitalocean.com/community/articles/how-to-install-rails-and-nginx-with-passenger-on- ubuntu Saturday, October 12, 13

×