Logo Ecs Operation Review

Ecs Operation Review

Tổ chức
aws-samples
ecs-operation-review

Thực hiện đánh giá có cấu trúc về mức độ xuất sắc trong vận hành Amazon ECS trên môi trường đang chạy (Fargate/EC2/Managed Instances/ECS Anywhere) và xếp hạng XANH/VÀNG/ĐỎ. Không dùng cho EKS/Kubernetes (dùng eks-operation-review). Đánh giá 8 lĩnh vực — cụm và năng lực, mạng, định nghĩa tác vụ, dịch vụ và độ an toàn khi triển khai (circuit breaker, blue/green, canary), tình trạng dịch vụ và tự động điều chỉnh quy mô (thời gian ân hạn, draining, cân bằng lại AZ), khả năng quan sát, trạng thái bảo mật và quy trình vận hành — tạo báo cáo xếp hạng kèm các hành động ưu tiên. Kích hoạt khi có yêu cầu như "kiểm toán môi trường ECS của tôi", "kiểm tra tình trạng ECS", "chấm điểm trạng thái ECS của tôi", "đánh giá dịch vụ ECS của tôi", "xếp hạng các cụm ECS của tôi XANH/VÀNG/ĐỎ", kể cả khi chỉ đánh giá một lĩnh vực. Để thiết kế Day-0, dùng ecs-architect; tăng cường bảo mật, dùng ecs-security; chi phí/TCO, dùng ecs-cost-intelligence; thiết kế khả năng quan sát, dùng ecs-observability; kỹ thuật CI/CD, dùng ecs-devops; chuyển nền tảng/tái cấu trúc, dùng ecs-modernize; kiểm kê chỉ đọc, dùng ecs-recon (các kỹ năng liên quan sẽ có khi sẵn sàng).

Add to TypingMind

Tổng quan

Nhà phát hànhaws-samples
Kho mãsample-apex-skills
Tên kỹ năngecs-operation-review
Sao
90
Bản fork
20
Tệp đi kèm
11
Giấy phépMIT-0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được aws-samples công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ecs Operation Review trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/aws-samples/sample-apex-skills/tree/main/skills/ecs-operation-review
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aws-samples/sample-apex-skills.git /tmp/sample-apex-skills
mkdir -p .claude/skills
cp -r /tmp/sample-apex-skills/skills/ecs-operation-review .claude/skills/ecs-operation-review
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ecs Operation Review trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ecs Operation Review ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ecs Operation Review với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

ECS Operation Review

This skill performs a structured, evidence-based operational-excellence assessment of a live Amazon ECS estate — clusters, capacity providers, services, task definitions, and their supporting AWS resources — and produces a rated report (GREEN / AMBER / RED / UNKNOWN / N/A) with prioritized, cited recommendations.

It is the umbrella Day-2 audit that walks the major domains of the Amazon ECS Best Practices Guide (ecs-best-practices.html). It is evaluative (it grades what exists), not generative — it does not design or build new environments, and it defers to the deep ECS skills for remediation depth rather than duplicating them (see "Defers to deep skills").

This skill is for Amazon ECS only. Skip it for EKS / Kubernetes estates — use eks-operation-review instead.

Scope & limitations (known blind spots)

This review is deliberately bounded. It does not currently assess, and should state as out-of-scope in the report:

  • Scheduled and standalone tasks — the audit enumerates workloads via list-services; EventBridge-scheduled tasks and one-off run-task workloads are not examined.
  • ECS Express Mode services — their ALB, security groups, and deployment config are auto-managed by AWS, so checks 2.2 / 4.x / 5.2 would mis-rate them. Mark N/A.
  • Windows and ECS Anywhere (EXTERNAL) workloads — several container-hardening and runtime-monitoring checks (3.x, 7.3, 7.4) assume Linux on Fargate/EC2 and would false-RED Windows or external tasks. Note their presence and mark the affected items N/A.
  • API throttling on large estates — when iterating over many services/task definitions, expect ECS API throttling; paginate and back off (see the pagination note in references/operational-processes.md).

State any of these that apply to the estate explicitly in the report's Scope block rather than silently omitting them.

When to use

