Solid reference for running containers on AWS without managing servers. Covers the essentials like task definitions, Fargate vs EC2 launch types, and service configuration with load balancers. The Fargate Spot section is genuinely useful, it shows you how to cut costs by 70% on batch workloads with proper fallback to regular Fargate and includes the two minute SIGTERM warning detail. Also has practical autoscaling examples and the usual troubleshooting patterns. If you're deploying containers to AWS and want quick syntax for the CLI without digging through AWS docs, this gets you there.
- skills.sh installs
- 150
- GitHub stars
- 1.2K
- last updated
- Jun 8, 2026
Install
$ npx -y skills add itsmostafa/aws-agent-skills --skill ecs --agent claude-codeInstalls into .claude/skills of the current project.
Files
AWS ECS
Amazon Elastic Container Service (ECS) is a fully managed container orchestration service. Run containers on AWS Fargate (serverless) or EC2 instances.
Table of Contents
Core Concepts
Cluster
Logical grouping of tasks or services. Can contain Fargate tasks, EC2 instances, or both.
Task Definition
Blueprint for your application. Defines containers, resources, networking, and IAM roles.
Task
Running instance of a task definition. Can run standalone or as part of a service.
Service
Maintains desired count of tasks. Handles deployments, load balancing, and auto scaling.
Launch Types
| Type | Description | Use Case |
|---|---|---|
| Fargate | Serverless, pay per task | Most workloads |
| EC2 | Self-managed instances | GPU, Windows, specific requirements |
Common Patterns
Create a Fargate Cluster
AWS CLI:
# Create cluster
aws ecs create-cluster --cluster-name my-cluster
Sponsors
Details
- Repository
- github.com/itsmostafa/aws-agent-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Debugging, Automation & Workflows, Cloud & Infrastructure, Game Development
- License
- MIT
- First seen
- Jun 11, 2026
