Auto Scaling Tomcat Web Servers on your laptop
Run Cloudify scaling rules demo on your laptop (linux / windows / mac):
1. Download and unzip cloudify http://www.gigaspaces.com/cloudify-download
2. Start ./bin/cloudify.sh (bin\cloudify.bat on windows)
3. Run the following commands to install the petclinic-simple example:
bootstrap-localcloud
install-application ../recipes/apps/petclinic-simple
4. Browse to http://localhost:8099/ login to the Cloudify Management Center. Select the Applications tab. Select the petclinic application from the drop-list.
5. Browse to http://localhost:8080/petclinic Hold F5 (refresh key) to generate traffic for about 5 seconds.
6. Switch to the Cloudify Management Center tab and notice how the number of petclinic service instances increases from 1 to 2
7. Wait another 20 seconds and notice how when the traffic stops, the instance count drops back to 1
8. When you are done, run the following commands:
uninstall-application petclinic
teardown-localcloud
For more information see the quickstart guide and scaling rules page
















