Skip to content
Menu
Cloud Gal 42
  • Home
Cloud Gal 42

QuickGuide: Allowing EC2 access to S3 and other AWS Services

June 4, 2021June 2, 2021 by admin
  1. Navigate to IAM Dashboard
  2. Click on Roles on the left menu
  3. Click on Create role
  4. Select AWS service as the type of trusted entity
  5. Select EC2 as the use case
  6. Click on Next: Permissions
  7. In the Search bar, type in the name of the service you want EC2 to access, for instance S3 or DynamoDB
  8. Check the policies that match your needs, always follow the principal of least privilege
  9. Click on Next: Tags
  10. Provide Key and Value pairs if using Tagging, otherwise click on Next: Review
  11. Provide a Role name
  12. Click on Create role

Now you can attach this role to an EC2 instance and this instance will have access to other AWS services according to the policies you selected.

Here are the steps to attach an IAM role to an EC2 instance –

  1. Navigate to the EC2 dashboard
  2. Click on Instances on the left menu
  3. Select the EC2 instance you want to provide access to
  4. Click on Actions, then Security, then Modify IAM role
  5. Pick the role from the drop down and click on Save

Now this EC2 instance should have the appropriate access to other AWS services.

Related

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Role of AI/ML in Cybersecurity
  • QuickGuide: Security on OCI
  • The Cloud Management Plane
  • Secure Installation and Configuration of Virtualized Cloud Datacenters
  • Cloud Datacenter: Hardware-specific Security Configuration Requirements

Recent Comments

  • Rafael on Installing Debian on OCI
  • Jorge on Installing Debian on OCI
  • admin on Installing Debian on OCI
  • Andreas on Installing Debian on OCI
  • admin on Installing Debian on OCI

Archives

  • December 2022
  • February 2022
  • September 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • February 2021
  • January 2021
  • November 2020
  • October 2020

Categories

  • aws
  • bcdr
  • cloud
  • cloudsecurity
  • compliance
  • informationsecurity
  • oracle
  • pci
  • QuickGuide
  • security
©2025 Cloud Gal 42 | Powered by WordPress and Superb Themes!