Configuring a virtual network and private endpoints for Azure SQL Database
Securing the connectivity to an Azure SQL database is important to limit the exposure of the database to external attacks such as distributed denial-of-service (DDOS) attacks and SQL injection. Using private endpoints for connecting to Azure SQL Database ensures that the database connectivity flows through Azure’s backbone network and does not use the public internet. Placing the SQL endpoint behind a virtual network prevents Azure SQL Database from being exposed to a connection request from the public internet. In this recipe, we will explore how we can configure private endpoints using virtual networks for Azure SQL Database.
Getting ready
- Log in to portal.azure.com.
- Create an Azure SQL Database, as explained in the Provisioning and connecting to an Azure SQL database using PowerShell recipe in this chapter.
How to do it…
Perform the following steps to create an Azure...