I have two kinds of instances: servers and workers.
I have two security groups - server_security_group and worker_security_group
Servers belong to the server_security_group, workers to worker_security_group
In server_security_group I have set an inbound rule to allow TCP on port 8000 to worker_security_group. (This appears to be understood by the security group as the name of the sg comes up in the inbound rule.)
However, workers are unable to access port 8000 on servers.
If I add an inbound rule to server_security_group to allow TCP on 8000 to specifically the IP address of one worker, then the worker has access.
Is there anything obvious I'm doing wrong? Thanks.
- The instances are not in the same VPC
- I've misunderstood which of the security groups I should be adding the incoming rule to
- Something else I'm missing
– Omroth Jun 06 '19 at 18:37