Central Server Connectivity Across AWS Accounts and Regions | Exam Question Answer

Central Server Connectivity Across AWS Accounts and Regions

Question

Your company has just set up a new central server in a VPC.

There is a requirement for other teams to connect to the central server.

These servers are located in different AWS accounts and different AWS regions.

Which of the below options is best suited to achieve this requirement?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - A.

A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses.

Instances in either VPC can communicate with each other as if they are within the same network.

You can create a VPC peering connection between your own VPCs, with a VPC in another AWS account, or with a VPC in a different AWS Region.

Options B and C are incorrect because VPC Peering is the most straightforward solution, and it can work with VPCs in different AWS accounts or regions.

Option D is CORRECT because VPC Peering is available.

For more information on VPC Peering, please see the below Link:

http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-peering.html

To connect the central server located in a VPC with other servers located in different AWS accounts and regions, we need to establish connectivity between the VPCs. We can achieve this by using one of the following options:

A. VPC Peering: VPC peering allows communication between two VPCs using private IP addresses. We can set up VPC peering between the central server VPC and each of the team's VPCs. With VPC peering, traffic flows over the AWS network and doesn't traverse the internet. VPC peering is a simple and cost-effective solution for connecting VPCs within the same AWS account or across different AWS accounts.

B. AWS Direct Connect: AWS Direct Connect provides a dedicated network connection between the central server VPC and each of the team's VPCs. With AWS Direct Connect, we can establish a private virtual interface that provides a secure and reliable connection between the VPCs. AWS Direct Connect is ideal for scenarios where we require high bandwidth and low latency connectivity between VPCs.

C. IPSec Tunnel: An IPSec tunnel is a VPN connection between two VPCs over the internet. We can set up an IPSec tunnel between the central server VPC and each of the team's VPCs to allow communication between them. However, the traffic over an IPSec tunnel travels over the internet and is therefore less secure compared to VPC peering or AWS Direct Connect.

D. None of the above options will work: This option is not correct because all the above options are viable solutions for connecting VPCs in different AWS accounts and regions.

In conclusion, the best-suited option to achieve the requirement of connecting the central server VPC with other team's VPCs depends on the specific needs of the organization. If low latency and high bandwidth connectivity are needed, AWS Direct Connect is the best choice. If we require a simple and cost-effective solution, VPC peering is the best option. If security is a concern, we can use IPSec tunnels, but this option is less secure than the other two.