Questions tagged [aws-session-manager]
3 questions
1
vote
1 answer
Can't use execute-command --interactive in AWS CLI session manager
I'm trying to use the AWS cli + session manager plugin to get into a database container to run some migrations, and I am struggling to get it working. I'm trying to use the following command:
aws ecs execute-command --cluster {cluster} --task…
![](../../users/profiles/600082.webp)
HDuck
- 113
- 4
1
vote
1 answer
How to restrict AWS SSM access by EC2 tag
https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html#awssystemsmanager-policy-keys
I cant find an answer that clears this up for me
Im looking at this example:…
![](../../users/profiles/152514.webp)
red888
- 4,069
- 16
- 58
- 104
0
votes
0 answers
How do I poll for when the ssm agent is started and session manager can connect for newly created instances?
I use SSM to connection to windows ec2 instances with the cli: aws ssm start-session --target
It takes the ssm service on a windows instance a few mins to start sometimes
I can check when its done initializing like this aws ec2 wait…
![](../../users/profiles/152514.webp)
red888
- 4,069
- 16
- 58
- 104