{"id":16686,"date":"2020-08-17T12:50:04","date_gmt":"2020-08-17T12:50:04","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=16686"},"modified":"2020-08-26T11:00:17","modified_gmt":"2020-08-26T11:00:17","slug":"creating-and-configuring-application-security-groups","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/","title":{"rendered":"Creating and Configuring Application Security Groups"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-500-microsoft-azure-security-technologies\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go back to AZ-500 Tutorials<\/a><\/p>\n\n\n\n<p>In this tutorial, we will learn and understand about creating and configuring the application security groups with testing traffic filters.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Creating application security groups<\/strong><\/h4>\n\n\n\n<p>An application security group gives you access to group together servers with relatable functions, such as web servers.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, on the Azure portal menu or from the Home page, select Create a resource.<\/li><li>Secondly, in the Search the Marketplace box, enter the Application security group. However, when the Application security group appears in the search results, select it, select Application security group again under Everything, and then select Create.<\/li><li>Then, enter, or select, the following information, and then select Create:<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"241\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/az500-docs-25.png\" alt=\"Creating and Configuring Application Security Groups\" class=\"wp-image-16716\"\/><figcaption><strong>Image Source: Microsoft<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>After that, complete step 3 again, specifying the following values:<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"239\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/az500-docs-26.png\" alt=\"Application Security Groups\" class=\"wp-image-16717\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/az500-docs-26.png 800w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/az500-docs-26-750x224.png 750w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption><strong>Image Source: Microsoft<\/strong><\/figcaption><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Associating network security group to subnet<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, in the Search resources, services, and docs box at the top of the portal, begin typing myNsg. And, when myNsg appears in the search results, select it.<\/li><li>Secondly, under SETTINGS, select Subnets and then select + Associate.<\/li><li>Lastly, under the Associate subnet, select Virtual network and then select myVirtualNetwork. And, Select Subnet, select mySubnet, and then select OK.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-security-technologies-az-500-free-practice-test\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/AZ_500-practice-tests-8.png\" alt=\"AZ-500 practice tests\"\/><\/a><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Associating network interfaces to an ASG<\/strong><\/h4>\n\n\n\n<p>When the portal developed the VMs, then it created a network interface for each VM, and attached the network interface to the VM. However, add the network interface for each VM to one of the application security groups you created previously:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, in the Search resources, services, and docs box at the top of the portal. And, then begin typing myVmWeb. Select the myVmWeb VM when it appears in the search results.<\/li><li>Secondly, under SETTINGS, select Networking. Then, select Configure the application security groups and select myAsgWebServers for Application security groups, and then select Save.<\/li><li>Lastly, complete steps 1 and 2 again, searching for the myVmMgmt VM and selecting the myAsgMgmtServers ASG.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Testing traffic filters<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, connect to the myVmMgmt VM. And, when myVmMgmt appears in the search results, select it. Select the Connect button.<\/li><li>Secondly, select Download RDP file. Then, open the downloaded rdp file and select Connect. Here, enter the username and password you specified when creating the VM. And, select OK.<\/li><\/ul>\n\n\n\n<p><em>However, you may receive a certificate warning during the sign-in process. And, if you receive the warning, select Yes or Continue, to proceed with the connection.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Thirdly, connect to the myVmWeb VM from the myVmMgmt VM by entering the following command in a PowerShell session:<\/li><\/ul>\n\n\n\n<p><em>mstsc \/v:myVmWeb<\/em><\/p>\n\n\n\n<p>However, you will be able to connect to the myVmWeb VM from the myVmMgmt VM as VMs in the same virtual network can communicate with each other over any port, by default. But, you can&#8217;t create a remote desktop connection to the myVmWeb VM from the internet as the security rule for the myAsgWebServers doesn&#8217;t allow port 3389 inbound from the internet.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>After that, for installing Microsoft IIS on the myVmWeb VM, enter the following command from a PowerShell session on the myVmWeb VM:<\/li><\/ul>\n\n\n\n<h6 class=\"wp-block-heading\"><strong>PowerShell<\/strong><\/h6>\n\n\n\n<p><em>Install-WindowsFeature -name Web-Server -IncludeManagementTools<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>After completing the IIS installation, disconnect from the myVmWeb VM that will leave you in the myVmMgmt VM remote desktop connection. Therefore, disconnect from the myVmMgmt VM.<\/li><li>Next, in the Search resources, services, and docs box at the top of the Azure portal, start typing myVmWeb from your computer. When myVmWeb appears in the search results, select it.&nbsp;<\/li><li>Lastly, for confirming that you can access the myVmWeb web server from the internet, open an internet browser on your computer and browse to http:\/\/&lt;public-ip-address-from-previous-step&gt;.&nbsp;<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Cleaning up resources<\/strong><\/h4>\n\n\n\n<p>When no longer required, delete the resource group and all of the resources it contains:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Firstly, enter myResourceGroup in the Search box at the top of the portal. And, when you see myResourceGroup in the search results, select it.<\/li><li>Then, select the Delete resource group.<\/li><li>Lastly, enter myResourceGroup for TYPE THE RESOURCE GROUP NAME: and select Delete.<\/li><\/ul>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.testpreptraining.ai\/microsoft-azure-security-technologies-az-500-practice-exam\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"150\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/AZ-500-online-course-7.png\" alt=\"Az-304 Online course\" class=\"wp-image-16690\" srcset=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/AZ-500-online-course-7.png 961w, https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/AZ-500-online-course-7-750x117.png 750w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><\/a><\/figure><\/div>\n\n\n\n<p class=\"has-text-align-right\"><strong>Reference: <\/strong><a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/virtual-network\/tutorial-filter-network-traffic#create-application-security-groups\" target=\"_blank\" rel=\"noreferrer noopener\">Microsoft Documentation<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-500-microsoft-azure-security-technologies\/\" target=\"_blank\" rel=\"noreferrer noopener\"><a href=\"https:\/\/www.testpreptraining.ai\/tutorial\/exam-az-500-microsoft-azure-security-technologies\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go back to AZ-500 Tutorials<\/a><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go back to AZ-500 Tutorials In this tutorial, we will learn and understand about creating and configuring the application security groups with testing traffic filters. Creating application security groups An application security group gives you access to group together servers with relatable functions, such as web servers. Firstly, on the Azure portal menu or from&#8230;<\/p>\n","protected":false},"author":2,"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-16686","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>Creating and Configuring Application Security Groups | Microsoft AZ-500<\/title>\n<meta name=\"description\" content=\"Increase your skills by learning about Creating and Configuring Application Security Groups using Microsoft Azure AZ-500 online course 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\/creating-and-configuring-application-security-groups\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating and Configuring Application Security Groups | Microsoft AZ-500\" \/>\n<meta property=\"og:description\" content=\"Increase your skills by learning about Creating and Configuring Application Security Groups using Microsoft Azure AZ-500 online course Now!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-26T11:00:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/az500-docs-25.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\/creating-and-configuring-application-security-groups\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/\",\"name\":\"Creating and Configuring Application Security Groups | Microsoft AZ-500\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2020-08-17T12:50:04+00:00\",\"dateModified\":\"2020-08-26T11:00:17+00:00\",\"description\":\"Increase your skills by learning about Creating and Configuring Application Security Groups using Microsoft Azure AZ-500 online course Now!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating and Configuring Application Security Groups\"}]},{\"@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":"Creating and Configuring Application Security Groups | Microsoft AZ-500","description":"Increase your skills by learning about Creating and Configuring Application Security Groups using Microsoft Azure AZ-500 online course 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\/creating-and-configuring-application-security-groups\/","og_locale":"en_US","og_type":"article","og_title":"Creating and Configuring Application Security Groups | Microsoft AZ-500","og_description":"Increase your skills by learning about Creating and Configuring Application Security Groups using Microsoft Azure AZ-500 online course Now!","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-08-26T11:00:17+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2020\/08\/az500-docs-25.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\/creating-and-configuring-application-security-groups\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/","name":"Creating and Configuring Application Security Groups | Microsoft AZ-500","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2020-08-17T12:50:04+00:00","dateModified":"2020-08-26T11:00:17+00:00","description":"Increase your skills by learning about Creating and Configuring Application Security Groups using Microsoft Azure AZ-500 online course Now!","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/creating-and-configuring-application-security-groups\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"Creating and Configuring Application Security Groups"}]},{"@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\/16686","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=16686"}],"version-history":[{"count":3,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/16686\/revisions"}],"predecessor-version":[{"id":17907,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/16686\/revisions\/17907"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=16686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=16686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=16686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}