Managing application life cycles

Another really helpful feature provided by Pivotal Web Services is the ability to manage an application's life cycle. In other words, we can easily stop, start, and restart an application with just one click. Before executing the requested command, you will be prompted for confirmation, as shown in the following screenshot:

The same result can be achieved by running one of the following CLI commands:

$ cf stop <app-name>$ cf restart <app-name>$ cf start <app-name>

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.