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-byos-linux.md
+42-38Lines changed: 42 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,86 +17,86 @@ ms.author: mathapli
17
17
# How Azure Hybrid Benefit for BYOS VMs (AHB BYOS) applies for Linux virtual machines
18
18
19
19
>[!IMPORTANT]
20
-
>The below article is scoped to Azure Hybrid Benefit for BYOS VMs (AHB BYOS) which caters to conversion of custom on-prem image VMs and RHEL or SLES BYOS VMs. For conversion of RHEL PAYG or SLES PAYG VMs, refer to [Azure Hybrid Benefit for PAYG VMs here](./azure-hybrid-benefit-linux.md).
20
+
>The below article is scoped to Azure Hybrid Benefit for BYOS VMs (AHB BYOS) which caters to conversion of custom image VMs and RHEL or SLES BYOS VMs. For conversion of RHEL PAYG or SLES PAYG VMs, refer to [Azure Hybrid Benefit for PAYG VMs here](./azure-hybrid-benefit-linux.md).
21
21
22
22
>[!NOTE]
23
-
>Azure Hybrid Benefit for BYOS VMs is in Preview now. You can [sign up for the preview here.](https://aka.ms/ahb-linux-form) You will receive a mail from Microsoft once your subscriptions are enabled for Preview.
23
+
>Azure Hybrid Benefit for BYOS VMs is in Preview now. You can start using the capability on Azure by following steps provided in the [section below](#get-started).
24
24
25
25
26
-
Azure Hybrid Benefit for BYOS VMs is a licensing benefit that helps you to get software updates and integrated support for Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES) virtual machines (VMs) directly from Azure infrastructure. This benefit is available to RHEL and SLES custom on-prem image VMs (VMs generated from on-prem images), and to RHEL and SLES Marketplace bring-your-own-subscription (BYOS) VMs.
26
+
Azure Hybrid Benefit for BYOS VMs is a licensing benefit that helps you to get software updates and integrated support for Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES) virtual machines (VMs) directly from Azure infrastructure. This benefit is available to RHEL and SLES custom image VMs (VMs generated from on-premises images), and to RHEL and SLES Marketplace bring-your-own-subscription (BYOS) VMs.
27
27
28
28
## Benefit description
29
-
Before AHB BYOS, RHEL and SLES customers who migrated their on-prem machines to Azure by creating images of on-prem systems and migrating them as VMs on Azure did not have the flexibility to get software updates directly from Azure similar to Marketplace PAYG VMs. Hence, you needed to still buy cloud access licenses from the Enterprise Linux distributors to get security support as well as software updates. With Azure Hybrid Benefit for BYOS VMs, we will allow you to get software updates and support for on-prem custom image VMs as well as RHEL and SLES BYOS VMs similar to PAYG VMs by paying the same software fees as charged to PAYG VMs. In addition, these conversions can happen without any redeployment, so you can avoid any downtime risk.
29
+
Azure Hybrid Benefit for BYOS VMs allows you to get software updates and integrated support for Marketplace BYOS or on-premises migrated RHEL and SLES BYOS VMs without reboot. This benefit converts bring-your-own-subscription BYOS) billing model to pay-as-you-go (PAYG) billing model and you pay the same software fees as charged to PAYG VMs.
30
30
31
31
:::image type="content" source="./media/ahb-linux/azure-hybrid-benefit-byos-cost.png" alt-text="Azure Hybrid Benefit cost visualization on Linux VMs.":::
32
32
33
-
After you enable the AHB for BYOS VMs benefit on RHEL or SLES VM,you will be charged for the additional software fee typically incurred on a PAYG VM and you will also start getting software updates typically provided to a PAYG VM.
33
+
After you enable the AHB for BYOS VMs benefit on RHEL or SLES VM,you'll be charged for the software fee typically incurred on a PAYG VM and you'll also start getting software updates typically provided to a PAYG VM.
34
34
35
-
You can also choose to convert a VM that has had the benefit enabled on it back to a BYOS billing model which will stop software billing and software updates from Azure infrastructure.
35
+
You can also choose to convert a VM that has had the benefit enabled on it back to a BYOS billing model, which will stop software billing and software updates from Azure infrastructure.
36
36
37
37
## Scope of Azure Hybrid Benefit for BYOS VMs eligibility for Linux VMs
38
38
39
-
**Azure Hybrid Benefit for BYOS VMs** is available for all RHEL and SLES custom on-prem image VMs as well as RHEL and SLES Marketplace BYOS VMs. For RHEL and SLES PAYG Marketplace VMs, [refer to AHB for PAYG VMs here](./azure-hybrid-benefit-linux.md)
39
+
**Azure Hybrid Benefit for BYOS VMs** is available for all RHEL and SLES custom image VMs as well as RHEL and SLES Marketplace BYOS VMs. For RHEL and SLES PAYG Marketplace VMs, [refer to AHB for PAYG VMs here](./azure-hybrid-benefit-linux.md)
40
40
41
-
Azure Dedicated Host instances, and SQL hybrid benefits are not eligible for Azure Hybrid Benefit for BYOS VMs if you're already using the benefit with Linux VMs. Virtual Machine Scale Sets (VMSS) are Reserved Instances (RIs) are not in scope for AHB BYOS.
41
+
Azure Dedicated Host instances, and SQL hybrid benefits aren't eligible for Azure Hybrid Benefit for BYOS VMs if you're already using the benefit with Linux VMs. Virtual Machine Scale Sets are Reserved Instances (RIs) aren't in scope for AHB BYOS.
42
42
43
43
## Get started
44
44
45
45
### Red Hat customers
46
46
47
47
To start using the benefit for Red Hat:
48
48
49
-
1. Install the 'AHBForRHEL' extension on the virtual machine on which you wish to apply the AHB BYOS benefit. This is a prerequisite before moving to next step. You can do this via the portal or use Azure CLI.
49
+
1. Install the 'AHBForRHEL' extension on the virtual machine on which you wish to apply the AHB BYOS benefit. You can do this installation via Azure CLI or Powershell.
50
50
51
51
52
52
1. Depending on the software updates you want, change the license type to relevant value. Here are the available license type values and the software updates associated with them:
53
53
54
54
| License Type | Software Updates | Allowed VMs|
55
55
|---|---|---|
56
-
| RHEL_BASE | Installs Red Hat regular/base repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom on-prem image VMs|
57
-
| RHEL_EUS | Installs Red Hat Extended Update Support (EUS) repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom on-prem image VMs|
58
-
| RHEL_SAPAPPS | Installs RHEL for SAP Business Apps repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom on-prem image VMs|
59
-
| RHEL_SAPHA | Installs RHEL for SAP with HA repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom on-prem image VMs|
60
-
| RHEL_BASESAPAPPS | Installs RHEL regular/base SAP Business Apps repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom on-prem image VMs|
61
-
| RHEL_BASESAPHA | Installs regular/base RHEL for SAP with HA repositories into your virtual machine.| RHEL BYOS VMs, RHEL custom on-prem image VMs|
56
+
| RHEL_BASE | Installs Red Hat regular/base repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom image VMs|
57
+
| RHEL_EUS | Installs Red Hat Extended Update Support (EUS) repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom image VMs|
58
+
| RHEL_SAPAPPS | Installs RHEL for SAP Business Apps repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom image VMs|
59
+
| RHEL_SAPHA | Installs RHEL for SAP with HA repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom image VMs|
60
+
| RHEL_BASESAPAPPS | Installs RHEL regular/base SAP Business Apps repositories into your virtual machine. | RHEL BYOS VMs, RHEL custom image VMs|
61
+
| RHEL_BASESAPHA | Installs regular/base RHEL for SAP with HA repositories into your virtual machine.| RHEL BYOS VMs, RHEL custom image VMs|
62
62
63
63
1. Wait for one hour for the extension to read the license type value and install the repositories.
64
64
65
65
1. You should now be connected to Azure Red Hat Update Infrastructure and the relevant repositories will be installed in your machine.
66
66
67
-
1. In case the extension is not running by itself, you can run it on demand as well.
67
+
1. In case the extension isn't running by itself, you can run it on demand as well.
68
68
69
-
1. In case you want to switch back to the bring-your-own-subscription model, just change the license type to 'None' and run the extension. This will remove all RHUI repositories from your virtual machine and stop the billing.
69
+
1. In case you want to switch back to the bring-your-own-subscription model, just change the license type to 'None' and run the extension. This action will remove all RHUI repositories from your virtual machine and stop the billing.
70
70
71
71
>[!Note]
72
-
> In the unlikely event that extension is not able to install repositories or there are any issues, please change the license type back to empty and reach out to support for help. This will ensure you are not getting billed for software updates.
72
+
> In the unlikely event that extension isn't able to install repositories or there are any issues, please change the license type back to empty and reach out to support for help. This will ensure you aren't getting billed for software updates.
73
73
74
74
75
75
### SUSE customers
76
76
77
-
To start using the benefit for SUSE:
77
+
To start using the benefit for SLES VMs:
78
78
79
-
1. Install the Azure Hybrid Benefit for BYOS VMs extension on the virtual machine on which you wish to apply the AHB BYOS benefit. This is a prerequisite before moving to next step.
79
+
1. Install the Azure Hybrid Benefit for BYOS VMs extension on the virtual machine on which you wish to apply the AHB BYOS benefit.
80
80
1. Depending on the software updates you want, change the license type to relevant value. Here are the available license type values and the software updates associated with them:
81
81
82
82
| License Type | Software Updates | Allowed VMs|
83
83
|---|---|---|
84
-
| SLES | Installs SLES standard repositories into your virtual machine. | SLES BYOS VMs, SLES custom on-prem image VMs|
85
-
| SLES_SAP | Installs SLES SAP repositories into your virtual machine. | SLES SAP BYOS VMs, SLES custom on-prem image VMs|
86
-
| SLES_HPC | Installs SLES High Performance Compute related repositories into your virtual machine. | SLES HPC BYOS VMs, SLES custom on-prem image VMs|
84
+
| SLES | Installs SLES standard repositories into your virtual machine. | SLES BYOS VMs, SLES custom image VMs|
85
+
| SLES_SAP | Installs SLES SAP repositories into your virtual machine. | SLES SAP BYOS VMs, SLES custom image VMs|
86
+
| SLES_HPC | Installs SLES High Performance Compute related repositories into your virtual machine. | SLES HPC BYOS VMs, SLES custom image VMs|
87
87
88
88
1. Wait for 5 minutes for the extension to read the license type value and install the repositories.
89
89
90
90
1. You should now be connected to the SUSE Public Cloud Update Infrastructure on Azure and the relevant repositories will be installed in your machine.
91
91
92
-
1. In case the extension is not running by itself, you can run it on demand as well.
92
+
1. In case the extension isn't running by itself, you can run it on demand as well.
93
93
94
-
1. In case you want to switch back to the bring-your-own-subscription model, just change the license type to 'None' and run the extension. This will remove all repositories from your virtual machine and stop the billing.
94
+
1. In case you want to switch back to the bring-your-own-subscription model, just change the license type to 'None' and run the extension. This action will remove all repositories from your virtual machine and stop the billing.
95
95
96
96
## Enable and disable the benefit for RHEL
97
97
98
98
You can install the `AHBForRHEL` extension to install the extension. After successfully installing the extension,
99
-
you can use the `az vm update` command to update existing license type on running VMs. For SLES VMs, run the command and set `--license-type` parameter to one of the following: `RHEL_BASE`, `RHEL_EUS`, `RHEL_SAPHA`, `RHEL_SAPAPPS`, `RHEL_BASESAPAPPS` or `RHEL_BASESAPHA`.
99
+
you can use the `az vm update` command to update existing license type on running VMs. For SLES VMs, run the command and set `--license-type` parameter to one of the following license types: `RHEL_BASE`, `RHEL_EUS`, `RHEL_SAPHA`, `RHEL_SAPAPPS`, `RHEL_BASESAPAPPS` or `RHEL_BASESAPHA`.
100
100
101
101
102
102
### CLI example to enable the benefit for RHEL
@@ -128,19 +128,23 @@ you can use the `az vm update` command to update existing license type on runnin
128
128
```
129
129
1. Wait for 5 minutes for the extension to read the license type value and install the repositories.
130
130
131
-
1. You should now be connected to Azure Red Hat Update Infrastructure and the relevant repositories will be installed in your machine. You can check the same by performing the command below on your VM which outputs installed repository packages on your VM:
131
+
1. You should now be connected to Azure Red Hat Update Infrastructure and the relevant repositories will be installed in your machine. You can validate the same by performing the command below on your VM:
132
132
```bash
133
133
yum repolist
134
134
```
135
-
1. In case the extension is not running by itself, you can try the below command on the VM:
135
+
1. In case the extension isn't running by itself, you can try the below command on the VM:
136
136
```bash
137
-
systemctl start azure-hybrid-benefit.service
137
+
systemctl start azure-hybrid-benefit.service
138
+
```
139
+
1. You can use the below command in your RHEL VM to get the current status of the service:
140
+
```bash
141
+
ahb-service -status
138
142
```
139
143
140
144
## Enable and disable the benefit for SLES
141
145
142
146
You can install the `AHBForSLES` extension to install the extension. After successfully installing the extension,
143
-
you can use the `az vm update` command to update existing license type on running VMs. For SLES VMs, run the command and set `--license-type` parameter to one of the following: `SLES`, `SLES_SAP` or `SLES_HPC`.
147
+
you can use the `az vm update` command to update existing license type on running VMs. For SLES VMs, run the command and set `--license-type` parameter to one of the following license types: `SLES_STANDARD`, `SLES_SAP` or `SLES_HPC`.
144
148
145
149
### CLI example to enable the benefit for SLES
146
150
1. Install the Azure Hybrid Benefit extension on running VM using the portal or via Azure CLI using the command below:
@@ -162,7 +166,7 @@ you can use the `az vm update` command to update existing license type on runnin
162
166
```
163
167
1. Wait for 5 minutes for the extension to read the license type value and install the repositories.
164
168
165
-
1. You should now be connected to the SUSE Public Cloud Update Infrastructure on Azure and the relevant repositories will be installed in your machine. You can verify this by performing the command below on your VM which list SUSE repositories on your VM:
169
+
1. You should now be connected to the SUSE Public Cloud Update Infrastructure on Azure and the relevant repositories will be installed in your machine. You can verify this change by performing the command below on your VM, which lists SUSE repositories on your VM:
166
170
```bash
167
171
zypper repos
168
172
```
@@ -196,12 +200,12 @@ Customers who use Azure Hybrid Benefit for BYOS VMs for RHEL agree to the standa
196
200
197
201
### SUSE
198
202
199
-
To use Azure Hybrid Benefit for BYOS VMs for your SLES VMs, and for information about moving from SLES PAYG to BYOS or moving from SLES BYOS to PAYG, see [SUSE Linux Enterprise and Azure Hybrid Benefit](https://aka.ms/suse-ahb).
203
+
Customers who use Azure Hybrid Benefit for BYOS VMs for SLES and want more for information about moving from SLES PAYG to BYOS or moving from SLES BYOS to PAYG, see [SUSE Linux Enterprise and Azure Hybrid Benefit](https://aka.ms/suse-ahb).
200
204
201
205
## Frequently asked questions
202
-
*Q: What are the additional licensing cost I pay with AHB for BYOS VMs?*
206
+
*Q: What is the licensing cost I pay with AHB for BYOS VMs?*
203
207
204
-
A: On using AHB for BYOS VMs, you will essentially convert your bringyourownsubscription (BYOS) billing model to pay as yougo (PAYG) billing model. Hence, you will be paying similar to PAYG VMs for software subscription cost. The table below maps the PAYG flavors available on Azure and links to pricing page to help you understand the cost associated with AHB for BYOS VMs.
208
+
A: On using AHB for BYOS VMs, you'll essentially convert bring-your-own-subscription (BYOS) billing model to pay-as-you-go (PAYG) billing model. Hence, you'll be paying similar to PAYG VMs for software subscription cost. The table below maps the PAYG flavors available on Azure and links to pricing page to help you understand the cost associated with AHB for BYOS VMs.
205
209
206
210
| License type | Relevant PAYG VM image & Pricing Link (Keep the AHB for PAYG filter off) |
207
211
|---|---|---|
@@ -225,23 +229,23 @@ A: RHEL versions greater than 7.4 are supported with AHB for BYOS VMs.
225
229
226
230
*Q: I've uploaded my own RHEL or SLES image from on-premises (via Azure Migrate, Azure Site Recovery, or otherwise) to Azure. Can I convert the billing on these images from BYOS to PAYG?*
227
231
228
-
A: Yes, this is the capability AHB for BYOS VMs supports. Please [follow steps shared here](#get-started).
232
+
A: Yes, this capability supports image from on-premises to Azure. Please [follow steps shared here](#get-started).
229
233
230
234
*Q: Can I use Azure Hybrid Benefit for BYOS VMs on RHEL and SLES PAYG Marketplace VMs?*
231
235
232
236
A: No, as these VMs are already pay-as-you-go (PAYG). However, with AHB v1 and v2 you can use the license type of `RHEL_BYOS` for RHEL VMs and `SLES_BYOS` for conversions of RHEL and SLES PAYG Marketplace VMs. You can read more on [AHB for PAYG VMs here.](./azure-hybrid-benefit-linux.md)
233
237
234
238
*Q: Can I use Azure Hybrid Benefit for BYOS VMs on virtual machine scale sets for RHEL and SLES?*
235
239
236
-
A: No, Azure Hybrid Benefit for BYOS VMs is not available for virtual machine scale sets currently.
240
+
A: No, Azure Hybrid Benefit for BYOS VMs isn't available for virtual machine scale sets currently.
237
241
238
242
*Q: Can I use Azure Hybrid Benefit for BYOS VMs on a virtual machine deployed for SQL Server on RHEL images?*
239
243
240
-
A: No, you can't. There is no plan for supporting these virtual machines.
244
+
A: No, you can't. There's no plan for supporting these virtual machines.
241
245
242
246
*Q: Can I use Azure Hybrid Benefit for BYOS VMs on my RHEL Virtual Data Center subscription?*
243
247
244
-
A: No, you cannot. VDC is not supported on Azure at all, including AHB.
248
+
A: No, you can't. VDC isn't supported on Azure at all, including AHB.
0 commit comments