In this chapter, we focussed on how we can use Amazon Cloud Watch and Amazon Auto Scaling to add flexibility to our sample application Waaah. We implemented an autoscale group for both our web servers and application servers to allow our sample application to scale from two to four web servers and two to four application servers when the average CPU of the existing servers stayed above 80 percent for 120 seconds. Our Amazon Load Balancers handled the routing transparently and the implementation of Amazon Simple Notification Service alerts notified us of when autoscaling events occurred.
So now we have a flexible scalable implementation of our Waaah application with notification and performance monitoring built-in!
In the next chapter, we will be looking at how to test and maintain our application when it is hosted up on AWS.