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

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:

主站蜘蛛池模板: 赫章县| 宜都市| 昌乐县| 毕节市| 襄樊市| 和田市| 始兴县| 吉木萨尔县| 湘西| 昭通市| 明溪县| 铜川市| 新民市| 泸溪县| 栾城县| 麻阳| 玉龙| 工布江达县| 安徽省| 水富县| 皋兰县| 金寨县| 阿拉善左旗| 永宁县| 孟津县| 顺昌县| 南雄市| 郧西县| 保康县| 青州市| 稻城县| 岑巩县| 阜康市| 台北县| 周至县| 茶陵县| 海阳市| 吉水县| 庐江县| 唐山市| 沅江市|