- Chef:Powerful Infrastructure Automation
- John Ewart Matthias Marschall Earl Waud
- 262字
- 2021-07-09 21:06:35
Deploying software with Chef
There are numerous benefits to deploying your software using Chef; the primary benefit is automation—the chef-client can be run periodically, and it can execute fully-automated deployments whenever changes are made to the source code repository. Additionally, Chef stores all your configuration data, so you can avoid storing sensitive secrets and hard-coding URLs or other dynamic data in your configuration. For example, if you have an application with a database pool, and you add a new database host to your pool, Chef can use a simple search to populate the list of hosts to include in the connection pool so that it is always up to date with your infrastructure.
However, deploying software with Chef does require some coordination between your application and Chef. You will need to maintain recipes required for deploying your application, and you will also want to use Chef as the authoritative source for your configuration data, which involves writing configuration templates. By using Chef to manage your deployments, you can also generate any configuration data needed to run your software based on your infrastructure configuration; in our case, a simple config.py
file for your web.py
application. This method can also be used to manage the database.yml
file (and any other YAML files) for Rails applications, the server.yml
file for a Dropwizard application, or any other configuration files needed to run your service.
- AutoCAD快速入門與工程制圖
- 來吧!帶你玩轉(zhuǎn)Excel VBA
- 觸控顯示技術(shù)
- Moodle Course Design Best Practices
- Mastering Game Development with Unreal Engine 4(Second Edition)
- 貫通Java Web開發(fā)三劍客
- RedHat Linux用戶基礎(chǔ)
- 和機器人一起進化
- 一步步寫嵌入式操作系統(tǒng)
- 運動控制系統(tǒng)(第2版)
- 空間機器人智能感知技術(shù)
- 新世紀(jì)Photoshop CS6中文版應(yīng)用教程
- 歐姆龍PLC應(yīng)用系統(tǒng)設(shè)計實例精解
- Hands-On Artificial Intelligence for Beginners
- 微機原理及接口技術(shù)