Become Master of Your Own Universe - DIBI 2013
-
Upload
phil-sturgeon -
Category
Technology
-
view
2.312 -
download
2
description
Transcript of Become Master of Your Own Universe - DIBI 2013
![Page 1: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/1.jpg)
Become Master of Your Own Universe
@philsturgeonhttp://philsturgeon.co.uk/
#dibiconf07/10/2013
http://discoverystudentadventures.blogspot.co.uk/2011/11/10-mind-bending-facts-about-universe.html
Tuesday, October 8, 13
![Page 2: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/2.jpg)
Kapture
PyroCMS
CodeIgniter
FuelPHP
PancakeApp
ignite100
PHP The Right Way
PHP Town Hall
PHP-FIG
@philsturgeon
Tuesday, October 8, 13
![Page 3: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/3.jpg)
Tuesday, October 8, 13
![Page 4: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/4.jpg)
DiscoverCustomers discover photo opportunities, either organically in the
Kapture feed, or by searching.
81%Customers who say posts from friends influenced their purchasing decisions
Tuesday, October 8, 13
![Page 5: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/5.jpg)
Enjoy & ShareCustomers will instantly unlock a perk to use at the register or save for
later. And with Kapture gifts, they can share these perks with their closest friends.
Present this screen to the
cashierGIFT PERK
Tuesday, October 8, 13
![Page 6: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/6.jpg)
API
nginx
PHP 5.5
PHP-FPM
FuelPHP for v2
Laravel 4 for v3 and v4
Elastic Load Balancer
Tuesday, October 8, 13
![Page 7: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/7.jpg)
Admin
nginx
PHP 5.5
PHP-FPM
Laravel 4
Twitter Bootstrap
Elastic IP
Tuesday, October 8, 13
![Page 8: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/8.jpg)
Merchant Panel
nginx
Python
Flask
AngularJS
Elastic IP
Tuesday, October 8, 13
![Page 9: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/9.jpg)
Frontend
nginx
PHP 5.5
PHP-FPM
Laravel 4
Should be AngularJS too
Elastic Load Balancer
Tuesday, October 8, 13
![Page 10: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/10.jpg)
Workers
python
supervisord
Proceduralish + PIPs
Tuesday, October 8, 13
![Page 11: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/11.jpg)
Database
MySQL
Amazon RDS
Tuesday, October 8, 13
![Page 12: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/12.jpg)
http://the-bestselection.blogspot.co.uk/2013/08/how-to-become-brogrammer-in-10-easy.htmlTuesday, October 8, 13
![Page 13: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/13.jpg)
http://base327.wikia.com/wiki/File:How-To-Create-A-LEGO-Star-Wars-Clone-Army.jpg
DevOps
Tuesday, October 8, 13
![Page 14: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/14.jpg)
http://geeksyndicate.co.uk/2010/11/25/tron-legacy-encom-is-planning-a-nokia-takeover/
Vagrant
Tuesday, October 8, 13
![Page 15: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/15.jpg)
VeeWee
http://salsapie.blogspot.co.uk/2013/09/new-pbs-parents-crafts-for-kids-video.htmlTuesday, October 8, 13
![Page 16: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/16.jpg)
Further Reading VeeWee
• Getting Started - https://github.com/jedi4ever/veewee#getting-started
• Build your own Vagrant Boxes with VeeWee - http://bit.ly/veewee
• From Veewee, to Vagrant, then Chef - http://www.thoughtlessbanter.com/blog/2013-04-27-from-vewee-to-vagrant-then-chef/
Tuesday, October 8, 13
![Page 17: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/17.jpg)
Provisioning
http://www.avclub.com/articles/foxs-junior-masterchef-to-find-newer-younger-chefs,97622/
Tuesday, October 8, 13
![Page 18: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/18.jpg)
Provisioning
http://www.avclub.com/articles/foxs-junior-masterchef-to-find-newer-younger-chefs,97622/
Chef
Tuesday, October 8, 13
![Page 19: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/19.jpg)
Provisioning
http://www.avclub.com/articles/foxs-junior-masterchef-to-find-newer-younger-chefs,97622/
Chef
Ansible
Tuesday, October 8, 13
![Page 20: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/20.jpg)
Provisioning
http://www.avclub.com/articles/foxs-junior-masterchef-to-find-newer-younger-chefs,97622/
Chef
Ansible
Puppet
Tuesday, October 8, 13
![Page 21: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/21.jpg)
Provisioning
http://www.avclub.com/articles/foxs-junior-masterchef-to-find-newer-younger-chefs,97622/
Chef
Ansible
Puppet
Salt
Tuesday, October 8, 13
![Page 22: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/22.jpg)
Provisioning
http://www.avclub.com/articles/foxs-junior-masterchef-to-find-newer-younger-chefs,97622/
Chef
Ansible
Puppet
Salt
Fabric
Tuesday, October 8, 13
![Page 23: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/23.jpg)
Further Reading Provisioning
• Managing LAMP environments with Chef, Vagrant, and EC2 - http://bit.ly/grimeychef
• Vagrant, Docker and Ansible - http://devo.ps/blog/2013/09/25/vagrant-docker-and-ansible-wtf.html
• Distributed Architecture Faking - http://bit.ly/vagranthosts
Tuesday, October 8, 13
![Page 24: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/24.jpg)
Further Reading Provisioning
• Chef Knife EC2 - https://github.com/opscode/knife-ec2
• Chef Data Bags - http://docs.opscode.com/essentials_data_bags.html
Tuesday, October 8, 13
![Page 25: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/25.jpg)
Environments
Copyright 2010 Mars Institute
Tuesday, October 8, 13
![Page 26: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/26.jpg)
Environments
Copyright 2010 Mars Institute
• Dev: All the roles
Tuesday, October 8, 13
![Page 27: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/27.jpg)
Environments
Copyright 2010 Mars Institute
• Dev: All the roles• Testing: Most of the roles
Tuesday, October 8, 13
![Page 28: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/28.jpg)
Environments
Copyright 2010 Mars Institute
• Dev: All the roles• Testing: Most of the roles• Staging: Specific Roles
Tuesday, October 8, 13
![Page 29: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/29.jpg)
Environments
Copyright 2010 Mars Institute
• Dev: All the roles• Testing: Most of the roles• Staging: Specific Roles
• Production: Same as Staging
Tuesday, October 8, 13
![Page 30: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/30.jpg)
http://upload.wikimedia.org/wikipedia/commons/c/cd/Valet_Ferrari.png
Background Jobs
Tuesday, October 8, 13
![Page 31: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/31.jpg)
Logging
http://www.ardentreefarms.com/logging/
Tuesday, October 8, 13
![Page 32: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/32.jpg)
Monitoring
http://upload.wikimedia.org/wikipedia/commons/0/0f/Kinemetrics_seismograph.jpg
Tuesday, October 8, 13
![Page 33: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/33.jpg)
Further Reading Monitoring
• Logstash - http://logstash.net/docs
• Measure Anything, Measure Everything - http://bit.ly/16tXgPL
• Introducing Graphiti - http://bit.ly/1fdOSsA
• Stuff it, buy NewRelic - http://newrelic.com/
Tuesday, October 8, 13
![Page 34: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/34.jpg)
@grmpyprogrammer
Tuesday, October 8, 13
![Page 35: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/35.jpg)
Jenkins
Tuesday, October 8, 13
![Page 36: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/36.jpg)
Further ReadingJenkins
• Template for Jenkins Jobs for PHP Projects - http://jenkins-php.org/
• From Zero to Jenkins - http://programmingarehard.com/2013/09/26/zero-to-jenkins.html
Tuesday, October 8, 13
![Page 37: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/37.jpg)
http://onecharmingparty.com/2010/05/05/mad-scientist-party-first-5-experiments/
Experiment
Tuesday, October 8, 13
![Page 38: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/38.jpg)
Questions?
Tuesday, October 8, 13
![Page 39: Become Master of Your Own Universe - DIBI 2013](https://reader038.fdocuments.us/reader038/viewer/2022103113/554a0f60b4c905825d8b490c/html5/thumbnails/39.jpg)
Thanks!
@philsturgeon
http://philsturgeon.co.uk/
https://github.com/philsturgeon
http://lanyrd.com/2013/dibi2013/scqxfx/
Tuesday, October 8, 13