Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29250

will this allow an EC2 instance to access another EC2 instances without credential?

$
0
0

I know if I create a role and assign AmazonS3FullAccess permission to it, any EC2 instances assume this role will be able to use S3 with full privilege.

on the same token, if I create a role

  1. Choose the service that will use this role: EC2
  2. Attach permissions policies: AmazonEC2FullAccess, Policy ARN arn:aws:iam::aws:policy/AmazonEC2FullAccess

then I assign this role to an EC2 instance A, my question is,

will instance A have access to all other EC2 instances? If I want to ssh from instance A to instance X, I would still need ssh keys as if there were not roles assigned it, right? what is the point of roles in this case?


Viewing all articles
Browse latest Browse all 29250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>