teluzia.Cloud Engineer · Day 48
CHAPTER 07 · AWS VPC AND NETWORKING

Session Manager/private access and architecture lab

4–5 hours including independent practice3 topics
LET’S MAKE THIS SIMPLE

What you’re learning today

Design administration for private instances using Session Manager rather than exposing SSH. Session Manager requires a managed node, agent, identity permissions and a working service network path. Your integrated diagram will connect those prerequisites and distinguish session authorization from the application’s own AWS permissions. 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. The human operator needs authorization to start a session to the intended node, and the node needs permissions to communicate with Systems Manager. Those are different principals. Application API permissions belong to the workload role contract, not automatically to the human session operator. Session preferences can define encryption and audit behavior.

Think of it this way

Session Manager is a controlled service-mediated maintenance channel; the machine still needs an agent, credentials and a route to the maintenance service.

TOPIC 01 / 03Step by step

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.

WORKED EXAMPLE
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.
Why this matters

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.

A common trap

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.

Read all topics in this lesson

A complete reference to revisit alongside the guided steps above.

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.

WORKED EXAMPLE
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.

Why this matters

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.

A common trap

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.

Operator and node permissions

The human operator needs authorization to start a session to the intended node, and the node needs permissions to communicate with Systems Manager. Those are different principals. Application API permissions belong to the workload role contract, not automatically to the human session operator. Session preferences can define encryption and audit behavior. A reviewer can verify operator StartSession scope separately from the instance profile; a node that is online can still reject a particular user who is not authorized to start a session under the configured identity policy. Separate principal checks prevent overprivileging either side and make an authorization failure distinguishable from an unreachable managed node, which produces a different symptom and requires a different repair path during a controlled access test. Granting the operator broad administrator rights to fix an offline node addresses the wrong principal; inspect which identity performs the failing request and keep node communication permissions distinct from human session authorization.

WORKED EXAMPLE
A reviewer can verify operator StartSession scope separately from the instance profile; a node that is online can still reject a particular user who is not authorized to start a session under the configured identity policy.

Why this matters

Separate principal checks prevent overprivileging either side and make an authorization failure distinguishable from an unreachable managed node, which produces a different symptom and requires a different repair path during a controlled access test.

A common trap

Granting the operator broad administrator rights to fix an offline node addresses the wrong principal; inspect which identity performs the failing request and keep node communication permissions distinct from human session authorization.

Private architecture and audit limits

A private administration design includes route tables, endpoints or egress, endpoint security groups, IAM and agent status. Session Manager supports controlled access without inbound SSH, but logging capabilities depend on session type and preferences. Port-forwarding or SSH-through-session traffic has different content-logging limitations from ordinary shell sessions. An architecture can allow node-to-endpoint HTTPS and deny inbound SSH, while recording supported session events; do not promise that port-forwarded application payloads are captured as complete shell-session logs merely because Session Manager carries the tunnel. Accurate audit expectations help design accountability without overstating visibility, and a complete private-path diagram explains how maintenance stays reachable when direct internet ingress is absent from the instance’s security rules and address configuration. Assuming every Session Manager session type records full command content overlooks documented tunnel limitations; match session type, logging configuration and compliance expectations before relying on a generic claim that all activity is automatically preserved.

WORKED EXAMPLE
An architecture can allow node-to-endpoint HTTPS and deny inbound SSH, while recording supported session events; do not promise that port-forwarded application payloads are captured as complete shell-session logs merely because Session Manager carries the tunnel.

Why this matters

Accurate audit expectations help design accountability without overstating visibility, and a complete private-path diagram explains how maintenance stays reachable when direct internet ingress is absent from the instance’s security rules and address configuration.

A common trap

Assuming every Session Manager session type records full command content overlooks documented tunnel limitations; match session type, logging configuration and compliance expectations before relying on a generic claim that all activity is automatically preserved.

KEEP THESE WITH YOU

Today’s takeaways

Verify agent, role and service connectivity.

Separate human and node authorization.

State audit limitations accurately.

CLOSE THE LOOP

Ready to complete this day?

Verify the practical steps and pass the knowledge check (at least two thirds correct).

Lab steps verifiedKnowledge check passed