I have an instance in a private subnet and a security group that allows any inbound access. I can connect to it with Session Manager.
If I restrict inbound access to port 22 only I can no longer connect to it.
The documentation says "You can use this functionality to connect to managed nodes without opening inbound ports" and "You can close inbound ports on the node" but this doesn't seem to be true when I try it.
I'd like to restrict inbound traffic to a minimum but I can only connect if I leave it wide open. What inbound rules are needed to allow Session Manager connections?