From the course: AWS for DevOps: Continuous Delivery and Process Automation

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using CloudFormation templates

Using CloudFormation templates - Amazon Web Services (AWS) Tutorial

From the course: AWS for DevOps: Continuous Delivery and Process Automation

Start my 1-month free trial

Using CloudFormation templates

- [Instructor] So I've been mentioning CloudFormation templates, and it's time to dig in. A key component of automation on the Amazon ecosystem is service configuration as code. Now, this can be handled in a number of ways. In production projects, I've actually used AWS CLI scripts to, for example, create EC2 instances, create lambda, so on and so forth, but this is really arduous 'cause you have to write the scripts manually. Wouldn't it be great if there was some sort of tool that could automatically generate an executable set of code or scripts? Well, that's what CloudFormation is for. Although it does take some time to figure out how to use it because it's complex and powerful, it is a key part of process automation, including CI/CD for Amazon. So how does it work? Well, you can see on the left we have a template and this happens to be in a code format called YAML. You can use YAML or JSON and these are just script notations. And on the right, you have a visual representation. So…

Contents