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 →
- Create endpoints
ssm,ssmmessagesandec2messageswith private DNS enabled - Attach an SG allowing 443 from the instance subnets
- Ensure the instance role has
AmazonSSMManagedInstanceCore - 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.
More on VPC and Networking
What is a VPC and what are the CIDR constraints?BeginnerWhat makes a subnet public or private?BeginnerHow do route tables work, including the local route and longest-prefix match?IntermediateInternet Gateway vs NAT Gateway: what does each do?BeginnerNAT Gateway vs NAT instance?IntermediateSecurity group vs network ACL: compare them.Beginner