Soru

Zorluk: ZorBilling, Cost Management, and Resource Sharing Strategy

A company is designing a multi-account architecture using AWS Organizations. The network team needs to share a set of private subnets from a central Network VPC in a dedicated Network account with application teams operating in different member accounts within specific Organizational Units (OUs). The security team requires that all VPC Flow Logs from the shared subnets be consolidated into a central Amazon S3 bucket in a Security account, encrypted using a Customer Managed Key (CMK) in AWS Key Management Service (AWS KMS). Additionally, the finance team wants to ensure that Compute Savings Plans purchased in the Management account are applied to all member accounts, except for a specific OU containing sandbox accounts used for third-party contractor testing, which must pay standard On-Demand rates for chargeback reporting. Which strategy should a Solutions Architect recommend to meet these requirements with the least administrative overhead?

  1. Enable resource sharing with AWS Organizations in the AWS Resource Access Manager (RAM) console. Create a resource share in the Network account for the subnets and share it with the application OUs. In the Security account, create an S3 bucket and a KMS Customer Managed Key (CMK) with a key policy allowing the VPC Flow Logs service principal (delivery.logs.amazonaws.com) to generate data keys and decrypt. Configure the S3 bucket policy to allow log delivery. In the Network account, configure VPC Flow Logs to publish to the S3 bucket. In AWS Billing Conductor, create a billing group containing only the sandbox accounts, ensuring the Management account is excluded from this group.Cevap
  2. B
    Enable resource sharing with AWS Organizations in the AWS RAM console. Create a resource share in the Network account for the subnets and share it with the application OUs. In the Security account, create an S3 bucket encrypted with the default AWS-managed KMS key (aws/s3) and configure the bucket policy to allow log delivery from the Network account. In the Network account, configure VPC Flow Logs to publish to the S3 bucket. In the Billing Preferences of the Management account, disable Savings Plans sharing for the sandbox OU by applying an IAM policy.
  3. C
    Enable resource sharing with AWS Organizations in the AWS RAM console. Create a resource share in the Network account for the subnets and share it with the application OUs. In the Security account, create an S3 bucket and a KMS CMK with a key policy allowing the VPC Flow Logs service principal. Configure the S3 bucket policy and enable VPC Flow Logs. In the Billing Preferences of the Management account, disable Savings Plans sharing globally. Use Amazon Athena queries on the Cost and Usage Report (CUR) to manually calculate and apply the Savings Plans discounts to all non-sandbox member accounts.
  4. D
    In the Network account, create an AWS RAM resource share for the subnets. Create a Service Control Policy (SCP) in the Management account and attach it to the application OUs to grant permissions for the shared subnets. In the Security account, create an S3 bucket and a KMS CMK. Configure VPC Flow Logs to write to the S3 bucket. Create an AWS Glue ETL job to process the consolidated Cost and Usage Report (CUR) hourly, filtering out the sandbox accounts and manually recalculating the Savings Plans discounts for all other accounts.

Cevap

Enable resource sharing with AWS Organizations in the AWS Resource Access Manager (RAM) console. Create a resource share in the Network account for the subnets and share it with the application OUs. In the Security account, create an S3 bucket and a KMS Customer Managed Key (CMK) with a key policy allowing the VPC Flow Logs service principal (delivery.logs.amazonaws.com) to generate data keys and decrypt. Configure the S3 bucket policy to allow log delivery. In the Network account, configure VPC Flow Logs to publish to the S3 bucket. In AWS Billing Conductor, create a billing group containing only the sandbox accounts, ensuring the Management account is excluded from this group.
The correct strategy leverages AWS RAM to share the subnets within the AWS Organization, uses a Customer Managed Key (CMK) with policy modifications to allow the VPC Flow Logs service principal to write encrypted logs across accounts, and utilizes AWS Billing Conductor to isolate the sandbox accounts in their own billing group. Since the sandbox accounts are separated from the Management account that purchased the Compute Savings Plans, the pro-forma invoices generated by AWS Billing Conductor will model the sandbox accounts' usage at standard On-Demand rates, automating chargebacks with minimal administrative overhead.

Adım Adım Çözüm

1
Configure AWS RAM organization-wide sharing from the AWS Organizations Management account, then create a resource share for the private subnets in the Network account and target the application OUs.
The application OUs can now provision resources within the shared private subnets of the central VPC.
This allows secure resource sharing within the organization boundary using AWS RAM.
2
Create an S3 bucket and a KMS Customer Managed Key (CMK) in the Security account, configuring the KMS key policy and S3 bucket policy to allow the delivery.logs.amazonaws.com service principal to write and encrypt objects.
A secure centralized logging target is established.
VPC Flow Logs use the log delivery service principal, which requires cross-account KMS permissions that can only be configured on Customer Managed Keys, not AWS-managed keys.
3
Enable VPC Flow Logs in the Network account pointing to the Security S3 bucket and specifying the KMS CMK for encryption.
Consolidated and encrypted network flow logs are delivered to the Security account.
This fulfills the logging and security audit requirement.
4
Create a billing group in AWS Billing Conductor containing the sandbox accounts, ensuring the Management account (which purchased the Compute Savings Plans) is not in this group.
The sandbox accounts' pro-forma invoices show standard On-Demand rates, while the consolidated actual invoice still realizes the Savings Plans benefits.
AWS Billing Conductor isolates pro-forma billing reports, applying RIs and Savings Plans only within the billing groups they reside in, thereby automating the chargeback requirement without changing actual payment configurations.

Anahtar Kavram

AWS Billing Conductor allows organizations to define custom billing groups for pro-forma billing, enabling selective exclusion of global Savings Plans and Reserved Instances discounts for specific accounts. Meanwhile, AWS RAM enables secure cross-account subnet sharing within AWS Organizations, and Customer Managed Keys (CMKs) are required for cross-account service principal encryption tasks (such as VPC Flow Logs delivery).
Tahmini Süre:2m 30s
Bu soruyu puanla