大手融資会社が、データベース サーバーと Web サーバーからデータをロック解除する API を開発しました。この API は、CloudHub 1.0 上の Anypoint Virtual Private Cloud (VPC) にデプロイされています。
データベース サーバーと Web サーバーは顧客の安全なネットワーク内にあり、パブリック インターネットからはアクセスできません。データベース サーバーは顧客の AWS VPC 内にあり、Web サーバーは顧客のオンプレミスの企業データ センター内にあります。
API がデータベース サーバーおよび Web サーバーに接続できるようにアクセスを有効にするにはどうすればよいでしょうか?
正解:A
* Scenario Overview:
* The API resides in Anypoint Virtual Private Cloud (VPC) on CloudHub 1.0, where it requires connectivity to both an AWS-hosted database server and an on-premises web server.
* Both servers are isolated from the public internet: the database server is within the customer's AWS VPC, and the web server is within the customer's on-premises corporate data center.
* Connectivity Requirements:
* To connect to the AWS database server from the API in Anypoint VPC, VPC peering is ideal.
This would allow a private network connection between the MuleSoft Anypoint VPC and the customer's AWS VPC, enabling secure, direct access to the database.
* To connect to the on-premises web server, a VPN tunnel is suitable. This would establish a secure, encrypted connection from the Anypoint VPC to the customer's corporate data center, allowing secure data flow between the API and the on-premises web server.
* Analysis of Options:
* Option A (Correct Answer): Setting up VPC peering with AWS VPC enables private network connectivity with the database server, while a VPN tunnel to the on-premises data center allows secure access to the web server. This combination meets the requirements for secure, controlled access to both resources.
* Option B: VPC peering alone would not suffice because it does not support a connection from the Anypoint VPC directly to an on-premises network. A VPN is necessary for on-premises access.
* Option C: Setting up a transit gateway would provide connectivity within AWS but would not enable direct connectivity from CloudHub to the on-premises network.
* Option D: VPC peering with the on-premises network is not possible because VPC peering is typically used to connect two VPCs, not a VPC with an on-premises network.
* Conclusion:
* Option A is the correct choice, as it provides a complete solution by using VPC peering for AWS VPC connectivity and a VPN tunnel for secure on-premises connectivity. This setup aligns with Anypoint Platform best practices for connecting Anypoint VPCs to both AWS-hosted and on- premises systems, ensuring secure, controlled access to both the database and web server.
For more detailed reference, MuleSoft documentation on Anypoint VPC peering and VPN connectivity provides additional context on best practices for setting up these connections within a hybrid network infrastructure.