Runtime coverage and troubleshooting for ECS-EC2 Bottlerocket
For Bottlerocket Amazon EC2 instances in Amazon ECS clusters, GuardDuty evaluates runtime coverage at the instance level. The GuardDuty security agent runs as a host container on Bottlerocket, rather than as an installed RPM or Debian package.
Bottlerocket Amazon EC2 instances appear under the EC2 instance runtime coverage tab. To review coverage statistics for your Bottlerocket instances, open the GuardDuty console, choose Runtime Monitoring in the navigation pane, and then choose the Runtime coverage tab. Under EC2 instance runtime coverage, you can view the coverage status of each instance and filter by account ID, agent version, or coverage status. For more information, see Reviewing coverage statistics.
Troubleshooting Bottlerocket ECS-EC2 runtime coverage issues
If the coverage status of your Bottlerocket Amazon EC2 instance is Unhealthy, you can view the reason under the Issue column.
The following table lists the issue types and the corresponding troubleshooting steps.
| Issue type | Issue message | Troubleshooting steps |
|---|---|---|
|
No Agent Reporting |
Waiting for SSM notification |
Receiving the SSM notification might take a few minutes. Make sure that your Bottlerocket instance is SSM managed. The SSM agent runs in the
Bottlerocket control container by default. Verify that the instance profile includes the
|
|
No Agent Reporting |
Not applicable |
Verify that the agent host container is enabled and running:
|
|
No Agent Reporting |
Not applicable |
Validate that the instance has network connectivity to the Amazon ECR endpoint and the GuardDuty VPC endpoint. If your instance runs in a private subnet, make sure you have configured VPC endpoints for both Amazon ECR and GuardDuty. |
|
No Agent Reporting |
Not applicable |
If your organization has a service control policy (SCP), confirm that the
permissions boundary allows the |
|
SSM Association Creation Failed |
GuardDuty SSM association already exists in your account. |
|
|
SSM Association Creation Failed |
Your account has too many SSM associations. |
Choose one of the following two options:
|
|
SSM Association Update Failed |
GuardDuty SSM association does not exist in your account. |
GuardDuty SSM association is not present in your account. Disable and then re-enable Runtime Monitoring. |
|
SSM Association Deletion Failed |
GuardDuty SSM association does not exist in your account. |
The SSM association is not present in your account. If the SSM association was deleted intentionally, then no action is needed. |
|
SSM Instance Association Execution Failed |
Architectural requirements or other prerequisites are not met. |
For information about verified requirements, see Prerequisites for ECS-EC2 Bottlerocket support. If you still experience this issue, check the SSM State Manager execution history:
|
|
Agent disconnected |
Not applicable |
|
|
Agent Not Provisioned |
Instances with exclusion tags are excluded from Runtime Monitoring. |
GuardDuty doesn't receive runtime events from Amazon EC2 instances that are launched with
the exclusion tag To receive runtime events from this instance, remove the exclusion tag. |
|
Agent Not Provisioned |
Kernel version is lower than the supported version. |
Update to the latest Bottlerocket ECS-2 or ECS-3 optimized AMI |
|
ECR Image Pull Failed |
The agent container image could not be pulled from Amazon ECR. |
|