/cf-scale-boot

Spring Boot CLI/Groovy application for demonstration of Cloud Foundry app instance scaling!

Primary LanguageGroovy

cf-scale-boot

Demonstrate application instance scaling on Cloud Foundry with this simple (one Groovy file, one HTML file) Spring Boot CLI application!

Running Locally

$ spring run app.groovy

Running on Cloud Foundry

The application requires the latest version of the Java Buildpack, so we’ll use that from GitHub.

$ spring grab app.groovy
$ cf push -m 512M -b https://github.com/cloudfoundry/java-buildpack cf-scale-boot

SCALE!

$ cf scale cf-scale-boot -i 1000

(or some reasonable number for your CF cloud!)

What you get:

screenshot