I have a server in a private subnet in SG1, and I want to make a call to a load balancer in a public subnet in SG2.
I have my outbound rule set up on SG1 which allows traffic to SG2.
However, when I add a rule to allow Inbound traffic from SG2 that allows SG1 inbound, the request times out. If I add an open rule to SG2 the request work! I've also tried with the private IP address range, but that did not work.
How do I add a correct rule to the load balancer so that traffic is allowed from SG1, and I do not expose the security group to be publicly open?