Configuration Management

Configuration management involves modifying servers from an existing state to a desired state and automating how an application is deployed.

Configuration management tools

Numerous tools exist to modify server state in a controlled way, including Puppet, Chef, SaltStack, and Ansible. Puppet and Chef are written in Ruby, while SaltStack and Ansible are written in Python.

Ad hoc tasks

Configuration management tools such as Chef, Puppet, Ansible, and SaltStack are not useful for performing ad hoc tasks that require interactive responses. Fabric and Invoke are used for interactive operations, such as querying the database from the Django manage.py shell.

Configuration management tool comparisons

Ansible configuration management

Ansible is an open source configuration management and application deployment tool built in Python.

Ansible Resources

Application dependencies learning checklist

  1. Learn about configuration management in the context of deployment automation and infrastructure-as-code.

  2. Pick a configuration management tool and stick with it. My recommendation is Ansible because it is by far the easiest tool to learn and use.

  3. Read your configuration management tool's documentation and, when necessary, the source code.

  4. Automate the configuration management and deployment for your project. Note that this is by far the most time consuming step in this checklist but will pay dividends every time you deploy your project.

  5. Hook the automated deployment tool into your existing deployment process.

自动化应用配置后的下一步是什么?

我可以自动为我的应用程序进行测试和部署吗?

我想通过网络分析了解有关应用用户的更多信息。

如何将现有 Web API 集成到我的应用程序中?

Sign up for a monthly email with Full Stack Python tutorials. No spam ever.