

{"id":108109,"date":"2022-03-17T09:00:40","date_gmt":"2022-03-17T03:30:40","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=108109"},"modified":"2022-03-17T09:34:32","modified_gmt":"2022-03-17T04:04:32","slug":"create-virtual-network-in-azure","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/","title":{"rendered":"Create Virtual Network in Azure"},"content":{"rendered":"<p>In today\u2019s article, we will learn about Azure virtual network which will help the developers to perform their tasks by keeping the security section in mind.<\/p>\n<h3>What is Azure Virtual Network?<\/h3>\n<p>The Azure Virtual Network is a logical representation of a cloud network. So, by creating an Azure Virtual Network, we can define our private IP address range on Azure as well as deploy various types of Azure resources.<\/p>\n<p>For instance, an Azure virtual machine, an App service environment, an Integration service environment, and so on.<\/p>\n<h3>Creating Azure Virtual Network and Subnets<\/h3>\n<p>Below are the steps to create virtual network in Azure:<\/p>\n<p><strong>1<\/strong>: Firstly, the developer should search for Virtual Networks. For this, the developers can use their existing resource group or create a new one.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/opening-virtual-network-page.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-108213\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/opening-virtual-network-page.webp\" alt=\"opening virtual network page\" width=\"1361\" height=\"615\" \/><\/a><\/p>\n<p><strong>2<\/strong>: Once the developer opens they have to choose the resource group. If they don\u2019t have any they can make a new one. Then provide a name and choose the region.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/creating-virtual-network.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-108215\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/creating-virtual-network.webp\" alt=\"creating virtual network\" width=\"1362\" height=\"606\" \/><\/a><\/p>\n<p><strong>3<\/strong>: Now, a new window will appear where they should fill in the details such as IP address space, subnet name etc.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/providing-networking-details.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-108217\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/providing-networking-details.webp\" alt=\"providing networking details\" width=\"1329\" height=\"492\" \/><\/a><\/p>\n<p><strong>4<\/strong>: The developers can choose the security configurations as per their requirements.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/security-details.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-108219\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/security-details.webp\" alt=\"security details\" width=\"1364\" height=\"605\" \/><\/a><\/p>\n<p><strong>5<\/strong>: Mention the tags for the virtual network.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/providing-tags.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-108220\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/providing-tags.webp\" alt=\"providing tags\" width=\"1364\" height=\"608\" \/><\/a><\/p>\n<p><strong>6<\/strong>: In the next step review all the details. Here you will see validation status as passed and then hit the create button.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/reviewing-details.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-108221\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/reviewing-details.webp\" alt=\"reviewing details\" width=\"1187\" height=\"463\" \/><\/a><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/validation-passed.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-108222\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/validation-passed.webp\" alt=\"validation passed\" width=\"1341\" height=\"591\" \/><\/a><\/p>\n<p><strong>7<\/strong>: After a few seconds the deployment will be successful.<\/p>\n<p>&nbsp;<\/p>\n<h3>Azure Virtual Network Capabilities<\/h3>\n<p><strong>Communication Between Resources<\/strong>: Communication between the resources of a virtual network or with other resources via service endpoints.<\/p>\n<p><strong>Communication with On-premises Resources<\/strong>: By establishing a point-to-site VPN, a site-to-site VPN, or an Express route, your workloads in the Azure virtual network can seamlessly communicate with workloads in our on-premises data center.<\/p>\n<p>The Azure virtual network includes a plethora of capabilities for traffic control.<\/p>\n<p><strong>1. Filter Network Traffic<\/strong>: To filter traffic coming to virtual network resources, we can use Network Security Groups, Application Security Groups, Azure firewalls, or third-party network virtual appliances.<\/p>\n<p><strong>2. Route Network Traffic<\/strong>: We can use routing tables to route network traffic, or we can configure user-defined routes to route all outbound traffic, for example, through a firewall.<\/p>\n<p><strong>3. Monitor Network Traffic<\/strong>: Using network security groups and a traffic analytics monitoring solution, you can perform extensive monitoring on both inbound and outbound communications.<\/p>\n<h3>Elements of Azure Virtual Network<\/h3>\n<h4>1. Address Space<\/h4>\n<p>When creating a VNet, you must first specify a private IP address space within the RFC 1918 range.<\/p>\n<p>This IP address space includes well-known IP addresses like 10.0.0.0, 192.168.0.0, and 172.16.0.0. A virtual network contains one or more of these address ranges, from which additional subnets can be created.<\/p>\n<p>The address spaces of Azure Virtual Networks cannot overlap. If you attempt to create a virtual network using an existing address space, Azure will display a warning message.<\/p>\n<p>If one does not intend to peer at the two virtual networks, then they can ignore this warning. Also if you intend to build a hybrid network, you should avoid using overlapping network spaces with your on-premises data center.<\/p>\n<h4>2. Subnet<\/h4>\n<p>A subnet is important because many configurations will be done at the subnet level. It is the VNet&#8217;s IP address range.<\/p>\n<p>Vnet can be divided into multiple subnets based on various design considerations, such as deploying a virtual machine, App services environment, an integration service environment, and so on.<\/p>\n<p>VMs and PaaS services are deployed to subnets within the same VNet and can communicate with one another without any additional configuration. Subnets are configured with route tables, NSG, service endpoints, and policies.<\/p>\n<h4>3. Network Security Groups<\/h4>\n<p>Network Security Groups (NSG) protect each subnet within a virtual network. NSGs are used to filter traffic entering and exiting a virtual network.<\/p>\n<p>To identify the traffic, you define the source and destination, port, and protocol for each rule. An NSG contains default security rules that automatically secure resources by blocking Internet traffic while allowing traffic from other virtual networks to pass through.<\/p>\n<h4>4. Routing and Peering<\/h4>\n<p>Azure develops the routes within subnets, virtual networks, on-premises networks, and the Internet automatically.<\/p>\n<p>One can make use of the route tables for controlling where Azure routes traffic for each subnet.<\/p>\n<p>Users can also make use of their existing on-premises BGP routes for connecting their Azure virtual networks.<\/p>\n<p>And, when they connect their on-premises data center to the Azure cloud they require an Azure VPN Gateway or ExpressRoute connection.<\/p>\n<p>While Azure automatically connects subnets within the same virtual network, routing between virtual networks necessitates network peering.<\/p>\n<p>Virtual network peering connects multiple VNets so that they appear as one for connectivity purposes. The traffic between the virtual networks is routed through the Microsoft backbone infrastructure rather than the Internet.<\/p>\n<h3>Virtual Network Pricing<\/h3>\n<p>Unlike virtual machines and other Azure resources, virtual networks are free to create. Creating a virtual network incurs no resource costs, and you can create up to 50 virtual networks per subscription.<\/p>\n<p>However, if you establish a peering connection between two virtual networks, Azure will charge you for both inbound and outbound data transfers.<\/p>\n<h3>Securing Resources in Azure Virtual Network<\/h3>\n<p>Azure also offers several capabilities for safeguarding your network resources. One example is Azure Firewall, a cloud-based network security service.<\/p>\n<p>By enforcing application and network connectivity policies, Azure Firewall safeguards resources. Azure Firewall includes built-in high availability and limitless cloud scalability.<\/p>\n<p>The Azure Web Application Firewall (WAF), in addition to the Azure Firewall, is designed specifically to protect web applications. WAF protects against common web application exploits and vulnerabilities, including those on the OWASP Top Ten list.<\/p>\n<p>Azure also includes free basic distributed denial-of-service (DDoS) attack protection. The basic service monitors traffic and automatically mitigates attacks.<\/p>\n<p>One can also upgrade to standard protection, which includes rapid response assistance, mitigation policies, metrics, and alerts.<\/p>\n<h3>Conclusion<\/h3>\n<p>Finally, we are into the last section of our article. In this article, we learnt about virtual networks and how to create them. Now, once the developer has learnt about it they should start learning about the security.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today\u2019s article, we will learn about Azure virtual network which will help the developers to perform their tasks by keeping the security section in mind. What is Azure Virtual Network? The Azure Virtual&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":108205,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26500],"tags":[26686,26687,26688],"class_list":["post-108109","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-azure-tutorials","tag-azure-virtual-network","tag-create-virtual-network-in-azure","tag-elements-of-azure-virtual-network"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create Virtual Network in Azure - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn What is Azure Virtual Network, how to create it and Subnets, Azure Virtual Network Capabilities, Elements, Pricing, Securing Resources.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create Virtual Network in Azure - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn What is Azure Virtual Network, how to create it and Subnets, Azure Virtual Network Capabilities, Elements, Pricing, Securing Resources.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-17T03:30:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-17T04:04:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/azure-create-virtual-network.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create Virtual Network in Azure - DataFlair","description":"Learn What is Azure Virtual Network, how to create it and Subnets, Azure Virtual Network Capabilities, Elements, Pricing, Securing Resources.","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:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/","og_locale":"en_US","og_type":"article","og_title":"Create Virtual Network in Azure - DataFlair","og_description":"Learn What is Azure Virtual Network, how to create it and Subnets, Azure Virtual Network Capabilities, Elements, Pricing, Securing Resources.","og_url":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2022-03-17T03:30:40+00:00","article_modified_time":"2022-03-17T04:04:32+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/azure-create-virtual-network.webp","type":"image\/webp"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Create Virtual Network in Azure","datePublished":"2022-03-17T03:30:40+00:00","dateModified":"2022-03-17T04:04:32+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/"},"wordCount":983,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/azure-create-virtual-network.webp","keywords":["Azure virtual network","create virtual network in azure","Elements of Azure Virtual Network"],"articleSection":["Microsoft Azure Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/","url":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/","name":"Create Virtual Network in Azure - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/azure-create-virtual-network.webp","datePublished":"2022-03-17T03:30:40+00:00","dateModified":"2022-03-17T04:04:32+00:00","description":"Learn What is Azure Virtual Network, how to create it and Subnets, Azure Virtual Network Capabilities, Elements, Pricing, Securing Resources.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/azure-create-virtual-network.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/03\/azure-create-virtual-network.webp","width":1200,"height":628,"caption":"azure create virtual network"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/create-virtual-network-in-azure\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Microsoft Azure Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/microsoft-azure-tutorials\/"},{"@type":"ListItem","position":3,"name":"Create Virtual Network in Azure"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=108109"}],"version-history":[{"count":7,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108109\/revisions"}],"predecessor-version":[{"id":108226,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/108109\/revisions\/108226"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/108205"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=108109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=108109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=108109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}