Managed-node prerequisites
Session Manager works with supported Systems Manager managed nodes and the SSM Agent. The node needs suitable IAM permissions and connectivity to required service endpoints. Service requirements vary by Region and agent version; use current prerequisite documentation rather than assuming one fixed endpoint list works forever. A private EC2 node can use appropriate VPC endpoints or a reviewed outbound path; merely attaching an instance role while leaving no route to Systems Manager endpoints does not make the node available for sessions. Prerequisite tracing makes private access diagnosable and avoids adding public SSH as the first response to a node that is offline because its agent, role or outbound service connection is incomplete. Opening inbound port 22 does not repair missing Systems Manager connectivity; inspect managed-node status, agent and service endpoint reachability before changing an unrelated remote-access method or exposing the private instance.
A private EC2 node can use appropriate VPC endpoints or a reviewed outbound path; merely attaching an instance role while leaving no route to Systems Manager endpoints does not make the node available for sessions.
Prerequisite tracing makes private access diagnosable and avoids adding public SSH as the first response to a node that is offline because its agent, role or outbound service connection is incomplete.
Opening inbound port 22 does not repair missing Systems Manager connectivity; inspect managed-node status, agent and service endpoint reachability before changing an unrelated remote-access method or exposing the private instance.