
For more information about creating the assume role for Systems Manager Automation, see Task 1: Create a service role for Automation.
Note: If you don't specify an IAM role, then Systems Manager Automation uses the permissions of the IAM user or role that runs the runbook.
In the Input parameters section, for AutomationAssumeRole, enter the Amazon Resource Name (ARN) of the role that allows Systems Manager Automation to perform actions. For Execution automation document, be sure that Simple execution is selected. Note: Be sure that you select the radio button and not the hyperlinked automation name. Select the AWSSupport-TroubleshootECSContainerInstance card. Under Automation document, search for TroubleshootECSContainerInstance. In the navigation pane, under Change Management, choose Automation. Important: Use the AWSSupport-TroubleshootECSContainerInstance runbook in the same AWS Region where your ECS Cluster and EC2 instance are located. Are there any network configuration issues?. Does the instance profile contain the required permissions?. Does the user data for the instance contain the correct cluster information?.
With the AWSSupport-TroubleshootECSContainerInstance runbook, you can troubleshoot the EC2 instance that fails to register with the ECS cluster.