The following are troubleshooting notes to help diagnose why you may be getting an error when using ECS Exec.
Verify using the Exec CheckerThe ECS Exec Checker script provides a way to verify and validate that your Amazon ECS cluster and task have met the prerequisites for using the ECS Exec feature. The ECS Exec Checker script verifies both your AWS CLI environment and cluster and tasks are ready for ECS Exec, by calling various APIs on your behalf. The tool requires the latest version of the AWS CLI and that the jq
is available. For more information, see ECS Exec Checker on GitHub.
execute-command
If a The execute command failed
error occurs, the following are possible causes.
The task does not have the required permissions. Verify that the task definition used to launch your task has a task IAM role defined and that the role has the required permissions. For more information, see ECS Exec permissions.
The SSM agent isn't installed or isn't running.
There is an interface Amazon VPC endpoint for Amazon ECS, but there isn't one for Systems Manager Session Manager.
Troubleshoot the Docker API error (500): devmapper in Amazon ECS
Troubleshoot Amazon ECS Anywhere issues
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4