My pain point . I have an Ec2 with Postgres installed(which is in private subnet), everything is working fine. All member can connect to DB only when they are in the DEV cluster (I mean same CIDR, security group is designed to get traffic only from that CIDR). The problem here is I wanted to get connection locally. I cannot alter the security group. Intially I planned to create an public Network load balancer and make the ec2 as target with port 5432 and installed apache2 for health check (200 success as health). But still unable to connect that Ec2 machine. Can anyone advice the best practise.
As per our policy only HTTPS port can be opened