Summary
In this chapter, we have taken our AWS deployment to the next level by creating and launching a highly available WordPress installation. By leveraging the various services offered by AWS, we engineered out any single points of failure regarding the availability of instances and our use of availability zones.
We also built logic into our playbook to use the same command to launch a new deployment or update the operating system on an existing one with a rolling deployment of new instance AMIs that contain our updated packages, leading to zero downtime during deployment.
While the WordPress deployment is as simple as possible, deploying the production-ready images would remain similar when using a more complicated application.
In our next chapter, we will look at moving from the public to the private cloud and how Ansible interacts with VMware.