{"id":2291,"date":"2022-02-11T10:48:18","date_gmt":"2022-02-11T10:48:18","guid":{"rendered":"https:\/\/exceedthecloud.com\/?p=2291"},"modified":"2022-02-11T10:57:54","modified_gmt":"2022-02-11T10:57:54","slug":"deploy-azure-application-gateway","status":"publish","type":"post","link":"https:\/\/exceedthecloud.com\/?p=2291","title":{"rendered":"Deploy Azure Application Gateway"},"content":{"rendered":"\n<p>In this lab, you use the Azure portal to create an application gateway. Then you test it to make sure it works correctly.<\/p>\n\n\n\n<p>The application gateway directs application web traffic to specific resources in a backend pool. You assign listeners to ports, create rules, and add resources to a backend pool. For the sake of simplicity, this article uses a simple setup with a public front-end IP, a basic listener to host a single site on the application gateway, a basic request routing rule, and two virtual machines in the backend pool.<\/p>\n\n\n\n<p>For Azure to communicate between the resources that you create, it needs a virtual network. You can either create a new virtual network or use an existing one. In this example, you\u2019ll create a new virtual network while you create the application gateway. Application Gateway instances are created in separate subnets. You create two subnets in this example: one for the application gateway, and another for the backend servers.<\/p>\n\n\n\n<p>In this lab, you will:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Task 1: Create an application gateway<\/li><li>Task 2: Create virtual machines<\/li><li>Task 3: Add backend servers to backend pool<\/li><li>Task 4: Test the application gateway<\/li><\/ul>\n\n\n\n<p>Prerequisites for this labs :\u00a0<a href=\"https:\/\/azure.microsoft.com\/en-us\/free\/\" target=\"_blank\" rel=\"noreferrer noopener\">Azure Account<\/a>\u00a0\/\u00a0<a href=\"https:\/\/github.com\/marcelin-ndjila\/Practical-Labs-Series\/blob\/master\/Azurelabs06.zip\" target=\"_blank\" rel=\"noreferrer noopener\">Download Labs Files here<\/a><\/p>\n\n\n\n<p><strong>Task 1: Create an application gateway<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Sign in to the <a href=\"https:\/\/portal.azure.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Azure portal<\/a> with your Azure account.<\/li><\/ul>\n\n\n\n<p>On any Azure Portal page, in <strong>Search resources, services and docs (G+\/)<\/strong>, enter application gateway, and then select <strong>Application gateways<\/strong> from the results.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"530\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-14-1024x530.png\" alt=\"\" class=\"wp-image-2292\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-14-1024x530.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-14-300x155.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-14-768x397.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-14-1536x794.png 1536w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-14-2048x1059.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Application gateways page, select <strong>+ Create<\/strong>.<\/li><li>On the Create application gateway <strong>Basics<\/strong> tab, enter, or select the following information:<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Setting<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Subscription<\/td><td>Select your subscription.<\/td><\/tr><tr><td>Resource group<\/td><td>Select Create new ExceedlabsResourceGroup<\/td><\/tr><tr><td>Application Gateway<\/td><td>ExceedlabsAppGateway<\/td><\/tr><tr><td>Region<\/td><td>Select <strong>East US<\/strong><\/td><\/tr><tr><td>Virtual Network<\/td><td>Select <strong>Create new<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\" start=\"3\"><li>In Create virtual network, enter, or select the following information:<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Setting<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Name<\/td><td>ExceedlabsVNet<\/td><\/tr><tr><td><strong>ADDRESS SPACE<\/strong><\/td><td>&nbsp;<\/td><\/tr><tr><td>Address range<\/td><td>10.0.0.0\/16<\/td><\/tr><tr><td><strong>SUBNETS<\/strong><\/td><td>&nbsp;<\/td><\/tr><tr><td>Subnet name<\/td><td>Change <strong>default<\/strong> to <strong>AGSubnet<\/strong><\/td><\/tr><tr><td>Address range<\/td><td>10.0.0.0\/24<\/td><\/tr><tr><td>Subnet name<\/td><td>BackendSubnet<\/td><\/tr><tr><td>Address range<\/td><td>10.0.1.0\/24<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"828\" height=\"559\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img2-14.png\" alt=\"\" class=\"wp-image-2293\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img2-14.png 828w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img2-14-300x203.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img2-14-768x518.png 768w\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" \/><\/figure>\n\n\n\n<p>Select <strong>OK<\/strong> to return to the Create application gateway Basics tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"516\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-13.png\" alt=\"\" class=\"wp-image-2294\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-13.png 795w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-13-300x195.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-13-768x498.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Accept the default values for the other settings and then select <strong>Next: Frontends<\/strong>.<\/li><li>On the <strong>Frontends<\/strong> tab, verify <strong>Frontend IP address type<\/strong> is set to <strong>Public<\/strong>.<\/li><li>Select <strong>Add new<\/strong> for the <strong>Public IP address<\/strong> and enter AGPublicIPAddress for the public IP address name, and then select <strong>OK<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"522\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img4-13.png\" alt=\"\" class=\"wp-image-2295\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img4-13.png 784w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img4-13-300x200.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img4-13-768x511.png 768w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Select <strong>Next: Backends<\/strong>.<\/li><li>On the <strong>Backends<\/strong> tab, select <strong>Add a backend pool<\/strong>.<\/li><li>In the <strong>Add a backend pool<\/strong> window that opens, enter the following values to create an empty backend pool:<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Setting<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Name<\/td><td>BackendPool<\/td><\/tr><tr><td>Add backend pool without targets<\/td><td>Yes<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\" start=\"4\"><li>In the <strong>Add a backend pool<\/strong> window, select <strong>Add<\/strong> to save the backend pool configuration and return to the <strong>Backends<\/strong> tab.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"565\" height=\"557\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img5-13.png\" alt=\"\" class=\"wp-image-2296\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img5-13.png 565w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img5-13-300x296.png 300w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/figure>\n\n\n\n<p>On the <strong>Backends<\/strong> tab, select <strong>Next: Configuration<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"855\" height=\"516\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img6-12.png\" alt=\"\" class=\"wp-image-2297\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img6-12.png 855w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img6-12-300x181.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img6-12-768x463.png 768w\" sizes=\"auto, (max-width: 855px) 100vw, 855px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the <strong>Configuration<\/strong> tab, you\u2019ll connect the frontend and backend pool you created using a routing rule.<\/li><li>In the <strong>Routing rules<\/strong> column, select <strong>Add a routing rule<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"407\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-12-1024x407.png\" alt=\"\" class=\"wp-image-2298\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-12-1024x407.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-12-300x119.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-12-768x305.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-12.png 1288w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>In the <strong>Rule name<\/strong> box, enter <strong>RoutingRule<\/strong>.<\/li><li>On the <strong>Listener<\/strong> tab, enter or select the following information:<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Setting<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Listener name<\/td><td>Listener<\/td><\/tr><tr><td>Frontend IP<\/td><td>Select <strong>Public<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\" start=\"3\"><li>Accept the default values for the other settings on the <strong>Listener<\/strong> tab.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"827\" height=\"565\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-12.png\" alt=\"\" class=\"wp-image-2299\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-12.png 827w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-12-300x205.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-12-768x525.png 768w\" sizes=\"auto, (max-width: 827px) 100vw, 827px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Select the <strong>Backend targets<\/strong> tab to configure the rest of the routing rule.<\/li><li>On the <strong>Backend targets<\/strong> tab, enter or select the following information:<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Setting<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Target type<\/td><td>Backend pool<\/td><\/tr><tr><td>HTTP Settings<\/td><td><strong>Create new<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\" start=\"3\"><li>In <strong>Add a HTTP setting<\/strong>, enter or select the following information:<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Setting<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><\/thead><tbody><tr><td>HTTP settings name<\/td><td>HTTPSetting<\/td><\/tr><tr><td>Backend port<\/td><td>80<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"824\" height=\"556\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img9-12.png\" alt=\"\" class=\"wp-image-2300\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img9-12.png 824w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img9-12-300x202.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img9-12-768x518.png 768w\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" \/><\/figure>\n\n\n\n<p>Accept the default values for the other settings in the <strong>Add an HTTP setting<\/strong> window, then select <strong>Add<\/strong> to return to <strong>Add a routing rule<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"824\" height=\"556\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img10-12.png\" alt=\"\" class=\"wp-image-2301\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img10-12.png 824w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img10-12-300x202.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img10-12-768x518.png 768w\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" \/><\/figure>\n\n\n\n<p>Select <strong>Add<\/strong> to save the routing rule and return to the <strong>Configuration<\/strong> tab<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"413\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-11-1024x413.png\" alt=\"\" class=\"wp-image-2302\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-11-1024x413.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-11-300x121.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-11-768x309.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-11.png 1278w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select <strong>Next: Tags<\/strong> and then <strong>Next: Review + create<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"412\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-10-1024x412.png\" alt=\"\" class=\"wp-image-2303\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-10-1024x412.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-10-300x121.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-10-768x309.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-10.png 1297w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Review the settings on the <strong>Review + create<\/strong> tab<\/li><li>Select <strong>Create<\/strong> to create the virtual network, the public IP address, and the application gateway.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"514\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-11.png\" alt=\"\" class=\"wp-image-2304\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-11.png 853w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-11-300x181.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-11-768x463.png 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/figure>\n\n\n\n<p>It may take several minutes for Azure to create the application gateway. Wait until the deployment finishes successfully before moving on to the next section.<\/p>\n\n\n\n<p><strong>Task 2: Create virtual machines<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>In the Azure portal, open the <strong>PowerShell<\/strong> session within the <strong>Cloud Shell<\/strong> pane.<\/li><li>In the toolbar of the Cloud Shell pane, select the Upload\/Download files icon, in the drop-down menu, select Upload and upload the following files <strong>backend.json<\/strong> and <strong>backend.parameters.json<\/strong> into the Cloud Shell home directory from the source folder <strong>F:\\Allfiles\\Labs\\M05<\/strong>.<\/li><li>Deploy the following ARM templates to create the VMs needed for this lab:<\/li><\/ul>\n\n\n\n<p>code<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$RGName = \"ExceedlabsResourceGroup\"\n   \nNew-AzResourceGroupDeployment -ResourceGroupName $RGName -TemplateFile backend.json -TemplateParameterFile backend.parameters.json\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"329\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-12-1024x329.png\" alt=\"\" class=\"wp-image-2305\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-12-1024x329.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-12-300x97.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-12-768x247.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-12.png 1346w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\" start=\"3\"><li>When the deployment is complete, go to the Azure portal home page, and then select <strong>Virtual Machines<\/strong>.<\/li><li>Verify that both virtual machines have been created.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"234\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-11-1024x234.png\" alt=\"\" class=\"wp-image-2306\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-11-1024x234.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-11-300x69.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-11-768x176.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-11.png 1282w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Task 3: Add backend servers to backend pool<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Azure portal menu, select <strong>All resources<\/strong> or search for and select All resources. Then select <strong>ExceedlabsAppGateway<\/strong>.<\/li><li>Under <strong>Settings<\/strong>, select <strong>Backend pools<\/strong>.<\/li><li>Select <strong>BackendPool<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"980\" height=\"463\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img16-11.png\" alt=\"\" class=\"wp-image-2307\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img16-11.png 980w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img16-11-300x142.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img16-11-768x363.png 768w\" sizes=\"auto, (max-width: 980px) 100vw, 980px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Edit backend pool page, under <strong>Backend targets<\/strong>, in <strong>Target type<\/strong>, select <strong>Virtual machine<\/strong>.<\/li><li>Under <strong>Target<\/strong>, select <strong>BackendVM1.<\/strong><\/li><li>In <strong>Target type<\/strong>, select <strong>Virtual machine<\/strong>.<\/li><li>Under <strong>Target<\/strong>, select <strong>BackendVM2.<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"876\" height=\"516\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-11.png\" alt=\"\" class=\"wp-image-2308\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-11.png 876w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-11-300x177.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-11-768x452.png 768w\" sizes=\"auto, (max-width: 876px) 100vw, 876px\" \/><\/figure>\n\n\n\n<p>Select <strong>Save<\/strong>.<\/p>\n\n\n\n<p>Wait for the deployment to complete before proceeding to the next step.<\/p>\n\n\n\n<p><strong>Task 4: Test the application gateway<\/strong><\/p>\n\n\n\n<p>Although IIS isn\u2019t required to create the application gateway, you installed it in this lab to verify if Azure successfully created the application gateway.<\/p>\n\n\n\n<p><strong>Use IIS to test the application gateway:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Find the public IP address for the application gateway on its <strong>Overview<\/strong> page.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"502\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img18-10.png\" alt=\"\" class=\"wp-image-2309\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img18-10.png 985w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img18-10-300x153.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img18-10-768x391.png 768w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Copy the public IP address, and then paste it into the address bar of your browser to browse that IP address.<\/li><li>Check the response. A valid response verifies that the application gateway was successfully created and can successfully connect with the backend.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"308\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img19-9.png\" alt=\"\" class=\"wp-image-2310\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img19-9.png 664w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img19-9-300x139.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/figure>\n\n\n\n<p>Refresh the browser multiple times and you should see connections to both BackendVM1 and BackendVM2.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"323\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img20-9.png\" alt=\"\" class=\"wp-image-2311\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img20-9.png 663w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img20-9-300x146.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<p>Congratulations! You have configured and tested an Azure Application Gateway.<\/p>\n\n\n\n<p><mark class=\"kt-highlight\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-virtue-primary-color\">Reminder: Don&#8217;t forget to delete or shutdown all unused Azure resources after your labs for cost saving<\/mark><\/mark><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this lab, you use the Azure portal to create an application gateway. Then you test it to make sure it works correctly. The application gateway directs application web traffic to specific resources in a backend pool. You assign listeners &hellip; <a href=\"https:\/\/exceedthecloud.com\/?p=2291\">Continued<\/a><\/p>\n","protected":false},"author":1,"featured_media":2315,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"kt_blocks_editor_width":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17,4],"tags":[92,35,31],"class_list":["post-2291","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networking","category-practical-labs-series","tag-application-gateway","tag-virtual-machines","tag-virtual-network"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/istockphoto-1209777443-612x612-1.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/2291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2291"}],"version-history":[{"count":6,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/2291\/revisions"}],"predecessor-version":[{"id":2320,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/2291\/revisions\/2320"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/media\/2315"}],"wp:attachment":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}