Configuring a firewall for an Azure storage account using the Azure portal
Storage account access can be restricted to an IP or range of IPs by whitelisting the allowed IPs in the storage account firewall. In this recipe, we'll learn to restrict access to an Azure storage account using a firewall.
Getting ready
Before you start, perform the following steps:
- Open a web browser and go to the Azure portal at https://portal.azure.com.
- Make sure you have an existing storage account. If not, create one using the Provisioning an Azure storage account using the Azure portal recipe.
How to do it…
To provide access to an IP or range of IPs, follow the given steps:
- In the Azure portal, locate and open the Azure storage account. In our case, the storage account is
packtadestorage
. - On the storage account page, under the Settings section, locate and select Firewalls and virtual networks.
- As the
packtadestorage
account was created with public...