Punter Vicky
Punter Vicky

Reputation: 16982

Cloud Foundry compatibility with DBs

I have a set of restful services connecting to Oracle , MySQL and Phoenix DBs. These are running on tomcat. I have to migrate these services to pivotal cloud foundry. Is it sufficient if I externalize the connection parameters potentially using cloud config server or env variables to connect to these databases or is there anything additional that I need to do? I assume any db which works with a java application deployed outside cloud foundry will work when the app is deployed to pivotal cloud foundry. Please correct me if my assumption is incorrect.

Upvotes: 1

Views: 195

Answers (1)

Corby Page
Corby Page

Reputation: 1405

You can certainly manage your connection parameters through Spring Cloud Config Server and connect that way.

An alternative approach would be to use User-Provided Service Instances: http://docs.pivotal.io/pivotalcf/devguide/services/user-provided.html

Some organizations might prefer this approach, because managing access to your databases may more closely align with platform operation responsibilities that code configuration responsibilities.

Upvotes: 1

Related Questions