QuestionQ11

VerifiedData Security in Cloud

Rebecca Mader works as a cloud security engineer for an IT company in Detroit, Michigan. Her organization uses AWS cloud-based services. A developer launches an application on an EC2 instance that needs access to the S3 bucket (photos). Rebecca creates a get-pics service role and attaches it to the EC2 instance. The service role includes a permission policy that grants read-only access to the S3 bucket and a trust policy that lets the instance assume the role and obtain temporary credentials. When the application runs on the instance, it uses the role’s temporary credentials to access the photo bucket. Does the developer need to share or manage credentials, or must the admin grant the developer permission to access the photo bucket?

Explanation

An IAM role associated with an EC2 instance provides temporary credentials to applications running on that instance. The application uses the role’s permissions to read the S3 bucket, so no long-term credentials must be shared or managed by the developer, and the developer does not require separate personal permission to the bucket.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!