I am trying to set up session manager to connect to my instances, and I am facing an issue with instances that do not have public IP or EIP.
What I have done is created a role and attach the AmazonSSMManagedInstanceCore Policy.
When I launch an instance (Amazon 2 or Ubuntu) with public IP or EIP everything is ok, as soon as I attach the role it works.
But when I do not have Public IP or EIP I am not able to connect.
Any idea? Am I missing something?