3. APIBEST www.apibest.com 3
Agenda
- How we start?
- Environment setup
- Environments
- Working with Git
- Highload & scalability
- Deploy automation
- Testing
- Continuous integration
- Monitoring
4. APIBEST www.apibest.com 4
Minimum Viable Product
Viable
Minimum
? Minimum - Crappy products.
Nobody wants to use
? Viable - products built by companies
better financed than you
? Minimum + Viable: good products
for startups to build
Minimum + Viable
15. APIBEST www.apibest.com 15
Deploy automation
site.yml # master playbook?
webservers.yml # playbook for webserver tier?
dbservers.yml # playbook for dbserver tier?
roles/?
common/ # this hierarchy represents a "role"?
tasks/ #?
main.yml # <-- tasks file can include smaller files if warranted?
handlers/ #?
main.yml # <-- handlers file?
templates/ # <-- files for use with the template resource?
ntp.conf.j2 # <------- templates end in .j2?
files/ #?
bar.txt # <-- files for use with the copy resource?
foo.sh # <-- script files for use with the script resource?
vars/ #?
main.yml # <-- variables associated with this role?
?
webtier/ # same kind of structure as "common" was above, done for the webtier
role?
monitoring/ # ""?
fooapp/ # ""
22. L i n k s
? http://nvie.com/posts/a-successful-git-branching-model/
? http://jenkins-php.org/
? http://www.slideshare.net/SimoneSoldateschi/ansible-crash-course-35783512
? http://codeception.com/11-20-2013/webdriver-tests-with-codeception.html
? https://github.com/Codeception/SeleniumEnv
? http://ruhighload.com/scale
? http://www.zabbix.com/ru/monitor_everything.php
? https://www.zabbix.org/wiki/Zabbix_Templates