LATEST VERSION: 1.10 - CHANGELOG
Pivotal Cloud Foundry v1.10

Managing Apps and Service Instances Using Apps Manager

Page last updated:

This topic discusses how to view and manage apps and service instances associated with a space using Apps Manager.

To perform the following steps, log in to Apps Manager with an account that has adequate permissions. See the Understanding Permissions topic for more information.

Manage an App

On the space page, click the app you want to manage. This directs you to the app page, where you can scale apps, bind apps to services, manage environment variables and routes, view logs and usage information, start and stop apps, and delete apps.

App page

Start or Stop an App

  1. To stop an app, click the stop button next to the name of the app. Click Stop in the pop-up to confirm.
  2. To restart a stopped app, click the play button next to the name of the app.
  3. To restart a running app, click the restart button next to the name of the app. Click Restart in the pop-up to confirm.

Scale an App

Note: You can configure your app to scale automatically based on rules that you set. See the Scaling an Application Using Autoscaler topic for more information.

  1. Under Scaling, adjust the number of Instances, the Memory Limit, and the Disk Limit as desired.
  2. Click Scale App.

Bind or Unbind a Service

  1. Click Services.
  2. To bind your app to a service, click Bind a Service. Bound services
  3. To bind your app to an an existing service instance, choose the service instance from the dropdown menu, and click Bind. To bind your app to a new service instance, click Go to the Marketplace to choose a service from the Marketplace.
  4. To unbind your app from a service instance, locate the service instance in the Bound Services list and click the three-dot icon on the far right. Select Unbind from the dropdown menu.

Map or Unmap Routes

  1. Click Routes.
  2. The page displays the routes associated with the app. To add a new route, click Map a Route. Routes
  3. Enter the route and click Map.
  4. To unmap a route, locate the route from the list and click the red x. Click Unmap in the pop-up to confirm.

View Logs

  1. Click Logs to view the logs for the app. Logs
  2. Click the play button to view a live version of the logs.

View Tasks

  1. Click the Tasks tab within Apps Manager.
  2. This page displays a table containing Task ID, State, Start Time, Task Name, and Command. Task window resize

Run a Task

  1. Click Run a Task to create a task.
  2. (Optional) Enter a Task Name.
  3. Enter the Task Command. Run task

View Settings

Click the Settings tab. In this tab you can do the following:

  • Rename the app.
  • View or add Environment Variables associated with the app.
  • View the Application Security Groups (ASGs) associated with the app.
  • Delete the app.

Apps man settings

View or Add Environment Variables

Follow the procedure below to add a user-provided environment variable:

  1. Click the Settings tab.
  2. Click Reveal User Provided Env Vars.
  3. Enter the Name and Value of the variable.
  4. Click Save. User env vars

To view a user-provided environment variable, click Reveal Env Vars. Env vars

Note: Changes to environment variables, service bindings, and service unbindings require restarting the app to take effect. You can restart the app from the Apps Manager or with the Cloud Foundry Command Line Interface cf restage command.

Manage a Service Instance

On the space page click Services, then click the service instance you want to manage. This directs you to the service instance page, where you can bind or unbind apps, view or change your service plan, manage service keys, and rename or delete your service instance.

For services that use on demand brokers, the service broker will create, update, or delete the service instance in the background and notify you when it finishes.

Bind or Unbind an App

Follow the steps below to bind or unbind an app.

Services binding

  1. Click Edit Bindings.

  2. Select the checkbox for the apps you want to bind to or unbind from your service instance.

  3. Click Save.

View or Change Your Service Plan

Follow the steps below to view or change your service plan.

  1. Click Plan.

    Services plan

  2. Review your current plan information.

  3. To change your plan, select a new plan from the list and click Select this plan.

Note: Not all services support upgrading. If your service does not support upgrading, the service plan page only displays the selected plan.

Rename or Delete Your Service Instance

Follow the steps below to rename or delete your service instance.

  1. Click Settings.

    Services settings

  • To change the service instance name, enter the new name and click Update.

  • To add configuration parameters to the service instance, enter the parameters in the Name and Value fields, then click Update.

  • To delete the service instance, click Delete Service Instance.

Note: The service broker supports creating, updating, and deleting service instances asynchronously. When the service broker completes one of these operations, a status banner appears in Apps Manager.

Update Your User-Provided Service Instance

Follow the steps below to update an existing user-provided service instance. You can create a user-provided service instance from the Marketplace. For more information, see the User-Provided Service Instances topic.

  1. Click Configuration. This tab only appears for user-provided service instances. Config user provided
  2. Enter your Credential Parameters, Syslog Drain Url, and Route Service Url, and click Update Service.

Manage Service Keys

On the space page, click Services, then click the service instance that you want to manage service keys for. This directs you to the service instance Overview page, where you can generate a new service key, get the credentials for a service key, and delete a service key.

Keys list

Generate a Service Key

Follow the steps below to generate a service key.

  1. In the Service Key Credentials section, click Create Service Key.

  2. Edit the Service Key Name.

    Keys create

  3. (Optional) Click Show Advanced Options. Under Arbitrary Parameters, enter any additional service-specific configuration in the Name and Value fields.

    Keys create adv

  4. Click Create to generate the service key.

View Credentials for a Service Key

Follow the steps below to view the credentials for a service key.

  1. To view the credentials for a particular service instance, click the service instance name under Service Key Credentials. The JSON object containing the credentials appears.

    Keys creds

  2. Click Close.

Delete Service Key

To delete a service key, click the red X next to the service instance name. Keys delete

Create a pull request or raise an issue on the source for this page in GitHub