- 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
推薦閱讀
- 嵌入式系統應用
- 3D Printing with RepRap Cookbook
- 協作機器人技術及應用
- 計算機網絡技術實訓
- Supervised Machine Learning with Python
- 塊數據5.0:數據社會學的理論與方法
- Learn CloudFormation
- 西門子變頻器技術入門及實踐
- 嵌入式GUI開發設計
- 工業機器人操作
- 手把手教你學Photoshop CS3
- 電氣控制及Micro800 PLC程序設計
- 計算機硬件技術基礎(第2版)
- DynamoDB Applied Design Patterns
- SketchUp 2014 for Architectural Visualization(Second Edition)