Skills Explorer Add Skills

setting-up-ec2-instance-profiles

An agent skill by aws, from aws/agent-toolkit-for-aws. Tags: cloud, ec2, iam, security, setup.

What it does

Configures EC2 instances to securely call AWS services by creating and attaching IAM roles via instance profiles, eliminating hardcoded credentials. Use when an EC2 instance needs permissions to access AWS services like S3, DynamoDB, SQS, or CloudWatch through temporary credentials.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add aws/agent-toolkit-for-aws --skill setting-up-ec2-instance-profiles

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws
cp -r agent-toolkit-for-aws/skills/specialized-skills/ec2-skills/setting-up-ec2-instance-profiles ~/.claude/skills/setting-up-ec2-instance-profiles

Safety box score

Not rated yet. A safety box score grades what a skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. Anyone can request one from this page; it is saved for everyone. How the score works.

Source

Repository
aws/agent-toolkit-for-aws (all skills from this repository)
Path
skills/specialized-skills/ec2-skills/setting-up-ec2-instance-profiles/SKILL.md
Branch
main
Updated
2026-09-19