Dealing with load spikes and resource optimization in the cloud
Until now we have seen how to scale a RabbitMQ cluster manually, but in some cases it's necessary to automate this process. A typical use case is to manage load spikes automatically.
In this recipe we will see how to create an auto-scaling RabbitMQ cluster using AWS auto-scaling (http://aws.amazon.com/autoscaling/). Currently, AWS auto-scaling is only available using AWS command-line tools. In this recipe we have used AWS Java command-line tools (http://aws.amazon.com/developertools/351).
The auto-scaling web interface has become available after the chapter has been written. You can find the documentation at http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/GettingStartedTutorial.html ...