Activate for any request to audit, review, health-check, or score an ECS estate's operational posture:

  • "Run an operational review on my ECS cluster / estate"
  • "ECS health check", "score my ECS posture", "GREEN/AMBER/RED my ECS services"
  • "Review my ECS deployment safety / capacity / networking / observability / security posture"
  • Section-scoped reviews of a single domain (e.g., "check my ECS capacity-provider scale-in", "review connection draining on my services", "audit my task-definition hygiene")

Don't use for (route elsewhere)

RequestRoute to
"Which launch type should I use — Fargate vs EC2 vs Managed Instances?", greenfield architecture/design/selectionecs-architect (Day-0 design; generative)
Read-only inventory / "what's in my estate" / discovery report before an auditecs-recon (discovery front door; until then inventory with aws ecs describe-*)
Deep security hardening, task/execution-role trust remediation, PCI/HIPAA/FedRAMP scopingecs-security
Dollar-quantified cost / TCO / Savings Plans / Spot / Graviton right-sizingecs-cost-intelligence
Designing the logs/metrics/traces stack (FireLens vs ADOT vs Datadog)ecs-observability
Building deployment pipelines / choosing rollout strategy / CI-CD engineeringecs-devops
Replatform vs refactor of an existing applicationecs-modernize

The deep ECS sibling skills named above (ecs-architect, ecs-recon, ecs-security, ecs-cost-intelligence, ecs-observability, ecs-devops, ecs-modernize) are part of the ECS skill family and may be rolled out over time; route to them by name where relevant, and if one is not yet available, note that and fall back to the AWS CLI / this skill's audit-depth guidance. General container questions, one-off aws ecs commands, and cluster creation should be handled directly without this skill.

Defers to deep skills

This review scores each domain at audit depth — enough to rate it and flag the top gaps — then hands off. When a finding warrants deeper work, name the sibling skill in the recommendation rather than reproducing its guidance here:

  • Security posture findings (Section 07) → ecs-security for role-trust hardening, secrets, compliance scope.
  • Cost / capacity-efficiency angles surfaced during the capacity review (Section 01) → ecs-cost-intelligence for $-denominated TCO.
  • Observability findings (Section 06) → ecs-observability for stack design.
  • Deployment / release-engineering findings (Section 04) → ecs-devops for pipeline and rollout-strategy design.

The review's own output is an assessment report. Acting on it (mutations, pipeline changes) is a separate, deliberate step the user chooses.

Access model — READ-ONLY

This skill is strictly read-only. It CAN issue read-only calls (aws ecs describe-*/list-*, sts get-caller-identity, application-autoscaling describe-*, autoscaling describe-*, cloudwatch describe-*, ec2 describe-*, ecr describe-*, iam get-*/list-*, elbv2 describe-*, logs describe-*, events list-*, backup list-*, guardduty list-*/get-*, service-quotas get-*/list-*) to discover estate state, and CAN write a markdown/HTML report to the workspace. It CANNOT mutate any resource (no create, update, delete, register, deregister, run-task, or scale operations). Operational reviews are discovery activities; remediation belongs to whatever path the user chooses afterward.

Prerequisites

  • AWS credentials with ECS read access (and read access to CloudWatch, ECR, IAM, ELBv2, Application Auto Scaling, GuardDuty for full coverage). ReadOnly/least-privilege credentials are preferred.
  • AWS CLI v2 configured with a default Region (aws configure get region).
  • Python 3.10+ for the optional HTML report conversion.
  • Optional: the Amazon ECS MCP server (preview) for richer live-estate inspection. If configured, its read tools may be used; the skill works fully with the AWS CLI alone. See ECS MCP server docs. The ECS MCP server is in preview and subject to change — do not depend on it; the AWS CLI is the reliable primary path.

Tool usage rules (invariants)

  1. Do NOT call any tools when this skill is first activated. Wait for the user to explicitly ask for a review.
  2. Do NOT hardcode or guess cluster/service names. Always discover them by listing first.
  3. Do NOT read config files as a connectivity "check". Verify access by making one real read call.
  4. Do NOT retry a failed call more than once. If it fails twice, mark the affected items UNKNOWN with the failure reason and continue.
  5. Always load the relevant references/ file before executing that section's checks.
  6. Never mutate. Only describe/list/get verbs. If a check would require a write, mark UNKNOWN and note it for manual investigation.
  7. Only rate on observed evidence. If a check returns no data, mark UNKNOWN — never assume.

Methodology

Step 0 — Pre-flight

Action 1 — List clusters.

