Our last example consists of a three tier web app that incorporates multiple concepts that were addressed in this chapter. To demonstrate this functionality, we will use the OpsWorks VPCELB template. Several templates grouped by category can be viewed from the following documentation page: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/sample-templates-services-us-west-2.html#w2ab1c23c48c13c25.
AWS OpsWorks is a configuration management service that works with Chef and Ansible. Choose the basic AWS OpsWorks stack to create the EC2 instances layer and deploy a PHP application.
When the application is fully deployed, navigate to the OpsWorks menu in the AWS console and click on Go to my stacks. Here we can see CloudFormation has created the OpsWorks stack and deployed the application.
Use the ELB link to navigate to your web app, as shown in...