A media processing company hosts a video rendering application across two VPCs in the us-west-2 Region. The rendering nodes in VPC A need to transfer large, uncompressed media files to a storage caching cluster in VPC B. Both sets of EC2 instances are located within the same Availability Zone (us-west-2a). Currently, the VPCs are connected via an AWS Transit Gateway, but the transfer times are high and network latency is inconsistent. The company needs to optimize the network path to maximize throughput and minimize latency between these systems.
Which two actions should the Solutions Architect take to achieve this?
- Establish a VPC peering connection between VPC A and VPC B, and update the VPC route tables to route traffic directly through the peering connection.Answer
- Launch the rendering nodes and caching cluster instances in a cluster placement group, and configure the operating systems to use Jumbo Frames ( MTU).Answer
- CConfigure an AWS Transit Gateway Connect attachment with GRE tunnels between the VPCs to scale the network bandwidth dynamically.
- DAssociate a single Route 53 Private Hosted Zone with both VPCs and configure latency-based routing policies for the internal DNS endpoints.
- EDeploy NAT Gateways in us-west-2a for both VPCs and configure the route tables to direct inter-VPC traffic through the NAT Gateways.
Answer
Establish a VPC peering connection between the VPCs to route traffic directly, and launch the instances within a cluster placement group utilizing Jumbo Frames ( MTU).
Establishing a VPC peering connection allows direct IP routing between the instances in the two VPCs, bypassing the Transit Gateway transit hop, thereby lowering latency. Placing the EC2 instances in a cluster placement group ensures they are physically close to each other on the hardware level, minimizing network latency. Configuring Jumbo Frames ( MTU) allows the instances to send larger packets, reducing CPU processing overhead per byte transferred and maximizing network throughput.
Step-by-Step Solution
Key Concept
Bypassing routing hops (like Transit Gateway) using VPC Peering and leveraging cluster placement groups with Jumbo Frames ( MTU) optimizes network performance and latency for intensive workloads within the same Availability Zone.