Creating an EC2 Instance with an IAM Role is easy when you do it via the AWS Console but doing this with CloudFormation is not as direct. You will need an
Instance Profile to connect an EC2 with an IAM Role.
TL;DR: See the CloudFormation Template below.
Continue reading EC2 with IAM Role: CloudFormation Sample Template
To create programmatic Access Keys for an AWS IAM User using AWS CLI, run the command
aws iam create-access-key.
On the command below change
MyUser with the username of your target IAM User.
aws iam create-access-key --user-name MyUser
This will return the following JSON formatted string.
Continue reading How to create IAM User Access Keys via AWS CLI
If you want to be able to control your AWS resources on your local computer you will either use AWS CLI or AWS SDK. To use those tools, you will need to have an Access Key ID and a Secret Access Key.
In this post, we will show you how you can generate your own Access Keys so you can programmatically access your AWS resources.
For the instructions later the target username that I want to create Access Keys is rabano. Yours will be different.
Continue reading How to create IAM User Access Keys using AWS Console