Skip to Content

SAP Cloud Foundry bind AWS PostgreSQL to spring boot application

Hey guys,

i have tried many different things but I am not able to connect our spring boot application in SAP CF to an AWS PostgreSQL database.

My spring boot application connects to a PostgreSQL database in the AWS. From my local machine this works perfectly. When I deploy my application in a space on CF (we got a productive account - no trial) the connection runs into a timeout. I think that the problem is that I need to specify an outbound connection to the AWS.

Do I have to enter the outbound connection into the security group? Or how do I manage the firewall rule / connection to AWS DB?!

Our account does not include the PostgreSQL DB in CF that is why I need to connect to an AWS one.

Thank you very much in advance!

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.