ec2 SKILL.md skillA

ec2 from itsmostafa/aws-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add itsmostafa/aws-agent-skills/ec2@git:20260512.f1c4cfb

Pins git:20260512.f1c4cfb in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
itsmostafa/aws-agent-skills
Path
skills/ec2/SKILL.md
Versions recorded
3
Latest version
git:20260512.f1c4cfb, committed May 12, 2026
First version recorded
Jan 7, 2026
Size
15,749 bytes
Repository stars
1,171
License
MIT

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…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AWS EC2

Amazon Elastic Compute Cloud (EC2) provides resizable compute capacity in the cloud.

**Advanced patterns** (Auto Scaling, Spot Fleets, Session Manager, Instance Connect, IMDS, Placement Groups, scheduled scaling): see [instance-management.md](instance-management.md).

## Table of Contents

- [Core Concepts](#core-concepts)
- [Common Patterns](#common-patterns)
- [CLI Reference](#cli-reference)
- [Best Practices](#best-practices)
- [Troubleshooting](#troubleshooting)
- [References](#references)

## Core Concepts

### Instance Types

| Category | Example | Use Case |
|----------|---------|----------|
| General Purpose | t3, m6i, t4g (Graviton) | Web servers, dev environments |
| Compute Optimized | c6i, c7g (Graviton) | Batch processing, gaming |
| Memory Optimized | r6i, r7g (Graviton) | Databases, caching |
| Storage Optimized | i3, d3 | Data warehousing |
| Accelerated | p4d, g5 | ML, graphics |

Graviton (ARM) instances (t4g, m7g, c7g, r7g) are ~20% cheaper than x86 equivalents for the same performance — worth considering for new workloads.

### Purchasing Options

| Option | Description |
|--------|-------------|
| On-Demand | Pay by the hour/second |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add itsmostafa/aws-agent-skills/ec2@sha256:6bbb52f0fbb3d180

The line at the top of this page pins the label git:20260512.f1c4cfb, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_lpgwbjqufmuwfkbh.svg)](https://markdownregistry.com/a/art_lpgwbjqufmuwfkbh)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Jan 7, 2026 and May 12, 2026, about one every 62 days.

versioncommittedcommitsizeaudit
git:20260512.f1c4cfb latest2026-05-12 f1c4cfb 15,749 BA view · diff
git:20260108.5b66f5c2026-01-08 5b66f5c 9,452 BA view · diff
git:20260107.9f6beaa2026-01-07 9f6beaa 9,360 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15749 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

itsmostafa/aws-agent-skills · 1,171 stars · license MIT · pushed 2026-10-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lpgwbjqufmuwfkbh
GET https://markdownregistry.com/api/v1/resolve?ref=itsmostafa/aws-agent-skills/ec2
GET https://markdownregistry.com/api/v1/blob/6bbb52f0fbb3d180056750d439a0222a82a29469b86e49023bf5bbd37ecaaf84

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from itsmostafa/aws-agent-skills

api-gateway SKILL.md skill
itsmostafa/aws-agent-skills · skills/api-gateway/SKILL.md · AWS API Gateway for REST and HTTP API management. Use when creating APIs, configuring integrations, setting up…
git:20260108.5b66f5c · audit A · 1,171 stars
bedrock SKILL.md skill
itsmostafa/aws-agent-skills · skills/bedrock/SKILL.md · AWS Bedrock foundation models for generative AI. Use when invoking foundation models, building AI applications…
git:20260915.698dd3a · audit A · 1,171 stars
cloudformation SKILL.md skill
itsmostafa/aws-agent-skills · skills/cloudformation/SKILL.md · AWS CloudFormation infrastructure as code for stack management. Use when writing templates, deploying stacks, managing…
git:20260108.5b66f5c · audit A · 1,171 stars
cloudwatch SKILL.md skill
itsmostafa/aws-agent-skills · skills/cloudwatch/SKILL.md · AWS CloudWatch monitoring for logs, metrics, alarms, and dashboards. Use when setting up monitoring, creating alarms…
git:20260915.932c43d · audit A · 1,171 stars
cognito SKILL.md skill
itsmostafa/aws-agent-skills · skills/cognito/SKILL.md · AWS Cognito user authentication and authorization service. Use when setting up user pools, configuring identity pools…
git:20260108.5b66f5c · audit A · 1,171 stars
dynamodb SKILL.md skill
itsmostafa/aws-agent-skills · skills/dynamodb/SKILL.md · AWS DynamoDB NoSQL database for scalable data storage. Use when designing table schemas, writing queries, configuring…
git:20260108.5b66f5c · audit A · 1,171 stars
ecs SKILL.md skill
itsmostafa/aws-agent-skills · skills/ecs/SKILL.md · AWS ECS container orchestration for running Docker containers. Use when deploying containerized applications…
git:20260915.284fb0d · audit A · 1,171 stars
eks SKILL.md skill
itsmostafa/aws-agent-skills · skills/eks/SKILL.md · AWS EKS Kubernetes management for clusters, node groups, and workloads. Use when creating clusters, configuring IRSA…
git:20260108.5b66f5c · audit A · 1,171 stars
eventbridge SKILL.md skill
itsmostafa/aws-agent-skills · skills/eventbridge/SKILL.md · AWS EventBridge serverless event bus for event-driven architectures. Use when creating rules, configuring event…
git:20260108.5b66f5c · audit A · 1,171 stars
iam SKILL.md skill
itsmostafa/aws-agent-skills · skills/iam/SKILL.md · AWS Identity and Access Management for users, roles, policies, and permissions. Use when creating IAM policies…
git:20260108.5b66f5c · audit A · 1,171 stars
lambda SKILL.md skill
itsmostafa/aws-agent-skills · skills/lambda/SKILL.md · AWS Lambda serverless functions for event-driven compute. Use when creating functions, configuring triggers, debugging…
git:20260108.5b66f5c · audit A · 1,171 stars
rds SKILL.md skill
itsmostafa/aws-agent-skills · skills/rds/SKILL.md · AWS RDS relational database service for managed databases. Use when provisioning databases, configuring backups…
git:20260108.5b66f5c · audit A · 1,171 stars

Every file in itsmostafa/aws-agent-skills

Browse by kind, by grade A, or by owner.