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-code

Installs 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

TypeDescriptionUse Case
FargateServerless, pay per taskMost workloads
EC2Self-managed instancesGPU, 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

More from itsmostafa/aws-agent-skills

All 18
1joelhooks avatarcli-designjoelhooks/joelclawDesign and build agent-first CLIs with HATEOAS JSON responses, context-protecting output, and self-documenting command trees. Use when creating new CLI tools, a149skills.sh installs
2NVIDIA avatardoca-setupNVIDIA/skillsUse this skill when the user is dealing with the DOCA environment around their workload — verifying an install is healthy, preparing the build env (pkg-config, 149skills.sh installs
3itsmostafa avatareksitsmostafa/aws-agent-skillsAWS EKS Kubernetes management for clusters, node groups, and workloads. Use when creating clusters, configuring IRSA, managing node groups, deploying applicatio148skills.sh installs
4xmanrui avataropenclaw-bot-dashboardxmanrui/openclaw-bot-dashboardLaunch and manage the OpenClaw Dashboard web UI for monitoring all your bots, agents, models, and sessions. Automatically detects OS, checks for updates, instal148skills.sh installs
5majesticlabs-dev avatargoogle-ads-strategymajesticlabs-dev/majestic-marketplaceBuild Google Ads campaign structures with keyword research, ad copy, audience targeting, and budget allocation. Use when planning paid search campaigns, setting146skills.sh installs
6mgratzer avatarbloomerymgratzer/bloomeryInteractive tutorial that guides engineers through building their own coding agent (agentic loop) from scratch using raw HTTP calls to an LLM API. Supports Gemi145skills.sh installs