I have a project running in Elastic Beanstalk with RDS for PostgreSQL and an EC2 instance running in the same environment in the same region.
In my db I have SQL quer