Tooluck logoTooluck
SKILL.md

ec2

Agent skill fromitsmostafa/aws-agent-skills

AWS EC2 virtual machine management — instances, security groups, key pairs, AMIs, EBS volumes, Auto Scaling Groups, Spot Instances, Session Manager, placement groups, and instance lifecycle automation. Trigger on ANY of these, even when EC2 isn't named explicitly: - Launching or provisioning: "spin up a server", "create a VM", "new instance", "run-instances", mention of instance types (t3, m5, c5, r6, g5, p4d, t4g, c7g, etc.) - SSH / connectivity problems: "connection refused", "connection timed out", "permission denied publickey", "can't connect to my instance", "SSH not working" - Instance management: resize, stop, start, terminate, reboot, change instance type - Cost optimization: stop dev instances overnight, save money on EC2, spot vs on-demand, reserved instances - Auto Scaling: ASG, launch template, mixed instances policy, scale to zero, scheduled scaling - Spot Instances: spot fleet, spot interruption, capacity-optimized, price-capacity-optimized - AMIs and backups: create ima

How to install ec2

install ec2
# install the aws-agent-skills pack with the skills CLI
npx skills add itsmostafa/aws-agent-skills

# or add only this skill to Claude Code: copy the folder

skills/ec2/

# into

~/.claude/skills/ec2/ (all projects)

.claude/skills/ec2/ (one project)

skills/ec2/SKILL.md

MITFull file
1# AWS EC2
2
3Amazon Elastic Compute Cloud (EC2) provides resizable compute capacity in the cloud.
4
5**Advanced patterns** (Auto Scaling, Spot Fleets, Session Manager, Instance Connect, IMDS, Placement Groups, scheduled scaling): see [instance-management.md](instance-management.md).
6
7## Table of Contents
8
9- [Core Concepts](#core-concepts)
10- [Common Patterns](#common-patterns)
11- [CLI Reference](#cli-reference)
12- [Best Practices](#best-practices)
13- [Troubleshooting](#troubleshooting)
14- [References](#references)
15
16## Core Concepts
17
18### Instance Types
19
20| Category | Example | Use Case |
21|----------|---------|----------|
22| General Purpose | t3, m6i, t4g (Graviton) | Web servers, dev environments |
23| Compute Optimized | c6i, c7g (Graviton) | Batch processing, gaming |
24| Memory Optimized | r6i, r7g (Graviton) | Databases, caching |
25| Storage Optimized | i3, d3 | Data warehousing |
26| Accelerated | p4d, g5 | ML, graphics |
27
28Graviton (ARM) instances (t4g, m7g, c7g, r7g) are ~20% cheaper than x86 equivalents for the same performance — worth considering for new workloads.
29
30### Purchasing Options
31
32| Option | Description |
33|--------|-------------|
34| On-Demand | Pay by the hour/second |
35| Reserved | 1-3 year commitment, up to 72% discount |
36| Spot | Unused capacity, up to 90% discount — can be interrupted with 2-minute notice |
37| Savings Plans | Flexible commitment-based discount |
38
39### AMI (Amazon Machine Image)
40…

Excerpt shown under the repository's MIT license.

More skills in aws-agent-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates