Systems Manager Flashcards
1
Q
Role of Systems Manager’s Default Host Management Configuration (DHMC)
A
Automatically passes the “AmazonSSMManagedInstanceCore” Role to the EC2 Instance
Prerequisites:
Must be enabled per region
EC2 instances must have:
SSM Agent Installed
IMDSv2 Installed / Metadata enabled (In the “Advanced Details” section of “EC2 Launch”)
2
Q
What three things are necessary for an IAM User to use SSM Session Manager to connect to an EC2 Instance?
A
- Instance must have the SSM Agent installed
- Instance profile must have “AmazonSSMManagedInstanceCore” attached
- User must have permission to initiate a session. (Such as ssm:startsession)
3
Q
Two ways to connect to an instance in a PRIVATE SUBNET using SSM Session Manager
A
Instance —–> Nat Gateway ——–> Internet Gateway
Instance ——> VPC Interface Endpoint
4
Q
A