Summary
In this chapter, we learned how to efficiently manage infrastructure by using code. We first learned about CloudFormation, a service from AWS that lets you create templates for your different services to describe each AWS component used and it's configuration. In order to simplify the creation of those templates, we looked at a couple of options ranging from CloudFormation designer, a tool with a graphic user interface, to Troposphere, a Python library. After that, we looked at configuration management, one of the most well-known aspects of the DevOps philosophy. To illustrate this topic, we looked at Ansible, one of the most popular configuration management solutions. We first looked at the different ways to use Ansible
commands and ran simple commands against our infrastructure. We then looked at how to create playbooks, which allowed us to orchestrate the different steps to deploy our web server. Finally, we looked at how Ansible can be used in pull mode, which usually makes more...