AWS CloudFormation

CloudFormation supports two standard formats, JSON and YAML. Personally I find YAML cleaner. YAML is a full serialization language with robust features and it also supports comments.  We will use the YAML format for the following examples. For a quick reference to YAML format use this repo. It is a good idea to use a text editor; let's learn the hard way and use a simple text editor to learn pragmatically by doing lots of templates. Atom and Sublime Text are good editors. For YAML, the spacing convention is important and these editors will help you to do it easily.

To get started let's create the simplest template possible, s3-bucket.yaml ( ...

Get AWS Certified Solutions Architect - Associate Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.