mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-08 15:06:30 +02:00
separate section for server provisioning and added ansible & puppet
This commit is contained in:
@@ -36,20 +36,31 @@ There are many open source tools available to help you with build automation and
|
||||
|
||||
[Magallanes] another tool written in PHP with simple configuration done in YAML files. It has support for multiple servers and environments, atomic deployment, and have some built in tasks that you can leverage for common tools and frameworks.
|
||||
|
||||
[Chef] is more than a deployment framework, it is a very powerful Ruby based system integration framework that doesn't just deploy your app but can build your whole server environment or virtual boxes.
|
||||
|
||||
#### Chef resources for PHP developers:
|
||||
|
||||
* [Three part blog series about deploying a LAMP application with Chef, Vagrant, and EC2][chef_vagrant_and_ec2]
|
||||
* [Chef Cookbook which installs and configures PHP and the PEAR package management system][Chef_cookbook]
|
||||
* [Chef video tutorial series][Chef_tutorial]
|
||||
|
||||
#### Further reading:
|
||||
|
||||
* [Automate your project with Apache Ant][apache_ant_tutorial]
|
||||
* [Expert PHP Deployments][expert_php_deployments] - free book on deployment with Capistrano, Phing and Vagrant.
|
||||
* [Deploying PHP Applications][deploying_php_applications] - paid book on best practices and tools for PHP deployment.
|
||||
|
||||
### Server Provisioning
|
||||
|
||||
Managing and configuring servers can be a daunting task when faced with many servers. There are tools for dealing with this so you can automate your infrastructure to make sure you have the right servers and that they're configured properly. They often integrate with the larger cloud hosting providers (Amazon Web Services, Heroku, DigitalOcean, etc) for managing instances, which makes scaling an application a lot easier.
|
||||
|
||||
[Ansible] is a tool that manages your infrastructure through YAML files. It's simple to get started with and can manage complex and large scale applications. There is an API for managing cloud instances and it can manage them through a dynamic inventory using certain tools.
|
||||
|
||||
[Puppet] is a tool that has its own language and file types for managing servers and configurations. It can be used in a master/client setup or it can be used in a "master-less" mode. In the master/client mode the clients will poll the central master(s) for new configuration on set intervals and update itself if necessary. In the master-less mode you can push changes to your nodes.
|
||||
|
||||
[Chef] is a powerful Ruby based system integration framework that you can build your whole server environment or virtual boxes with. It integrates well with Amazon Web Services through their service called OpsWorks.
|
||||
|
||||
#### Further reading:
|
||||
|
||||
* [An Ansible Tutorial][an_ansible_tutorial]
|
||||
* [Ansible for DevOps][ansible_for_devops] - paid book on everything Ansible
|
||||
* [Ansible for AWS][ansible_for_aws] - paid book on integrating Ansible and Amazon Web Services
|
||||
* [Three part blog series about deploying a LAMP application with Chef, Vagrant, and EC2][chef_vagrant_and_ec2]
|
||||
* [Chef Cookbook which installs and configures PHP and the PEAR package management system][Chef_cookbook]
|
||||
* [Chef video tutorial series][Chef_tutorial]
|
||||
|
||||
### Continuous Integration
|
||||
|
||||
> Continuous Integration is a software development practice where members of a team integrate their work frequently,
|
||||
@@ -90,4 +101,9 @@ PHP.
|
||||
[Rocketeer]: http://rocketeer.autopergamene.eu/
|
||||
[Magallanes]: http://magephp.com/
|
||||
[expert_php_deployments]: http://viccherubini.com/assets/Expert-PHP-Deployments.pdf
|
||||
[deploying_php_applications]: http://www.deployingphpapplications.com
|
||||
[deploying_php_applications]: http://www.deployingphpapplications.com
|
||||
[Ansible]: https://www.ansible.com/
|
||||
[Puppet]: https://puppet.com/
|
||||
[ansible_for_devops]: https://leanpub.com/ansible-for-devops
|
||||
[ansible_for_aws]: https://leanpub.com/ansible-for-aws
|
||||
[an_ansible_tutorial]: https://serversforhackers.com/an-ansible-tutorial
|
Reference in New Issue
Block a user