Matteo
Matteo

Reputation: 35

Bind mongodb to spring application on bluemix

I deployed a Spring application to Bluemix and now I need to bind a mongoDB. I want to use Mongolab database, since the Mongolab service is no longer available on bluemix how can I bind my application to my database?

Thanks in advance

Upvotes: 1

Views: 161

Answers (2)

Umberto Manganiello
Umberto Manganiello

Reputation: 3233

You can alternatively use MongoDB by Compose. It is an IBM provided service, and it allows you to get quick support using :

  • the Support Widget. It is available from the user avatar in the upper right corner of the main Bluemix UI. After opening the support widget panel, select Get Help > Get In Touch, select the type of assistance you need, and then fill out the support form.

  • the Support Site 'Get Help' form. This form is available on a separate site that is made available for ticket submission when you cannot log into Bluemix and access the Support Widget. Go to http://ibm.biz/bluemixsupport and fill in the support request form.

Upvotes: 2

Crescenzo Migliaccio
Crescenzo Migliaccio

Reputation: 1249

To request a new service instance, you must use the Bluemix user interface or the cf command line interface.

If you want to use command line:

 cf create-service service_name service_plan service_instance

You can see all services and plans typing:

cf marketplace

and see the following command to bind the service instance to an application, where appname is the name of the application, and service_instance is the name of the service instance.

 cf bind-service appname service_instance

more information here: https://www.ng.bluemix.net/docs/services/reqnsi.html#req_instance

Upvotes: 0

Related Questions