Configuring PostgreSQL on Cloud Foundry

For persistence support with the monitoring application, you can also configure PostgreSQL with user-provided service.

Creating User Provided Service for PostgreSQL

Procedure

  • Run the following command to create the user provided service.
    cf cups <service_instances_name> -p "db_url,db_username,db_password"
    Note: Define the <SERVICE_INSTANCE_NAME> as bwcemon_postgres.
    PostgreSQL is now configured with the user provided service on the Cloud Foundry environment.