NovaTrade Brokerage is modernizing its legacy transaction clearing system by migrating it from on-premises servers to AWS. The workload consists of multiple microservices that must run on AWS Fargate to minimize operational overhead. The microservices must securely communicate with each other using internal DNS names within a multi-VPC environment spanning two AWS accounts: Account A (a shared services account) and Account B (the application workload account). The workload VPC in Account B spans three Availability Zones and hosts the containers in private subnets. The microservices must also securely call external payment APIs over the internet. Additionally, to comply with financial audits, all container logs must be encrypted in Amazon CloudWatch Logs using a Customer Managed Key (CMK) in AWS KMS.
Which architectural design meets these requirements while ensuring high availability for outbound traffic?
- ADeploy the microservices on AWS Fargate using the bridge network mode to enable dynamic host port mapping. In the workload VPC, deploy a NAT Gateway in a public subnet in each of the three Availability Zones, routing outbound internet traffic from the private subnets to their respective local NAT Gateway. Create a Route 53 Private Hosted Zone in Account A, authorize and associate it with the workload VPC in Account B. Configure CloudWatch Logs with a Customer Managed Key (CMK), granting permissions to the CloudWatch Logs service principal in the key policy.
- Deploy the microservices on AWS Fargate using the awsvpc network mode. In the workload VPC, deploy a NAT Gateway in a public subnet in each of the three Availability Zones, routing outbound internet traffic from the private subnets to their respective local NAT Gateway. Create a Route 53 Private Hosted Zone in Account A, authorize and associate it with the workload VPC in Account B. Configure CloudWatch Logs with a Customer Managed Key (CMK), granting permissions to the CloudWatch Logs service principal in the key policy.Answer
- CDeploy the microservices on AWS Fargate using the awsvpc network mode. In the workload VPC, deploy a NAT Gateway in a public subnet in each of the three Availability Zones, routing outbound internet traffic from the private subnets to their respective local NAT Gateway. Create a Route 53 Private Hosted Zone in Account A, assuming it is automatically accessible by all VPCs within the AWS Organization without explicit cross-account association. Configure CloudWatch Logs with a Customer Managed Key (CMK), granting permissions to the CloudWatch Logs service principal in the key policy.
- DDeploy the microservices on AWS Fargate using the awsvpc network mode. In the workload VPC, deploy a single NAT Gateway in a public subnet within one Availability Zone, routing outbound internet traffic from all private subnets across all three Availability Zones to this single NAT Gateway. Create a Route 53 Private Hosted Zone in Account A, authorize and associate it with the workload VPC in Account B. Configure CloudWatch Logs with a Customer Managed Key (CMK), granting permissions to the CloudWatch Logs service principal in the key policy.