Security consulting

I noticed that the database server address is a public endpoint. Does this mean that the access request goes through the Internet before it reaches the server if my app visits a database in the same datacenter?

No. The Azure datacenter’s network routing deduces that this is one of its own addresses and directly routes the request to the IP address via the datacenter’s internal network. This routing method is more secure, so there is less concern about third parties monitoring query requests or results. However, if your app and database are not in the same datacenter, the database query requests and results do go through the Internet. In this situation, we recommend that you use Secure Sockets Layer (SSL) to ensure the privacy of data transfers. For more detailed information on SSL connections, refer to Use SSL to securely access MySQL Database on Azure.