AWS VPC File Sharing and Intercommunication Solution

AWS VPC File Sharing and Intercommunication

Prev Question Next Question

Question

You have 5 VPC's in AWS.

There is a file sharing server in 2 VPC's.

There is a need for this file sharing service to be available across the other VPC's and also to establish intercommunication between the various VPC's.

How can this be accomplished ? Choose 2 answers from the options below.

Each answer forms part of the solution.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - B and C.

The below diagram from the AWS documentation shows the full mesh configuration of multiple VPC's.

For more information on VPC Peering for multiple VPC's , please refer to the below link:

http://docs.aws.amazon.com/AmazonVPC/latest/PeeringGuide/peering-configurations-full-access.html#many-vpcs-full-access
The VPCs are in the same AWS account and do not have overlapping CIDR blocks.

Oy o.

10.0.0.0/16 \ 4 172.17.0.0/16

10.4.0.0/16

To enable file sharing between VPCs and establish intercommunication between them, you can use a combination of VPC peering and route table modifications. Here are the steps to achieve this:

  1. Create VPC Peering Connections: Create a VPC peering connection between the VPCs that need to communicate with each other. This is done by selecting the two VPCs in the VPC console and creating a peering connection between them.

  2. Modify Route Tables: Once the VPC peering connections have been established, the next step is to modify the route tables of each VPC to include the peering connection as a destination. This allows traffic to be routed between the VPCs over the peering connection. You can modify the route table by adding a new route for the peering connection and specifying the destination CIDR block and the peering connection ID.

  3. Ensure Security Group Permissions: The security groups of the instances that need to communicate across VPCs must be configured to allow traffic from the IP addresses of the instances in the other VPCs.

Note that the solution does not involve creating instances with enhanced networking as this would not enable communication between VPCs. Instead, VPC peering and route table modifications are used to achieve intercommunication between the VPCs.