Soru

Zorluk: Çok zorBilling, Cost Management, and Resource Sharing Strategy

An enterprise is designing a multi-account architecture on AWS using AWS Organizations. The company has a central Network account that hosts shared VPCs, a Security account for consolidated compliance monitoring, and multiple application accounts across different Organizational Units (OUs) that run workloads on Amazon EC2, AWS Fargate, and AWS Lambda. The solutions architect must implement a strategy to: 1. Share specific subnets from the Network account to the application accounts automatically as new accounts are vended, minimizing manual administrative overhead. 2. Deliver AWS CloudTrail logs from all accounts to a single S3 bucket in the Security account, ensuring the logs are encrypted at rest with a key that supports cross-account decryption. 3. Optimize compute costs across EC2, Fargate, and AWS Lambda workloads across all member accounts while utilizing consolidated billing. Which of the following strategies should the solutions architect implement to meet these requirements?

  1. A
    Enable resource sharing within the organization in AWS RAM from the management account. In the Network account, create a resource share for the subnets and associate it with the application OUs. In the Security account, create an S3 bucket encrypted with the default AWS-managed KMS key for S3 (aws/s3), and configure the S3 bucket policy to allow the CloudTrail service principal to write logs. Purchase Compute Savings Plans in the management account with discount sharing enabled.
  2. B
    In the Network account, create a resource share for the subnets and manually add the AWS account IDs of the application accounts to the share without enabling sharing within the organization in AWS RAM. In the Security account, create an S3 bucket encrypted with a Customer Managed Key (CMK), and configure both the CMK key policy and the S3 bucket policy to grant permission to the CloudTrail service principal for logging. Purchase Compute Savings Plans in the management account with discount sharing enabled.
  3. Enable resource sharing within the organization in AWS RAM from the management account. In the Network account, create a resource share for the subnets and associate it with the application OUs. In the Security account, create an S3 bucket encrypted with a Customer Managed Key (CMK), and configure both the CMK key policy and the S3 bucket policy to grant permission to the CloudTrail service principal for logging. Purchase Compute Savings Plans in the management account with discount sharing enabled.Cevap
  4. D
    Enable resource sharing within the organization in AWS RAM from the management account. In the Network account, create a resource share for the subnets and associate it with the application OUs. In the Security account, create an S3 bucket encrypted with a Customer Managed Key (CMK), and configure both the CMK key policy and the S3 bucket policy to grant permission to the CloudTrail service principal for logging. Purchase EC2 Instance Savings Plans in the management account with discount sharing enabled.

Cevap

The strategy that enables resource sharing within AWS Organizations, uses a Customer Managed Key (CMK) for the S3 bucket with key and bucket policies allowing CloudTrail access, and purchases Compute Savings Plans in the management account.
The correct strategy involves enabling resource sharing with AWS Organizations in AWS RAM to seamlessly share subnets with the application OUs. Additionally, utilizing a Customer Managed Key (CMK) is required because AWS-managed keys cannot be modified to grant cross-account write permissions to the CloudTrail service principal. Finally, purchasing Compute Savings Plans is necessary to cover EC2, Fargate, and Lambda workloads across all member accounts under consolidated billing.

Adım Adım Çözüm

1
Enable resource sharing with AWS Organizations in AWS RAM and share Network subnets with target OUs.
Subnets are automatically shared with new application accounts without manual invitation acceptance.
Enabling sharing with AWS Organizations in the management account is a prerequisite for seamless organization-wide resource sharing.
2
Create an S3 bucket in the Security account encrypted with a Customer Managed Key (CMK) and configure cross-account policies.
All member accounts can securely write logs to the central bucket, and the logs are encrypted.
AWS-managed KMS keys (like aws/s3) do not support key policy modifications, making a CMK mandatory for cross-account KMS access by CloudTrail.
3
Purchase Compute Savings Plans in the management account with discount sharing enabled.
Consistent cost optimization is applied to EC2, Fargate, and Lambda workloads across all member accounts.
Compute Savings Plans provide the flexibility to cover EC2, Fargate, and Lambda, unlike EC2 Instance Savings Plans which only cover EC2.

Anahtar Kavram

Multi-account resource sharing via AWS RAM, cross-account KMS policies, and Compute Savings Plans design.
Bu soruyu puanla