---
title: "Setting Up EC2 Instance Profiles - Air Market"
description: "Something running on an EC2 instance needs to reach another AWS service, and the quick way is to paste credentials onto the machine. This sets up the alternative: a role attached to the instance, so…"
canonical: "https://airmarket.ai/app/setting-up-ec2-instance-profiles"
---

[Air Market](/) / [Security](/category/security) / Setting Up EC2 Instance Profiles

Skill by [Amazon Web Services](/@aws)

# Setting Up EC2 Instance Profiles

Get keys out of your instance and still reach AWS services

## What this does

Something running on an EC2 instance needs to reach another AWS service, and the quick way is to paste credentials onto the machine. This sets up the alternative: a role attached to the instance, so it gets temporary credentials instead. Reach for it whenever an instance needs access to storage, a queue, a database table or metrics.

### Top 3 things it does for you

- Give an instance permission to reach an AWS service
- Attach a role to an instance instead of storing keys
- Replace hardcoded credentials with temporary ones

## Information

**Setting Up EC2 Instance Profiles at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [Amazon Web Services](/@aws) |
| Category | [Security](/category/security) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Version | 1 |
| Size | 35 KB |
| Licence | Apache-2.0 |
| Repository | [aws/agent-toolkit-for-aws](https://github.com/aws/agent-toolkit-for-aws/tree/14780bf3440aa1532eadfbb2ff547f58969fcfb2/skills/specialized-skills/ec2-skills/setting-up-ec2-instance-profiles) |
| GitHub stars | 2,420 (as of Nov 2026) |
| Installs | 6,672, counted by skills.sh (Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of Setting Up EC2 Instance Profiles and flagged nothing. AIR's verdict: **safe**.

**What Setting Up EC2 Instance Profiles's check was run against**

|  |  |
| --- | --- |
| Commit | 14780bf3440aa1532eadfbb2ff547f58969fcfb2 |
| Content hash | 0405b7b7b42bbf1cfc01a02c751ff6b181d2c7936967b274ba814850d8e326d0 |
| Files read | [Browse the files at this exact commit](https://github.com/aws/agent-toolkit-for-aws/blob/14780bf3440aa1532eadfbb2ff547f58969fcfb2/skills/specialized-skills/ec2-skills/setting-up-ec2-instance-profiles/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for Setting Up EC2 Instance Profiles](/security/setting-up-ec2-instance-profiles)

## About Setting Up EC2 Instance Profiles

Guidance for configuring EC2 instances to call AWS services without hardcoded credentials, by creating IAM roles and attaching them through instance profiles.

It applies whenever an instance needs permission to reach services such as S3, DynamoDB, SQS or CloudWatch - the instance obtains temporary credentials through the attached role rather than holding stored ones.

## What's inside

- SKILL.md - instructions
- references/ec2-instance-profile-setup.md - reference

## Questions

### Is Setting Up EC2 Instance Profiles safe to install?

AIR scanned this exact version of Setting Up EC2 Instance Profiles and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 14780bf3440a, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/setting-up-ec2-instance-profiles.

### How do I install Setting Up EC2 Instance Profiles?

Open https://airmarket.ai/app/setting-up-ec2-instance-profiles on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/aws/agent-toolkit-for-aws/tree/14780bf3440aa1532eadfbb2ff547f58969fcfb2/skills/specialized-skills/ec2-skills/setting-up-ec2-instance-profiles. Install from that link, not the branch.

## Related on Air Market

- [More Security listings](/category/security)
- [Everything by Amazon Web Services](/@aws)

---

Canonical URL: <https://airmarket.ai/app/setting-up-ec2-instance-profiles>
