- Chef:Powerful Infrastructure Automation
- John Ewart Matthias Marschall Earl Waud
- 139字
- 2021-07-09 21:06:35
Modeling a simple Python application
Here we will consider a web.py
application that has two primary components: a web server and a database server. We will provision one host for each role, bootstrap them, and deploy the software onto our new hosts.
Our application stack will consist of the following:
web.py
as our web framework- PostgreSQL for data storage
- EC2 for virtual hosts
We want to define two primary roles that represent our web server and our database server. In addition, we will construct a baseline role for all our servers that will supply any common data we need such as user accounts, SSH keys, network configuration data, shells, common utilities, libraries, and so on.
We will need to find or write cookbooks for the following components we will use:
- Python
- supervisord
- PostgreSQL
- User accounts
- Our custom web application
推薦閱讀
- 大學(xué)計算機(jī)信息技術(shù)導(dǎo)論
- 大數(shù)據(jù)導(dǎo)論:思維、技術(shù)與應(yīng)用
- 我的J2EE成功之路
- 基于LPC3250的嵌入式Linux系統(tǒng)開發(fā)
- 手把手教你玩轉(zhuǎn)RPA:基于UiPath和Blue Prism
- 來吧!帶你玩轉(zhuǎn)Excel VBA
- Visual Basic從初學(xué)到精通
- 大數(shù)據(jù)安全與隱私保護(hù)
- Salesforce Advanced Administrator Certification Guide
- 電氣控制與PLC原理及應(yīng)用(歐姆龍機(jī)型)
- MATLAB-Simulink系統(tǒng)仿真超級學(xué)習(xí)手冊
- 重估:人工智能與賦能社會
- Deep Learning Essentials
- 人工智能云平臺:原理、設(shè)計與應(yīng)用
- Flash 8中文版全程自學(xué)手冊