aws ecs list-clusters --output json
  • Success → show the list. If one cluster, confirm: "I found one cluster: . Assess this one?" If many, ask which cluster(s) or whether to assess the whole estate.
  • Failure → STOP (do not retry more than once). Show:

    Cannot list ECS clusters. Check: (1) aws sts get-caller-identity, (2) aws configure get region, (3) that the credentials have ecs:ListClusters.

Action 2 — Describe the selected cluster(s).

aws ecs describe-clusters --clusters <name> --include SETTINGS CONFIGURATIONS TAGS STATISTICS ATTACHMENTS --output json

Show: cluster name, Region, account ID, status, registered capacity providers, default capacity-provider strategy, containerInsights setting, running/pending task counts, and tags.

Action 3 — Enumerate services and capacity providers (verifies read access).

aws ecs list-services --cluster <name> --output json
aws ecs describe-capacity-providers --output json
  • Success → proceed. Failure → mark the affected sections UNKNOWN and continue.

Action 4 — Confirm. Ask: "Ready to start the operational review on ( services)?" Proceed only after the user confirms.

Steps 1–8 — Run the assessment

For each domain, in section order, read the corresponding references/ file first, then execute its checks and rate each item with the rubric below. If a whole section fails (permissions, timeouts), mark all its items UNKNOWN with a note and continue — one failed section must not block the rest.

#SectionReference file
01Clusters & Capacity (scale-in correctness, Managed Instances, capacity-provider strategy)references/cluster-capacity.md
02Networking (awsvpc, ENI/SG-per-task, subnet IP capacity, VPC endpoints, Service Connect)references/networking.md
03Task Definitions (task size, images, volumes, log config, task/execution roles referenced)references/task-definitions.md
04Services & Deployment Safety (circuit breaker + rollback, native blue/green, canary/linear, min/max healthy %)references/services-deployment.md
05Service Health & Autoscaling (health-check grace period, LB health check, connection draining, service auto scaling, AZ rebalancing, placement)references/service-health-scaling.md
06Observability (Container Insights enhanced, FireLens/awslogs, retention, alerting, tracing)references/observability.md
07Security Posture (role trust & least privilege, secrets, container hardening, GuardDuty, ECR scanning)references/security-posture.md
08Operational Processes (IaC provenance/tagging, DR/backup, runbooks, on-call, Fargate task retirement)references/operational-processes.md

Section-scoped requests load only the matching file(s) and produce a focused report.

Step 9 — Generate the report

Read references/report-generation.md and follow it exactly. See references/scoring-rubric.md for the full rating rules and the mandatory consistency contract.

Rating rubric (summary)

RatingMeaning
🟢 GREENFully implemented — matches ECS best practices
🟡 AMBERPartial or inconsistent — improvement opportunity
🔴 REDNot implemented or significant gap — action needed
⬜ UNKNOWNCannot be determined from estate data — investigate manually
⚪ N/ACheck does not apply to this estate (compute model / architecture) — excluded from scoring and from Investigate Manually

Prioritize by blast radius: security > availability > cost. Every RED must carry a specific, cited, actionable recommendation. Full rules: references/scoring-rubric.md.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ecs Operation Review làm được gì?

Thực hiện đánh giá có cấu trúc về mức độ xuất sắc trong vận hành Amazon ECS trên môi trường đang chạy (Fargate/EC2/Managed Instances/ECS Anywhere) và xếp hạng XANH/VÀNG/ĐỎ. Không dùng cho EKS/Kubernetes (dùng eks-operation-review). Đánh giá 8 lĩnh vực — cụm và năng lực, mạng, định nghĩa tác vụ, dịch vụ và độ an toàn khi triển khai (circuit breaker, blue/green, canary), tình trạng dịch vụ và tự động điều chỉnh quy mô (thời gian ân hạn, draining, cân bằng lại AZ), khả năng quan sát, trạng thái bảo mật và quy trình vận hành — tạo báo cáo xếp hạng kèm các hành động ưu tiên. Kích hoạt khi có yêu...

Vì sao nên dùng Ecs Operation Review trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ecs Operation Review là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ecs Operation Review trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aws-samples/sample-apex-skills/tree/main/skills/ecs-operation-review. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ecs Operation Review?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ecs Operation Review với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ecs Operation Review với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ecs Operation Review có miễn phí không?

Có. Kỹ năng này được aws-samples phát hành trên GitHub theo giấy phép MIT-0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