{"id":2375,"date":"2022-02-13T14:31:07","date_gmt":"2022-02-13T14:31:07","guid":{"rendered":"https:\/\/exceedthecloud.com\/?p=2375"},"modified":"2022-02-13T14:37:43","modified_gmt":"2022-02-13T14:37:43","slug":"configure-ddos-protection-on-a-virtual-network-using-the-azure-portal","status":"publish","type":"post","link":"https:\/\/exceedthecloud.com\/?p=2375","title":{"rendered":"Configure DDoS Protection on a virtual network using the Azure portal"},"content":{"rendered":"\n<p>Being responsible for Exceedlabs\u2019s Network Security team, you are going to run a mock DDoS attack on the virtual network. The following steps walk you through creating a virtual network, configuring DDoS Protection, and creating an attack which you can observe and monitor with the help of telemetry and metrics.<\/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 a resource group<\/li><li>Task 2: Create a DDoS Protection plan<\/li><li>Task 3: Enable DDoS Protection on a new virtual network<\/li><li>Task 4: Configure DDoS telemetry<\/li><li>Task 5: Configure DDoS diagnostic logs<\/li><li>Task 6: Configure DDoS alerts<\/li><li>Task 7: Submit a DDoS service request to run a DDoS attack<\/li><\/ul>\n\n\n\n<p><strong>Task 1: Create a resource group<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Log in to your Azure account.<\/li><li>On the Azure portal home page, select <strong>Resource groups<\/strong>.<\/li><li>Select <strong>Create<\/strong>.<\/li><li>On the <strong>Basics<\/strong> tab, in <strong>Resource group<\/strong>, enter <strong>ExceedlabsResourceGroup<\/strong>.<\/li><li>In <strong>Region<\/strong>, select East US.<\/li><li>Select <strong>Review + create<\/strong>.<\/li><li>Select <strong>Create<\/strong>.<\/li><\/ul>\n\n\n\n<p><strong>Task 2: Create a DDoS Protection plan<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Azure portal home page, in the search box type <strong>DDoS<\/strong> and select <strong>DDoS protection plan<\/strong> when it appears.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"455\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-16-1024x455.png\" alt=\"\" class=\"wp-image-2376\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-16-1024x455.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-16-300x133.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-16-768x341.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img1-16.png 1182w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Select <strong>+ Create<\/strong>.<\/li><li>On the <strong>Basics<\/strong> tab, in the <strong>Resource group<\/strong> list, select the resource group you just created.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"955\" height=\"518\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img2-16.png\" alt=\"\" class=\"wp-image-2377\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img2-16.png 955w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img2-16-300x163.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img2-16-768x417.png 768w\" sizes=\"auto, (max-width: 955px) 100vw, 955px\" \/><\/figure>\n\n\n\n<p>In the <strong>Instance name<\/strong> box, type <strong>MyDdoSProtectionPlan<\/strong>, then select <strong>Review + create<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"837\" height=\"515\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-15.png\" alt=\"\" class=\"wp-image-2378\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-15.png 837w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-15-300x185.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-15-768x473.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img3-15-80x50.png 80w\" sizes=\"auto, (max-width: 837px) 100vw, 837px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Select <strong>Create<\/strong>.<\/li><\/ul>\n\n\n\n<p><strong>Task 3: Enable DDoS Protection on a new virtual network<\/strong><\/p>\n\n\n\n<p>Here you will enable DDoS on a new virtual network rather than on an existing one, so first you need to create the new virtual network, then enable DDoS protection on it using the plan you created previously.<\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Azure portal home page, select <strong>Create a resource<\/strong>, then in the search box, type <strong>Virtual Network<\/strong>, then select <strong>Virtual Network<\/strong> when it appears.<\/li><li>On the <strong>Virtual Network<\/strong> page, select <strong>Create<\/strong>.<\/li><li>On the <strong>Basics<\/strong> tab, select the resource group you created previously.<\/li><li>In the <strong>Name<\/strong> box, type <strong>MyVirtualNetwork<\/strong>, then click the <strong>Security<\/strong> tab.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"959\" height=\"514\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img4-15.png\" alt=\"\" class=\"wp-image-2379\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img4-15.png 959w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img4-15-300x161.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img4-15-768x412.png 768w\" sizes=\"auto, (max-width: 959px) 100vw, 959px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the <strong>Security<\/strong> tab, next to <strong>DDoS Protection Standard<\/strong>, select <strong>Enable<\/strong>.<\/li><li>In the <strong>DDoS protection plan<\/strong> drop-down list, select <strong>MyDdosProtectionPlan<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"926\" height=\"511\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img5-15.png\" alt=\"\" class=\"wp-image-2380\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img5-15.png 926w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img5-15-300x166.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img5-15-768x424.png 768w\" sizes=\"auto, (max-width: 926px) 100vw, 926px\" \/><\/figure>\n\n\n\n<p>Click <strong>Review + create<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"517\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img6-14.png\" alt=\"\" class=\"wp-image-2381\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img6-14.png 800w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img6-14-300x194.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img6-14-768x496.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Click <strong>Create<\/strong>.<\/li><\/ul>\n\n\n\n<p><strong>Task 4: Configure DDoS telemetry<\/strong><\/p>\n\n\n\n<p>You create a Public IP address, and then set up telemetry in the next steps.<\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Azure portal home page, select <strong>Create a resource<\/strong>, then in the search box, type <strong>public ip<\/strong>, then click <strong>Public IP address<\/strong> when it appears.<\/li><li>On the <strong>Public IP address<\/strong> page, click <strong>Create<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"498\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-14-1024x498.png\" alt=\"\" class=\"wp-image-2382\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-14-1024x498.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-14-300x146.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-14-768x373.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img7-14.png 1068w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the <strong>Create public IP address<\/strong> page, under <strong>SKU<\/strong>, select <strong>Basic<\/strong>.<\/li><li>In the <strong>Name<\/strong> box, type <strong>MyPublicIPAddress<\/strong>.<\/li><li>Under <strong>IP address assignment<\/strong>, select <strong>Static<\/strong>.<\/li><li>In <strong>DNS name label<\/strong>, type <strong>mypublicdnsmn12022022<\/strong> (where xx is your initials to make this unique).<\/li><li>Select your resource group from the list.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"411\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-14-1024x411.png\" alt=\"\" class=\"wp-image-2383\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-14-1024x411.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-14-300x120.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-14-768x308.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img8-14.png 1300w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Click <strong>Create<\/strong>.<\/li><li>On the Azure home page, click <strong>All resources<\/strong>.<\/li><li>In the list of your resources, click <strong>MyDdosProtectionPlan<\/strong>.<\/li><li>Under <strong>Monitoring<\/strong>, select <strong>Metrics<\/strong>.<\/li><li>Select the <strong>Scope<\/strong> box, then select the checkbox next to <strong>MyPublicIPAddress<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"832\" height=\"555\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img9-14.png\" alt=\"\" class=\"wp-image-2384\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img9-14.png 832w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img9-14-300x200.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img9-14-768x512.png 768w\" sizes=\"auto, (max-width: 832px) 100vw, 832px\" \/><\/figure>\n\n\n\n<p>Click <strong>Apply<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"829\" height=\"560\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img10-14.png\" alt=\"\" class=\"wp-image-2385\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img10-14.png 829w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img10-14-300x203.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img10-14-768x519.png 768w\" sizes=\"auto, (max-width: 829px) 100vw, 829px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>In the <strong>Metrics<\/strong> box, select <strong>Inbound packets dropped DDoS<\/strong>.<\/li><li>In the <strong>Aggregation<\/strong> box, select <strong>Max<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"982\" height=\"501\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-13.png\" alt=\"\" class=\"wp-image-2386\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-13.png 982w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-13-300x153.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img11-13-768x392.png 768w\" sizes=\"auto, (max-width: 982px) 100vw, 982px\" \/><\/figure>\n\n\n\n<p><strong>Task 5: Configure DDoS diagnostic logs<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Azure home page, click <strong>All resources<\/strong>.<\/li><li>In the list of your resources, click <strong>MyPublicIPAddress<\/strong>.<\/li><li>Under <strong>Monitoring<\/strong>, select <strong>Diagnostic settings<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"509\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-12.png\" alt=\"\" class=\"wp-image-2387\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-12.png 979w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-12-300x156.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-12-768x399.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"509\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-13.png\" alt=\"\" class=\"wp-image-2388\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-13.png 979w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-13-300x156.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img12-13-768x399.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Click <strong>Add diagnostic setting<\/strong>.<\/li><li>On the <strong>Diagnostic setting<\/strong> page, in the <strong>Diagnostic setting name<\/strong> box, type <strong>MyDiagnosticSetting<\/strong>.<\/li><li>Under <strong>Category details<\/strong>, select all 3 <strong>log<\/strong> checkboxes and the <strong>AllMetrics<\/strong> checkbox.<\/li><li>Under <strong>Destination details<\/strong>, select the <strong>Send to Log Analytics workspace<\/strong> checkbox. Here, you could select a pre-existing Log Analytics workspace, but as you haven\u2019t set up a destination for the diagnostic logs yet, you will just enter the settings, but then discard them in the next step in this lab.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"432\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-13-1024x432.png\" alt=\"\" class=\"wp-image-2389\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-13-1024x432.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-13-300x126.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-13-768x324.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img13-13.png 1210w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Normally you would now click <strong>Save<\/strong> to save your diagnostic settings. Note that this option is still grayed out as we cannot complete the setting configuration yet.<\/li><li>Click <strong>Discard<\/strong>, then click <strong>Yes<\/strong>.<\/li><\/ul>\n\n\n\n<p><strong>Task 6: Configure DDoS alerts<\/strong><\/p>\n\n\n\n<p>In this step you will create a virtual machine, assign a public IP address to it, and then configure DDoS alerts.<\/p>\n\n\n\n<p><strong>Create the VM<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Azure portal home page, select <strong>Create a resource<\/strong>, then in the search box, type <strong>virtual machine<\/strong>, then click <strong>Virtual machine<\/strong> when it appears.<\/li><li>On the <strong>Virtual machine<\/strong> page, click <strong>Create<\/strong>.<\/li><li>On the <strong>Basics<\/strong> tab, create a new VM using the information in the table below.<\/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><strong>ExceedlabsResourceGroup<\/strong><\/td><\/tr><tr><td>Virtual machine name<\/td><td><strong>MyVirtualMachine<\/strong><\/td><\/tr><tr><td>Region<\/td><td>Your region<\/td><\/tr><tr><td>Availability options<\/td><td><strong>No infrastructure redundancy required<\/strong><\/td><\/tr><tr><td>Image<\/td><td><strong>Ubuntu Server 18.04 LTS &#8211; Gen 1<\/strong> (Select Configure VM Generation link if needed)<\/td><\/tr><tr><td>Size<\/td><td>Select <strong>See all sizes<\/strong>, then choose <strong>B1ls<\/strong> in the list and choose <strong>Select<\/strong> <strong>(Standard_B1ls &#8211; 1 vcpu, 0.5 GiB memory<\/strong><\/td><\/tr><tr><td>Authentication type<\/td><td><strong>SSH public key<\/strong><\/td><\/tr><tr><td>Username<\/td><td><strong>azureuser<\/strong><\/td><\/tr><tr><td>SSH public key source<\/td><td><strong>Generate new key pair<\/strong><\/td><\/tr><tr><td>Key pair name<\/td><td><strong>myvirtualmachine-ssh-key<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\" start=\"4\"><li>Click <strong>Review + create<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"514\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-14.png\" alt=\"\" class=\"wp-image-2390\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-14.png 979w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-14-300x158.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img14-14-768x403.png 768w\" sizes=\"auto, (max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Click <strong>Create<\/strong>.<\/li><li>In the <strong>Generate new key pair<\/strong> dialog box, click <strong>Download private key and create resource<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"456\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-13-1024x456.png\" alt=\"\" class=\"wp-image-2391\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-13-1024x456.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-13-300x134.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-13-768x342.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img15-13.png 1184w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Save the private key.<\/li><li>When deployment is complete, click <strong>Go to resource<\/strong>.<\/li><\/ul>\n\n\n\n<p><strong>Assign the Public IP address<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the <strong>Overview<\/strong> page of the new virtual machine, under <strong>Settings<\/strong>, click <strong>Networking<\/strong>.<\/li><li>Next to <strong>Network Interface<\/strong>, click <strong>myvirtualmachine-nic<\/strong>.<\/li><li>Under <strong>Settings<\/strong>, click <strong>IP configurations<\/strong>.<\/li><li>Select <strong>ipconfig1<\/strong>.<\/li><li>In the <strong>Public IP address<\/strong> list, select <strong>MyPublicIPAddress<\/strong>.<\/li><li>Click <strong>Save<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"883\" height=\"445\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img16-13.png\" alt=\"\" class=\"wp-image-2392\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img16-13.png 883w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img16-13-300x151.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img16-13-768x387.png 768w\" sizes=\"auto, (max-width: 883px) 100vw, 883px\" \/><\/figure>\n\n\n\n<p><strong>Configure DDoS alerts<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Azure home page, click <strong>All resources<\/strong>.<\/li><li>In the list of your resources, click <strong>MyDdosProtectionPlan<\/strong>.<\/li><li>Under <strong>Monitoring<\/strong>, select <strong>Alerts<\/strong>.<\/li><li>Click <strong>New alert rule<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"421\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-13-1024x421.png\" alt=\"\" class=\"wp-image-2393\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-13-1024x421.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-13-300x123.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-13-768x315.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img17-13.png 1293w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the <strong>Create alert rule<\/strong> page, under <strong>Scope<\/strong>, click <strong>Edit resource<\/strong>.<\/li><li>In the <strong>Select a resource<\/strong> pane, in the <strong>Filter by resource type<\/strong> box, scroll down the list and select <strong>Public IP addresses<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"560\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img18-12.png\" alt=\"\" class=\"wp-image-2394\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img18-12.png 831w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img18-12-300x202.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img18-12-768x518.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>In the <strong>Resource<\/strong> list, select <strong>MyPublicIPAddress<\/strong>, then click <strong>Done<\/strong>.<\/li><li>On the <strong>Create alert rule<\/strong> page, under <strong>Condition<\/strong>, click <strong>Add condition<\/strong>.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"810\" height=\"517\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img19-11.png\" alt=\"\" class=\"wp-image-2395\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img19-11.png 810w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img19-11-300x191.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img19-11-768x490.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img19-11-80x50.png 80w\" sizes=\"auto, (max-width: 810px) 100vw, 810px\" \/><\/figure>\n\n\n\n<p>Select <strong>Under DDoS attack or not<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"836\" height=\"555\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img20-11.png\" alt=\"\" class=\"wp-image-2396\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img20-11.png 836w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img20-11-300x199.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img20-11-768x510.png 768w\" sizes=\"auto, (max-width: 836px) 100vw, 836px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>In the <strong>Operator<\/strong> box select <strong>Greater than or equal to<\/strong>.<\/li><li>In <strong>Threshold value<\/strong>, enter <strong>1<\/strong> (means under attack).<\/li><li>Click <strong>Done<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"835\" height=\"554\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img21-10.png\" alt=\"\" class=\"wp-image-2397\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img21-10.png 835w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img21-10-300x199.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img21-10-768x510.png 768w\" sizes=\"auto, (max-width: 835px) 100vw, 835px\" \/><\/figure>\n\n\n\n<p>Back on the <strong>Create alert rule<\/strong> page, scroll down to the <strong>Alert rule details<\/strong> section and in <strong>Alert rule name<\/strong>, enter <strong>MyDdosAlert<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"483\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img22-9-1024x483.png\" alt=\"\" class=\"wp-image-2398\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img22-9-1024x483.png 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img22-9-300x141.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img22-9-768x362.png 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img22-9.png 1092w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Click <strong>Create alert rule<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"855\" height=\"511\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img23-9.png\" alt=\"\" class=\"wp-image-2399\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img23-9.png 855w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img23-9-300x179.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img23-9-768x459.png 768w\" sizes=\"auto, (max-width: 855px) 100vw, 855px\" \/><\/figure>\n\n\n\n<p><strong>Task 7: Submit a DDoS service request to run a DDoS attack<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>Create an account with <a href=\"https:\/\/breakingpoint.cloud\/\" target=\"_blank\" rel=\"noreferrer noopener\">BreakingPoint Cloud<\/a><\/li><li>Set up your DDoS test as per the settings in the screenshot below (you may need to select the 100k pps test size with the trial account), but specifying the IP address of your own <strong>MyPublicIPAddress<\/strong> resource in the <strong>Target IP Address<\/strong> box (e.g., <strong>10.90.186.108<\/strong>)&nbsp;<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img30-1024x576.jpg\" alt=\"\" class=\"wp-image-2400\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img30-1024x576.jpg 1024w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img30-300x169.jpg 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img30-768x432.jpg 768w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img30-1536x864.jpg 1536w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img30.jpg 1605w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"827\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img31-4.png\" alt=\"\" class=\"wp-image-2401\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img31-4.png 793w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img31-4-288x300.png 288w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img31-4-768x801.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\" type=\"1\"><li>On the Azure portal home page, click <strong>All resources<\/strong>.<\/li><li>In the resources list, click your <strong>MyPublicIPAddress<\/strong> resource, then under <strong>Monitoring<\/strong>, click <strong>Metrics<\/strong>.<\/li><li>In the <strong>Metric<\/strong> box, select <strong>Under DDoS attack or not<\/strong> from the list.<\/li><li>And here you can see DDoS attack as it happened. Note it may take the full 10 minutes before you see the results.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"783\" src=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img32-8.png\" alt=\"\" class=\"wp-image-2402\" srcset=\"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img32-8.png 904w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img32-8-300x260.png 300w, https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/img32-8-768x665.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/figure>\n\n\n\n<p>Congratulations! You have configured and tested DDoS Protection on a virtual network.<\/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<\/mark> Azure resources after your labs for cost saving<\/mark> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Being responsible for Exceedlabs\u2019s Network Security team, you are going to run a mock DDoS attack on the virtual network. The following steps walk you through creating a virtual network, configuring DDoS Protection, and creating an attack which you can &hellip; <a href=\"https:\/\/exceedthecloud.com\/?p=2375\">Continued<\/a><\/p>\n","protected":false},"author":1,"featured_media":2404,"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,18,19],"tags":[94,58,35,31],"class_list":["post-2375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networking","category-practical-labs-series","category-security","category-virtual-machines","tag-ddos","tag-security","tag-virtual-machines","tag-virtual-network"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/exceedthecloud.com\/wp-content\/uploads\/2022\/02\/istockphoto-843534370-170667a.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/2375","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=2375"}],"version-history":[{"count":4,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/2375\/revisions"}],"predecessor-version":[{"id":2408,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/posts\/2375\/revisions\/2408"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=\/wp\/v2\/media\/2404"}],"wp:attachment":[{"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exceedthecloud.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}