官术网_书友最值得收藏!

Understanding sample application

Throughout the book, we will give examples of how to deploy an application on the infrastructure created by the Ansible playbooks. We have written a simple phone book application using Python's flask framework (http://flask.pocoo.org). The phone book application listens on port 8080 and we can use any browser to use the phone book. The app has two variations, one uses SQLite as a database whereas the other one uses MySQL. The application code remains the same, we have just used different databases to demonstrate the application running in a single compute instance and it running across multiple instances or even different components of a cloud provider.

The application code can be obtained from:

主站蜘蛛池模板: 云南省| 安陆市| 石楼县| 赤水市| 凤山市| 绿春县| 山东| 收藏| 城步| 万宁市| 新绛县| 弥渡县| 广昌县| 郁南县| 信宜市| 宽城| 施甸县| 枞阳县| 道孚县| 峨山| 柘城县| 松江区| 即墨市| 府谷县| 辽中县| 集贤县| 遂川县| 德清县| 旺苍县| 神木县| 广南县| 临桂县| 建阳市| 安达市| 同心县| 甘肃省| 莒南县| 新野县| 马边| 涟源市| 门源|