{"id":13154,"date":"2020-07-23T16:43:37","date_gmt":"2020-07-23T16:43:37","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=13154"},"modified":"2020-08-28T04:44:44","modified_gmt":"2020-08-28T04:44:44","slug":"configuring-azure-virtual-network-access","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/","title":{"rendered":"Configuring Azure Virtual Network Access"},"content":{"rendered":"\n<p class=\"has-text-align-right\"><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/p>\n\n\n\n<p>Azure Storage offer s a layered security model. This model enables you to secure and control the level of access to your storage accounts that your applications and enterprise environments demand, based on the type and subset of networks used. When network rules are configured, only applications requesting data over the specified set of networks can access a storage account. You can limit access to your storage account to requests originating from specified IP addresses, IP ranges or from a list of subnets in an Azure Virtual Network (VNet).<\/p>\n\n\n\n<p>Storage accounts have a public endpoint that is accessible through the internet. You can also create Private Endpoints for your storage account, which assigns a private IP address from your VNet to the storage account, and secures all traffic between your VNet and the storage account over a private link. The Azure storage firewall provides access control access for the public endpoint of your storage account. You can also use the firewall to block all access through the public endpoint when using private endpoints. Your storage firewall configuration also enables select trusted Azure platform services to access the storage account securely.<\/p>\n\n\n\n<p>An application that accesses a storage account when network rules are in effect still requires proper authorization for the request. Authorization is supported with Azure Active Directory (Azure AD) credentials for blobs and queues, with a valid account access key, or with an SAS token.<\/p>\n\n\n\n<p>Turning on firewall rules for your storage account blocks incoming requests for data by default, unless the requests originate from a service operating within an Azure Virtual Network (VNet) or from allowed public IP addresses. Requests that are blocked include those from other Azure services, from the Azure portal, from logging and metrics services, and so on.<\/p>\n\n\n\n<p>You can grant access to Azure services that operate from within a VNet by allowing traffic from the subnet hosting the service instance. You can also enable a limited number of scenarios through the Exceptions mechanism described below. To access data from the storage account through the Azure portal, you would need to be on a machine within the trusted boundary (either IP or VNet) that you set up.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Managing Default Virtual Network Access Rules<\/strong><\/h3>\n\n\n\n<p>You can manage default network access rules for storage accounts through the Azure portal, PowerShell, or CLIv2.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Azure portal<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Go to the storage account you want to secure.<\/li><li>Click on the settings menu called Firewalls and virtual networks.<\/li><li>To deny access by default, choose to allow access from Selected networks. To allow traffic from all networks, choose to allow access from All networks.<\/li><li>Click Save to apply your changes.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>PowerShell<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Install the Azure PowerShell and sign in.<\/li><li>Display the status of the default rule for the storage account. <\/li><\/ul>\n\n\n\n<p>(Get-AzStorageAccountNetworkRuleSet -ResourceGroupName &#8220;myresourcegroup&#8221; -AccountName &#8220;mystorageaccount&#8221;).DefaultAction<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Set the default rule to deny network access by default.<\/li><\/ul>\n\n\n\n<p>Update-AzStorageAccountNetworkRuleSet -ResourceGroupName &#8220;myresourcegroup&#8221; -Name &#8220;mystorageaccount&#8221; -DefaultAction Deny<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Set the default rule to allow network access by default.<\/li><\/ul>\n\n\n\n<p>Update-AzStorageAccountNetworkRuleSet -ResourceGroupName &#8220;myresourcegroup&#8221; -Name &#8220;mystorageaccount&#8221; -DefaultAction Allow<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-free-practice-test\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png\" alt=\"Practice Test for AZ-104\"\/><\/a><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>CLIv2<\/strong><\/h4>\n\n\n\n<p>Install the Azure CLI and sign in.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Display the status of the default rule for the storage account.<\/li><\/ul>\n\n\n\n<p>az storage account show &#8211;resource-group &#8220;myresourcegroup&#8221; &#8211;name &#8220;mystorageaccount&#8221; &#8211;query networkRuleSet.defaultAction<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Set the default rule to deny network access by default.<\/li><\/ul>\n\n\n\n<p>az storage account update &#8211;resource-group &#8220;myresourcegroup&#8221; &#8211;name &#8220;mystorageaccount&#8221; &#8211;default-action Deny<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Set the default rule to allow network access by default.<\/li><\/ul>\n\n\n\n<p>az storage account update &#8211;resource-group &#8220;myresourcegroup&#8221; &#8211;name &#8220;mystorageaccount&#8221; <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-administrator-associate-az-104-online-course\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/07\/testpreptraining.ai-2-1-750x117.png\" alt=\"Microsoft Azure AZ-104 Online Course\" class=\"wp-image-12856\"\/><\/a><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-right\"><strong>Reference: <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/storage\/common\/storage-network-security\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Documentatio<\/a>n<\/strong><\/p>\n\n\n\n<p><strong><strong><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-104-microsoft-azure-administrator-associate\/\" target=\"_blank\" rel=\"noreferrer noopener\">Return to AZ-104 Tutorial<\/a><\/strong><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Return to AZ-104 Tutorial Azure Storage offer s a layered security model. This model enables you to secure and control the level of access to your storage accounts that your applications and enterprise environments demand, based on the type and subset of networks used. When network rules are configured, only applications requesting data over the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-13154","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configuring Azure Virtual Network Access - Testprep Training Tutorials<\/title>\n<meta name=\"description\" content=\"Boost your chances to qualify Microsoft Azure AZ-104 with expert learning resources. Learn to Configure Azure Virtual Network Now!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring Azure Virtual Network Access - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"Boost your chances to qualify Microsoft Azure AZ-104 with expert learning resources. Learn to Configure Azure Virtual Network Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-28T04:44:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/\",\"name\":\"Configuring Azure Virtual Network Access - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-07-23T16:43:37+00:00\",\"dateModified\":\"2020-08-28T04:44:44+00:00\",\"description\":\"Boost your chances to qualify Microsoft Azure AZ-104 with expert learning resources. Learn to Configure Azure Virtual Network Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring Azure Virtual Network Access\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring Azure Virtual Network Access - Testprep Training Tutorials","description":"Boost your chances to qualify Microsoft Azure AZ-104 with expert learning resources. Learn to Configure Azure Virtual Network Now!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/","og_locale":"en_US","og_type":"article","og_title":"Configuring Azure Virtual Network Access - Testprep Training Tutorials","og_description":"Boost your chances to qualify Microsoft Azure AZ-104 with expert learning resources. Learn to Configure Azure Virtual Network Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-08-28T04:44:44+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/06\/practice-test-2.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/","name":"Configuring Azure Virtual Network Access - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-07-23T16:43:37+00:00","dateModified":"2020-08-28T04:44:44+00:00","description":"Boost your chances to qualify Microsoft Azure AZ-104 with expert learning resources. Learn to Configure Azure Virtual Network Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/configuring-azure-virtual-network-access\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Configuring Azure Virtual Network Access"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=13154"}],"version-history":[{"count":4,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13154\/revisions"}],"predecessor-version":[{"id":18374,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/13154\/revisions\/18374"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=13154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=13154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=13154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}