LaunchKit · 2026
Back to Skills

aws-ecs-monitor

AWS ECS production health monitoring with CloudWatch.

0
1.6k downloads
by @briancolinger

Setup & Installation

openclaw skills install @briancolinger/aws-ecs-monitor

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install aws-ecs-monitor

Version History

v1.0.1Feb 19, 2026 - Version note by skill developer:

Fix security scan flags: declare runtime dependencies, document env vars and write paths

What This Skill Does

Monitors AWS ECS service health by running HTTP probes, checking ECS task counts, ALB target group status, and SSL certificate expiry. Pulls CloudWatch logs and categorizes errors by type — panics, OOM, timeouts, 5xx responses, and container restarts. When health checks fail, it can automatically trigger log analysis to identify the cause.

Combines HTTP health probes, ECS status, ALB target checks, SSL expiry, and CloudWatch log analysis in one workflow instead of navigating multiple AWS Console pages.

When to use it

  • Checking ECS service status after a failed deployment
  • Finding OOM or panic errors in container logs
  • Verifying SSL certificate expiry before renewal deadlines
  • Detecting repeated container restarts in production
  • Getting a cross-service error summary after an incident

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Why is my API returning 5xx errors?

AGENT
  1. 1Runs ecs-health.sh against the cluster to check ECS service status and ALB target group health
  2. 2Detects unhealthy targets and triggers auto-diagnose via cloudwatch-logs.sh
  3. 3Pulls CloudWatch logs for the failing service over the past 60 minutes
  4. 4Categorizes errors into types (http_5xx, timeout, connection_error, etc.) and filters out ALB health check noise
  5. 5Reports error counts per category and flags any container restarts
OUTPUT

Error breakdown showing 47 http_5xx responses, 3 connection_error entries, and 2 container restarts in the last hour

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

AWS account with an ECS clusterAWS CLI configured with credentials (access key or IAM role)IAM permissions: ecs:ListServices, ecs:DescribeServices, elasticloadbalancing:DescribeTargetGroups, elasticloadbalancing:DescribeTargetHealth, logs:FilterLogEvents, logs:DescribeLogGroups