- AWS Administration Cookbook
- Lucas Chan Rowan Udell
- 141字
- 2021-07-09 18:18:26
YAML versus JSON
Up until recently, JSON was your only option. We'll actually encourage you to adopt YAML, and we'll be using it for all of the examples shown in this book. Some of the reasons are as follows:
- It's just nicer to look at. It's less syntax heavy, and should you choose to go down the path of generating your CloudFormation templates, pretty much every language has a YAML library of some kind.
- The size of your templates will be much smaller. This is more practical from a developer's point of view, but it also means you're less likely to run into the CloudFormation size limit on template files (50 KB).
- The string-substitution features are easier to use and interpret.
- Your EC2 UserData (the script that runs when your EC2 instance boots) will be much easier to implement and maintain.
推薦閱讀
- Unreal Engine:Game Development from A to Z
- 輕松學C#
- 3D Printing with RepRap Cookbook
- Learning Social Media Analytics with R
- B2B2C網上商城開發(fā)指南
- STM32嵌入式微控制器快速上手
- 工業(yè)機器人維護與保養(yǎng)
- Linux內核精析
- 學練一本通:51單片機應用技術
- 寒江獨釣:Windows內核安全編程
- Building Google Cloud Platform Solutions
- Mastering DynamoDB
- 軟件需求最佳實踐
- 深度剖析:硬盤固件級數據恢復
- 計算機導論:實訓篇(第2版)