
setting-up-ec2-instance-profiles
Configures EC2 instances to securely call AWS services
by awsFree
Description
setting-up-ec2-instance-profiles is an agent skill from AWS's agent toolkit that gives an EC2 instance secure access to AWS services through an IAM role and an instance profile, so no access keys have to be hardcoded. It covers the whole process: working out which permissions the instance needs, creating or reusing an IAM role with least-privilege policies, creating the instance profile, attaching it to the instance and checking that credentials are available there. The skill follows a setup procedure in its reference file. Its troubleshooting notes cover cases such as an instance that cannot be found, where the advice is to check the instance ID and region and list the instances with the AWS CLI. The skill is free, listed on skills.sh and sourced from the aws/agent-toolkit-for-aws repository on GitHub.…
Highlights
- Creates least-privilege IAM roles for EC2
- Creates and attaches instance profiles
- Removes hardcoded credentials from instances
- Checks credentials are available on the instance
Ratings & Reviews
No ratings yet
Be the first to rate setting-up-ec2-instance-profiles.
People also visit

creating-ec2-image-builder-pipeline
Creates a complete EC2 Image Builder pipeline that builds a custom AMI

chatting-with-aws-devops-agent
Have a fast, conversational analysis with the AWS DevOps Agent

aws-ami-builder
Build Amazon Machine Images (AMIs) with Packer using the amazon-ebs builder
setting-up-ec2-instance-profiles FAQ
What does this skill do?
It guides an AI agent through giving an EC2 instance an IAM role and instance profile, so the apps running on it can call AWS services without stored keys.
Does it give the role broad permissions?
No. The skill asks the agent to work out the required permissions first and to use least-privilege policies.
How do I install it?
Run: npx skills add https://github.com/aws/agent-toolkit-for-aws --skill setting-up-ec2-instance-profiles
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best setting-up-ec2-instance-profiles alternatives?
Popular alternatives to setting-up-ec2-instance-profiles include launching-ec2-instance-with-best-practices, AWS Core and setup. See all setting-up-ec2-instance-profiles alternatives



