I have a springboot application which runs locally for now. But plans to move EC2 or ECS. I am trying to connect AWS RDS postgres from my springboot application. RDS postgres is in private VPC which have few security groups rule configured. So what configuration i need to do now to access AWS postgres from my local and also from EC2/ECS.
Note: when i try to connect with normal springboot datasource configuration with url, uname, password and drivername, i am getting error tomcat start up error mentioning having unsatisfied dependencies.