aws-containers / amazon-ecs-exec-checker

🚀 Pre-flight checks for ECS Exec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: Add check for SSM Session Manager connect to EC2

aiell0 opened this issue · comments

I recently ran into a case where I had all green checks using this script, but still could not docker exec into my container because the EC2 instance it was running on did not have egress connectivity for the SSM agent. Thus, I couldn't use session manager to log in to it. There should be more checks added to the EC2 case to see if it is running an AMI compatible for SSM and if it is, attempt to connect to it using the session manager plugin.