QuestionQ41

VerifiedDesign Secure Architectures

An application running on an Amazon EC2 instance in VPC-A must access files on another EC2 instance in VPC-B. Both VPCs are in separate AWS accounts.

The network administrator must design a solution to provide secure access to the EC2 instance in VPC-B from VPC-A. The connectivity must not introduce a single point of failure or bandwidth concerns.

Which solution meets these requirements?

Explanation

A VPC peering connection provides private IP connectivity between two VPCs and supports peering across different AWS accounts. It is the appropriate AWS-native option for direct EC2-to-EC2 communication between VPC-A and VPC-B without relying on an intermediary device that could become a single point of failure or bandwidth bottleneck. Gateway endpoints do not connect to EC2 instances, a virtual private gateway is used for VPN or Direct Connect termination rather than VPC-to-VPC peering, and a private VIF is an AWS Direct Connect construct for on-premises connectivity.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!