Summary
There are many configuration management and provisioning tools available for automating our infrastructure builds. In this chapter, we took a look at Terraform, and then we even combined it with Ansible, which we were already using. Using Terraform, we were able to automate the creation of an EC2 instance in AWS, along with a security group to control how it can be accessed. Terraform itself is a very large subject, and the concepts contained in this chapter are only the beginning. There's so much more you can do with Terraform, and I highly recommend you keep practicing with it and coming up to speed.
In the next chapter, we're going to learn some methods we can utilize to add additional security to our Ubuntu servers. While no server is bulletproof, there's a basic level of security we can implement that will make it less likely for our server to be compromised. It will be a very important chapter, so you won't want to miss it.