OpsWorks Part II: Databases and Scaling
Now that we have a functioning application stack, we can start to really build out the functionality. First and foremost, we must connect the application to a database, so we can start storing and retrieving content. Second, we will add a load balancer to our stack. Last, we will set up some auto-scaling behavior for our application, so that the app can scale up to meet increases in demand automatically, possessing elasticity.
You will recall from the previous chapter that an OpsWorks stack contains one or more layers within it. In Chapter 2, we created a single layer: the App Server. We will be ...