Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

setting-up-ec2-instance-profiles

Create an IAM role and instance profile, attach it to an EC2 instance, and verify temporary credentials.

When to use it

Your EC2 instance needs to call S3, DynamoDB, or SQS but still relies on hardcoded access keys in config files or environment variables.

For example

You say

Use the setting-up-ec2-instance-profiles skill to give my EC2 instance i-0abc123 read access to the S3 bucket my-app-uploads, replacing the access keys in its config.

You get
  • Least-privilege IAM role
  • Attached instance profile
  • Credential verification steps

How it works

  • Replacing an existing profile prompts before disassociating it.
  • New credentials can take 30–60 seconds to appear, so apps may need a restart.