QuestionQ28

VerifiedDesign Secure Architectures

A company is deploying a new business application. The application runs on two Amazon EC2 instances and uses an Amazon S3 bucket for document storage.

A solutions architect must ensure that the EC2 instances can access the S3 bucket.

What should the solutions architect do to meet this requirement?

Explanation

Amazon EC2 applications should access Amazon S3 by assuming an IAM role attached to the instances through an instance profile. The role carries the permissions to the S3 bucket and supplies temporary credentials to software running on the instances. IAM policies are permission documents rather than identities you attach directly to EC2 instances, IAM groups apply to IAM users, and IAM users would require long-term credentials, which is not the recommended design for EC2-to-S3 access.

Learn more

Community Discussion

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