QuestionQ58

VerifiedSecurity and Compliance

An organization in AWS Organizations has one OU. The company operates Amazon EC2 instances in the accounts within that OU. It must restrict use of each EC2 instance’s credentials to the particular EC2 instance to which the credentials are assigned. A DevOps engineer must configure security for these EC2 instances.

Which solution meets these requirements?

Explanation

An SCP can bind Amazon EC2 role credentials to their originating instance by denying requests unless the request comes through a VPC endpoint in the same VPC where the credentials were delivered (aws:Ec2InstanceSourceVPC equals aws:SourceVpc) and from the same private IP address (aws:EC2InstanceSourcePrivateIPv4 equals aws:VpcSourceIp). Together, the VPC ID and private IP identify the specific instance; attaching this SCP to the OU enforces it for all accounts in that OU.

Learn more

Community Discussion

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