Try PCF on the Public Cloud
15-minute tutorial for learning Pivotal Cloud Foundry app deployment concepts
Scale the App
Increasing the available disk space or memory can improve overall app performance. Similarly, running additional instances of an app can allow an app to handle increases in user load and concurrent requests. These adjustments are called scaling.
Scaling your app horizontally adds or removes app instances. Adding more instances allows your application to handle increased traffic and demand.
Increase the number of app instances from one to two:
cf scale cf-spring -i 2
Check the status of the app and verify there are two instances running:
cf app cf-spring
Scaling your app vertically changes the disk space limit or memory limit for each app instance.
Increase the memory limit for each app instance:
cf scale cf-spring -m 1G
Decrease the disk limit for each app instance:
cf scale cf-spring -k 512M