Bastion host vs SSM Session Manager?
BeginnerConceptVPC and Networking
Answer
A bastion is a public EC2 you SSH through; it needs an open port, key management and patching. Session Manager uses the SSM agent over outbound HTTPS to the SSM service, requires no inbound ports or public IPs, authenticates through IAM, and logs sessions to CloudTrail, S3 or CloudWatch.
aws ssm start-session --target i-0abc123
For private instances you need NAT or the ssm, ssmmessages and ec2messages interface endpoints.
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