Interview Prep/AWS/VPC and Networking

How would you give private instances access to AWS Systems Manager without NAT or public IPs?

IntermediateScenarioVPC and Networking
Answer

Situation read → SSM needs three interface endpoints in the VPC.

What I'd do →

  1. Create endpoints ssm, ssmmessages and ec2messages with private DNS enabled
  2. Attach an SG allowing 443 from the instance subnets
  3. Ensure the instance role has AmazonSSMManagedInstanceCore
  4. Test: instance appears in aws ssm describe-instance-information

Why → Instances reach SSM purely on the AWS backbone, shrinking attack surface.

Interview tip → Forgetting ssmmessages is the usual reason Session Manager fails.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking