Lightlines
By aws

setting-up-ec2-instance-profiles

aws5.5k installs

Give your EC2 instances access without saved keys.

What it does

Configures IAM roles and instance profiles so EC2 instances can access AWS services with temporary credentials.

When to use it

Use when an EC2 instance needs permission to access AWS services through temporary credentials.

How to use it

Give it an EC2 instance to configure; it sets up an IAM role and instance profile using the referenced procedure.

Uses

Good to know

  • cannot be undone: ~/.aws/credentials; AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY

Latest review

What you need · 1

The AWS CLI enables the troubleshooting step that lists instances when an instance cannot be found.


Access · 3

This skill

~/.aws/credentials

Write

Removes saved AWS credentials (irreversible)

AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY

Write

Removes AWS environment credentials (irreversible)

AWS

Write

Configures EC2 access roles