In Chapter 1, Azure Virtual Networks 101, you were able to enable service endpoints for the virtual network while creating it, as shown in the following screenshot:
Figure 2.1: Enabling service endpoints for a virtual network during creation
You can perform the following steps to configure it for the virtual network that was created in the previous chapter:
- Navigate to the virtual network that was created in the previous chapter.
- Scroll down and click on Service endpoints (Preview), as shown in the following screenshot:
Figure 2.2: Virtual network service endpoints
- To add a service endpoint, click on Add, and a new blade will pop up, as shown in the following screenshot:
Figure 2.3: Add service endpoints
- Click on the Service dropdown to select the service you want to create a service endpoint for, as shown in the following screenshot:
Figure 2.4: Selecting the service for which the service endpoint will be created
- Once the service is selected, you need to specify the subnets where you want to apply the service endpoint, as shown in the following screenshot:
Figure 2.5: Selecting the subnet for the endpoint
- Once you are done, click on Add, and it will be added within a short time:
Figure 2.6: Current service endpoints
- To add a service endpoint for Azure SQL, you have to go through the same steps mentioned previously.