A financial services organization is consolidating its infrastructure under AWS Organizations with consolidated billing enabled. To streamline operations and minimize costs, the infrastructure team wants to implement a shared VPC model where a centralized network account hosts and shares subnets with individual application accounts. The application accounts run various containerized and serverless workloads on Amazon EC2, AWS Fargate, and AWS Lambda. Additionally, the compliance team requires that AWS CloudTrail logs from all member accounts be written to a single Amazon S3 bucket in a dedicated security audit account, encrypted using keys that support cross-account sharing and customized key rotation schedules.
Which TWO actions should the Solutions Architect take to meet these requirements?
- Enable resource sharing within AWS Organizations from the management account. In the Network account, create a resource share using AWS Resource Access Manager (RAM), add the subnets, and share them with the entire organization. Purchase Compute Savings Plans in the Organizations management account to automatically apply discounts to the EC2, Fargate, and Lambda workloads across all member accounts.Cevap
- BIn the Network account, create an AWS Resource Access Manager (RAM) resource share for the subnets and share them individually with each member account's -digit AWS account ID. Purchase EC2 Instance Savings Plans in the Organizations management account to optimize compute costs for the EC2, Fargate, and Lambda workloads in all member accounts.
- In the security audit account, configure the S3 bucket policy to allow the AWS CloudTrail service principal (cloudtrail.amazonaws.com) to write logs, using a condition key that restricts access to the organization's ID. Use Customer Managed Keys (CMKs) to encrypt the CloudTrail logs and other shared resources, configuring key policies to permit cross-account usage.Cevap
- DAttach a Service Control Policy (SCP) at the root of the organization that explicitly grants s3:PutObject permissions to the CloudTrail service principal for the centralized S3 bucket. Encrypt the central S3 bucket using the AWS-managed key aws/s3 to automatically handle decryption and logging permissions across all member accounts without modifying key policies.
- EIn the security audit account, configure the central S3 bucket policy to grant write access to the root principal of each member account, relying on the member accounts' local IAM policies to delegate write permissions to the CloudTrail service. Encrypt the bucket using the default AWS-managed KMS key aws/s3 to avoid the overhead of managing custom key policies.