You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/azure-hybrid-benefit-linux.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ Azure dedicated host instances and SQL hybrid benefits aren't eligible for Azure
49
49
You can invoke AHB at the time of virtual machine creation. Benefits of doing so are threefold:
50
50
51
51
- You can provision both PAYG and BYOS virtual machines by using the same image and process.
52
-
- It enables future licensing mode changes. These changes aren't available with a BYOS-only image or if you bring your own virtual machine.
52
+
- It enables future licensing mode changes.
53
53
- The virtual machine is connected to Red Hat Update Infrastructure (RHUI) by default, to help keep it up to date and secure. You can change the updated mechanism after deployment at any time.
54
54
55
55
#### [Azure portal](#tab/ahbNewPortal)
@@ -85,6 +85,7 @@ You can use the `az vm extension` and `az vm update` commands to update new virt
## Check the current licensing model of an AHB enabled VM
122
126
123
127
You can view the Azure Hybrid Benefit status of a virtual machine by using the Azure CLI or by using Azure Instance Metadata Service.
@@ -176,13 +180,16 @@ To start using Azure Hybrid Benefit for SUSE:
176
180
2. Activate the subscription in the SUSE Customer Center.
177
181
3. Register your virtual machines that are receiving Azure Hybrid Benefit with the SUSE Customer Center to get the updates from the SUSE Customer Center.
178
182
183
+
179
184
---
180
185
181
186
187
+
182
188
### Convert to BYOS using the Azure CLI
183
189
184
190
#### [Red Hat (RHEL)](#tab/rhelAzcliByosConv)
185
191
* For RHEL virtual machines, run the command with a `--license-type` parameter of `RHEL_BYOS`.
192
+
186
193
```azurecli
187
194
# This will enable BYOS on a RHEL virtual machine using Azure Hybrid Benefit
188
195
az vm update -g myResourceGroup -n myVmName --license-type RHEL_BYOS
@@ -239,6 +246,7 @@ az vm update -g myResourceGroup -n myVmName --license-type RHEL_BYOS
239
246
240
247
#### [SUSE (SLES)](#tab/slesAzcliByosConv)
241
248
* For SLES virtual machines, run the command with a `--license-type` parameter of `SLES_BYOS`.
249
+
242
250
```azurecli
243
251
# This will enable BYOS on a SLES virtual machine
244
252
az vm update -g myResourceGroup -n myVmName --license-type SLES_BYOS
@@ -271,11 +279,16 @@ az vm update -g myResourceGroup -n myVmName --license-type SLES_BYOS
271
279
sudo zypper repos
272
280
```
273
281
282
+
274
283
---
275
284
276
285
277
286
278
287
288
+
289
+
290
+
291
+
279
292
## BYOS to PAYG conversions
280
293
Converting from a Bring-your-own-subscription to a Pay-as-you-go model.
281
294
#### [Single VM](#tab/paygclisingle)
@@ -460,3 +473,5 @@ If you use Azure Hybrid Benefit BYOS to PAYG capability for SLES and want more i
460
473
461
474
*[Learn how to create and update virtual machines and add license types (RHEL_BYOS, SLES_BYOS) for Azure Hybrid Benefit by using the Azure CLI](/cli/azure/vm)
462
475
*[Learn about Azure Hybrid Benefit on Virtual Machine Scale Sets for RHEL and SLES and how to use it](../../virtual-machine-scale-sets/azure-hybrid-benefit-linux.md)
0 commit comments