Securely Access Resources with IAM Service Roles
Use temporary credentials to provide access to inaccessible resources.
- Create a working environment with Cloudformation
- How to create a role and attach a policy
- How to modify a policy
- How to attach a role to a policy
About | |
---|---|
✅ AWS Level | Intermediate - 200 |
⏱ Time to complete | 145 minutes |
💰 Cost to complete | Free when using the AWS Free Tier or USD 1.01 |
🧩 Prerequisites | - An AWS account: If you don't have an account, follow the Setting Up Your AWS Environment tutorial for a quick overview. For creating account follow Create Your AWS Account. |
💻 Code Sample | Code sample used in tutorial on GitHub |
📢 Feedback | Any feedback, issues, or just a 👍 / 👎 ? |
⏰ Last Updated | 2023-10-06 |



Tip: Creating a consistent naming scheme can help find and keep track of resources. For example, preface the name with `pcg-`` for "practical cloud guide" and follow it with the name of the service to make it easier to find resources by project.

project
and the value is pcg
.
















--version
option.






"s3:Put"
to the list of actions. This policy change allows the EC2 instance to copy files to the S3 bucket. Choose Next to review the changes.



Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.