|
| 1 | +--- |
| 2 | +title: Manage health probes for Azure Load Balancer - Azure portal |
| 3 | +description: In this article, learn how to manage health probes for Azure Load Balancer using the Azure portal |
| 4 | +author: asudbring |
| 5 | +ms.author: allensu |
| 6 | +ms.service: load-balancer |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 03/02/2022 |
| 9 | +ms.custom: template-how-to #Required; leave this attribute/value as-is. |
| 10 | +--- |
| 11 | + |
| 12 | +# Manage health probes for Azure Load Balancer using the Azure portal |
| 13 | + |
| 14 | +Azure Load Balancer supports health probes to monitor the health of backend instances. In this article, you'll learn how to manage health probes for Azure Load Balancer. |
| 15 | + |
| 16 | +There are three types of health probes: |
| 17 | + |
| 18 | +| | Standard SKU | Basic SKU | |
| 19 | +| --- | --- | --- | |
| 20 | +| **Probe types** | TCP, HTTP, HTTPS | TCP, HTTP | |
| 21 | +| **Probe down behavior** | All probes down, all TCP flows continue. | All probes down, all TCP flows expire. | |
| 22 | + |
| 23 | +>[!IMPORTANT] |
| 24 | +>Load Balancer health probes originate from the IP address 168.63.129.16 and must not be blocked for probes to mark your instance as up. To see this probe traffic within your backend instance, review [the Azure Load Balancer FAQ](./load-balancer-faqs.yml). |
| 25 | +> |
| 26 | +> |
| 27 | +>Regardless of configured time-out threshold, HTTP(S) load balancer health probes will automatically mark the instance as down if the server returns any status code that isn't HTTP 200 OK or if the connection is terminated via TCP reset. |
| 28 | +
|
| 29 | +## Prerequisites |
| 30 | + |
| 31 | +- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
| 32 | + |
| 33 | +- A standard public load balancer in your subscription. For more information on creating an Azure Load Balancer, see [Quickstart: Create a public load balancer to load balance VMs using the Azure portal](quickstart-load-balancer-standard-public-portal.md). The load balancer name for the examples in this article is **myLoadBalancer**. |
| 34 | + |
| 35 | +## TCP health probe |
| 36 | + |
| 37 | +In this section, you'll learn how to add and remove a TCP health probe. A public load balancer is used in the examples. |
| 38 | + |
| 39 | +### Add a TCP health probe |
| 40 | + |
| 41 | +In this example, you'll create a TCP health probe to monitor port 80. |
| 42 | + |
| 43 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 44 | + |
| 45 | +2. In the search box at the top of the portal, enter **Load balancer**. Select **Load balancers** in the search results. |
| 46 | + |
| 47 | +3. Select **myLoadBalancer** or your load balancer. |
| 48 | + |
| 49 | +4. In the load balancer page, select **Health probes** in **Settings**. |
| 50 | + |
| 51 | +5. Select **+ Add** in **Health probes** to add a probe. |
| 52 | + |
| 53 | + :::image type="content" source="./media/manage-probes-how-to/add-probe.png" alt-text="Screenshot of the health probes page for Azure Load Balancer"::: |
| 54 | + |
| 55 | +6. Enter or select the following information in **Add health probe**. |
| 56 | + |
| 57 | +| Setting | Value | |
| 58 | +| ------- | ----- | |
| 59 | +| Name | Enter **myHealthProbe**. | |
| 60 | +| Protocol | Select **TCP**. | |
| 61 | +| Port | Enter the **TCP** port you wish to monitor. For this example, it's **port 80**. | |
| 62 | +| Interval | Enter an interval between probe checks. For this example, it's the default of **5**. | |
| 63 | +| Unhealthy threshold | Enter the threshold number for consecutive failures. For this example, it's the default of **2**. | |
| 64 | + |
| 65 | +7. Select **Add**. |
| 66 | + |
| 67 | + :::image type="content" source="./media/manage-probes-how-to/add-tcp-probe.png" alt-text="Screenshot of TCP probe addition."::: |
| 68 | + |
| 69 | +### Remove a TCP health probe |
| 70 | + |
| 71 | +In this example, you'll remove a TCP health probe. |
| 72 | + |
| 73 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 74 | + |
| 75 | +2. In the search box at the top of the portal, enter **Load balancer**. Select **Load balancers** in the search results. |
| 76 | + |
| 77 | +3. Select **myLoadBalancer** or your load balancer. |
| 78 | + |
| 79 | +4. In the load balancer page, select **Health probes** in **Settings**. |
| 80 | + |
| 81 | +5. Select the three dots next to the rule you want to remove. |
| 82 | + |
| 83 | +6. Select **Delete**. |
| 84 | + |
| 85 | + :::image type="content" source="./media/manage-probes-how-to/remove-tcp-probe.png" alt-text="Screenshot of TCP probe removal."::: |
| 86 | + |
| 87 | +## HTTP health probe |
| 88 | + |
| 89 | +In this section, you'll learn how to add and remove an HTTP health probe. A public load balancer is used in the examples. |
| 90 | + |
| 91 | +### Add an HTTP health probe |
| 92 | + |
| 93 | +In this example, you'll create an HTTP health probe. |
| 94 | + |
| 95 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 96 | + |
| 97 | +2. In the search box at the top of the portal, enter **Load balancer**. Select **Load balancers** in the search results. |
| 98 | + |
| 99 | +3. Select **myLoadBalancer** or your load balancer. |
| 100 | + |
| 101 | +4. In the load balancer page, select **Health probes** in **Settings**. |
| 102 | + |
| 103 | +5. Select **+ Add** in **Health probes** to add a probe. |
| 104 | + |
| 105 | + :::image type="content" source="./media/manage-probes-how-to/add-probe.png" alt-text="Screenshot of the health probes page for Azure Load Balancer"::: |
| 106 | + |
| 107 | +6. Enter or select the following information in **Add health probe**. |
| 108 | + |
| 109 | +| Setting | Value | |
| 110 | +| ------- | ----- | |
| 111 | +| Name | Enter **myHealthProbe**. | |
| 112 | +| Protocol | Select **HTTP**. | |
| 113 | +| Port | Enter the **TCP** port you wish to monitor. For this example, it's **port 80**. | |
| 114 | +| Path | Enter a URI used for requesting health status. For this example, it's **/**. | |
| 115 | +| Interval | Enter an interval between probe checks. For this example, it's the default of **5**. | |
| 116 | +| Unhealthy threshold | Enter the threshold number for consecutive failures. For this example, it's the default of **2**. | |
| 117 | + |
| 118 | +7. Select **Add**. |
| 119 | + |
| 120 | + :::image type="content" source="./media/manage-probes-how-to/add-http-probe.png" alt-text="Screenshot of HTTP probe addition."::: |
| 121 | + |
| 122 | +### Remove an HTTP health probe |
| 123 | + |
| 124 | +In this example, you'll remove an HTTP health probe. |
| 125 | + |
| 126 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 127 | + |
| 128 | +2. In the search box at the top of the portal, enter **Load balancer**. Select **Load balancers** in the search results. |
| 129 | + |
| 130 | +3. Select **myLoadBalancer** or your load balancer. |
| 131 | + |
| 132 | +4. In the load balancer page, select **Health probes** in **Settings**. |
| 133 | + |
| 134 | +5. Select the three dots next to the rule you want to remove. |
| 135 | + |
| 136 | +6. Select **Delete**. |
| 137 | + |
| 138 | + :::image type="content" source="./media/manage-probes-how-to/remove-http-probe.png" alt-text="Screenshot of HTTP probe removal."::: |
| 139 | + |
| 140 | +## HTTPS health probe |
| 141 | + |
| 142 | +In this section, you'll learn how to add and remove an HTTPS health probe. A public load balancer is used in the examples. |
| 143 | + |
| 144 | +### Add an HTTPS health probe |
| 145 | + |
| 146 | +In this example, you'll create an HTTPS health probe. |
| 147 | + |
| 148 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 149 | + |
| 150 | +2. In the search box at the top of the portal, enter **Load balancer**. Select **Load balancers** in the search results. |
| 151 | + |
| 152 | +3. Select **myLoadBalancer** or your load balancer. |
| 153 | + |
| 154 | +4. In the load balancer page, select **Health probes** in **Settings**. |
| 155 | + |
| 156 | +5. Select **+ Add** in **Health probes** to add a probe. |
| 157 | + |
| 158 | + :::image type="content" source="./media/manage-probes-how-to/add-probe.png" alt-text="Screenshot of the health probes page for Azure Load Balancer"::: |
| 159 | + |
| 160 | +6. Enter or select the following information in **Add health probe**. |
| 161 | + |
| 162 | +| Setting | Value | |
| 163 | +| ------- | ----- | |
| 164 | +| Name | Enter **myHealthProbe**. | |
| 165 | +| Protocol | Select **HTTPS**. | |
| 166 | +| Port | Enter the **TCP** port you wish to monitor. For this example, it's **port 443**. | |
| 167 | +| Path | Enter a URI used for requesting health status. For this example, it's **/**. | |
| 168 | +| Interval | Enter an interval between probe checks. For this example, it's the default of **5**. | |
| 169 | +| Unhealthy threshold | Enter the threshold number for consecutive failures. For this example, it's the default of **2**. | |
| 170 | + |
| 171 | +7. Select **Add**. |
| 172 | + |
| 173 | + :::image type="content" source="./media/manage-probes-how-to/add-https-probe.png" alt-text="Screenshot of HTTPS probe addition."::: |
| 174 | + |
| 175 | +### Remove an HTTPS health probe |
| 176 | + |
| 177 | +In this example, you'll remove an HTTPS health probe. |
| 178 | + |
| 179 | +1. Sign in to the [Azure portal](https://portal.azure.com). |
| 180 | + |
| 181 | +2. In the search box at the top of the portal, enter **Load balancer**. Select **Load balancers** in the search results. |
| 182 | + |
| 183 | +3. Select **myLoadBalancer** or your load balancer. |
| 184 | + |
| 185 | +4. In the load balancer page, select **Health probes** in **Settings**. |
| 186 | + |
| 187 | +5. Select the three dots next to the rule you want to remove. |
| 188 | + |
| 189 | +6. Select **Delete**. |
| 190 | + |
| 191 | + :::image type="content" source="./media/manage-probes-how-to/remove-https-probe.png" alt-text="Screenshot of HTTPS probe removal."::: |
| 192 | + |
| 193 | +## Next steps |
| 194 | + |
| 195 | +In this article, you learned how to manage health probes for an Azure Load Balancer. |
| 196 | + |
| 197 | +For more information about Azure Load Balancer, see: |
| 198 | +- [What is Azure Load Balancer?](load-balancer-overview.md) |
| 199 | +- [Frequently asked questions - Azure Load Balancer](load-balancer-faqs.yml) |
| 200 | +- [Azure Load Balancer health probes](load-balancer-custom-probe-overview.md) |
0 commit comments