A retail company uses AWS Organizations to manage a multi-account environment consisting of a Management account, a Core Network account, and multiple business unit accounts grouped into Production, Development, and Sandbox Organizational Units (OUs). A central networking team has created a shared VPC in the Core Network account. The finance team has purchased Compute Savings Plans in the Management account to reduce overall compute costs.
The company's solutions architect must design a solution that meets the following requirements:
* The subnets in the shared VPC must be accessible only to the Production and Development accounts, with auto-acceptance of shared resources enabled.
* The Compute Savings Plan discounts must apply to all Production and Development accounts, but must not apply to workloads in the Sandbox accounts.
Which combination of actions should the solutions architect take to satisfy these requirements?
- Enable resource sharing within the AWS Organization in the AWS Resource Access Manager (RAM) settings. In the Core Network account, create a resource share in AWS RAM for the VPC subnets, and associate the share with the Production and Development OUs. In the Management account, navigate to the Billing preferences and disable Savings Plans discount sharing for the Sandbox accounts.Answer
- BIn the Core Network account, use AWS RAM to share the VPC subnets with the Production and Development OUs. In the Management account, create a Service Control Policy (SCP) that denies the savingsplans:ApplyDiscount action, and attach this SCP to the Sandbox OU to prevent Sandbox workloads from utilizing the Compute Savings Plans.
- CIn the Core Network account, create an AWS RAM resource share for the VPC subnets, and add the individual account IDs for all Production and Development accounts to the share. In each recipient account, manually accept the RAM resource share invitation. In the Management account, configure a billing policy that excludes Sandbox accounts from the consolidated billing family.
- DEnable resource sharing within the AWS Organization in the AWS RAM settings. In the Core Network account, share the VPC subnets with the Production and Development OUs. Enable default EBS volume encryption in the Core Network account using the AWS-managed KMS key (aws/ebs), share this key with the member accounts via AWS RAM, and disable Savings Plans discount sharing for the Sandbox accounts in Billing preferences.