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/workloads/redhat/byos.md
+53-48Lines changed: 53 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Red Hat Enterprise Linux bring-your-own-subscription Azure images | Microsoft Docs
3
-
description: Learn about bring-your-own-subscription images for Red Hat Enterprise Linux on Azure
3
+
description: Learn about bring-your-own-subscription images for Red Hat Enterprise Linux on Azure.
4
4
services: virtual-machines-linux
5
5
documentationcenter: ''
6
6
author: asinn826
@@ -18,74 +18,74 @@ ms.author: alsin
18
18
19
19
---
20
20
21
-
# Red Hat Enterprise Linux Bring-Your-Own-Subscription Gold Images in Azure
21
+
# Red Hat Enterprise Linux bring-your-own-subscription Gold Images in Azure
22
22
23
-
Red Hat Enterprise Linux (RHEL) images are available in Azure via a pay-as-you-go (PAYG) or bring-your-own-subscription (Red Hat Gold Image) model. This document provides an overview of the Red Hat Gold Images in Azure.
23
+
Red Hat Enterprise Linux (RHEL) images are available in Azure via a pay-as-you-go or bring-your-own-subscription (BYOS) (Red Hat Gold Image) model. This article provides an overview of the Red Hat Gold Images in Azure.
24
24
25
25
>[!NOTE]
26
-
> RHEL BYOS Gold Images are available in Azure Public (commercial) and in Azure Government clouds. They are not available in Azure China or Azure Blackforest clouds.
26
+
> RHEL BYOS Gold Images are available in Azure Public (commercial) and Azure Government clouds. They're not available in Azure China or Azure Blackforest clouds.
27
27
28
28
## Important points to consider
29
29
30
-
- The Red Hat Gold Images provided in this program are production-ready RHEL images similar the RHEL PAYG images in the Azure Gallery/Marketplace.
31
-
32
-
- The images follow our current policies described in [Red Hat Enterprise Linux images on Azure](./redhat-images.md)
33
-
34
-
- Standard support policies apply to VMs created from these images
35
-
36
-
- The VMs provisioned from Red Hat Gold Images do not carry RHEL fees associated with RHEL PAYG images
37
-
38
-
- The images are unentitled, so you must use subscription-manager to register and subscribe the VMs to get updates from Red Hat directly
39
-
40
-
- It is currently not possible to dynamically switch between BYOS and PAYG billing models for Linux images. Redeploying the VM from the respective image is required to switch the billing model
30
+
- The Red Hat Gold Images provided in this program are production-ready RHEL images similar to the RHEL pay-as-you-go images in Azure Marketplace.
31
+
- The images follow the current policies described in [Red Hat Enterprise Linux images on Azure](./redhat-images.md).
32
+
- Standard support policies apply to VMs created from these images.
33
+
- The VMs provisioned from Red Hat Gold Images don't carry RHEL fees associated with RHEL pay-as-you-go images.
34
+
- The images are unentitled. You must use Red Hat Subscription-Manager to register and subscribe the VMs to get updates from Red Hat directly.
35
+
- It's currently not possible to dynamically switch between BYOS and pay-as-you-go billing models for Linux images. To switch the billing model, you must redeploy the VM from the respective image.
41
36
42
37
>[!NOTE]
43
-
> Generation 2 RHEL BYOS images are not currently available through the marketplace offer. If you require a Gen 2 RHEL BYOS image, visit the Coud Access dashboard in Red Hat Subscription Management. More details are available at the [Red Hat documentation](https://access.redhat.com/articles/4847681).
38
+
> Generation 2 RHEL BYOS images aren't currently available through the marketplace offer. If you require a
39
+
Generation 2 RHEL BYOS image, visit the Cloud Access dashboard in Red Hat subscription management. For more information, see the [Red Hat documentation](https://access.redhat.com/articles/4847681).
44
40
45
41
## Requirements and conditions to access the Red Hat Gold Images
46
42
47
-
1. Get familiar with the [Red Hat Cloud Access program](https://www.redhat.com/en/technologies/cloud-computing/cloud-access) terms and enable your Red Hat subscriptions for Cloud Access at [Red Hat SubscriptionManager](https://access.redhat.com/management/cloud). You will need to have on hand the Azure subscription(s) that are going to be registered for Cloud Access.
43
+
1. Get familiar with the [Red Hat Cloud Access program](https://www.redhat.com/en/technologies/cloud-computing/cloud-access) terms. Enable your Red Hat subscriptions for Cloud Access at [Red Hat Subscription-Manager](https://access.redhat.com/management/cloud). You need to have on hand the Azure subscriptions that are going to be registered for Cloud Access.
48
44
49
-
1. If you have enabled Red Hat subscriptions for Cloud Access that meet the proper eligibility requirements, your Azure subscription(s) will be automatically be enabled for Gold Image access.
45
+
1. If the Red Hat subscriptions you enabled for Cloud Access meet the eligibility requirements, your Azure subscriptions are automatically enabled for Gold Image access.
50
46
51
47
### Expected time for image access
52
48
53
-
Upon completing the Cloud Access enablement steps, Red Hat will validate your eligibility for the Red Hat Gold Images. If validation is successful, you will receive access to the Gold Images within three hours.
49
+
After you finish the Cloud Access enablement steps, Red Hat validates your eligibility for the Red Hat Gold Images. If validation is successful, you receive access to the Gold Images within three hours.
54
50
55
51
## Use the Red Hat Gold Images from the Azure portal
56
52
57
-
1. After your Azure subscription receives access to Red Hat Gold images, you can locate them in the [Azure portal](https://portal.azure.com) by navigating to **Create a Resource**and then**See all**.
53
+
1. After your Azure subscription receives access to Red Hat Gold Images, you can locate them in the [Azure portal](https://portal.azure.com). Go to **Create a Resource**>**See all**.
58
54
59
-
1. At the top of the page, you will see that you have private offers.
55
+
1. At the top of the page, you'll see that you have private offers.
1.You can click on the purple link or scroll down to the bottom of the page to see your private offers.
59
+
1.Select the purple link, or scroll down to the bottom of the page to see your private offers.
64
60
65
-
1. The rest of provisioning in the UI will be no different to any other existing Red Hat image. Choose your RHEL version and follow the prompts to provision your VM. This process will also let you accept the terms of the image at the final step.
61
+
1. The rest of provisioning in the UI is no different to any other existing Red Hat image. Choose your RHEL version, and follow the prompts to provision your VM. This process also lets you accept the terms of the image at the final step.
66
62
67
63
>[!NOTE]
68
-
>These steps so far will not enable your Red Hat Gold Image image for programmatic deployment – an additional step will be required as described in the “Additional Information” section below.
64
+
>These steps so far won't enable your Red Hat Gold Image for programmatic deployment. An additional step is required as described in the "Additional information" section.
69
65
70
66
The rest of this document focuses on the CLI method to provision and accept terms on the image. The UI and CLI are fully interchangeable as far as the final result (a provisioned RHEL Gold Image VM) is concerned.
71
67
72
68
## Use the Red Hat Gold Images from the Azure CLI
73
-
The following set of instructions will walk you through the initial deployment process for a RHEL VM using the Azure CLI. These instructions assume that you have the [Azure CLI installed](https://docs.microsoft.com/cli/azure/install-azure-cli).
69
+
70
+
The following instructions walk you through the initial deployment process for a RHEL VM by using the Azure CLI. These instructions assume that you have the [Azure CLI installed](https://docs.microsoft.com/cli/azure/install-azure-cli).
74
71
75
72
>[!IMPORTANT]
76
-
>Make sure you use all lowercase letters in the publisher, offer, plan, and image references for all the following commands
73
+
>Make sure you use all lowercase letters in the publisher, offer, plan, and image references for all the following commands.
74
+
75
+
1. Check that you're in your desired subscription.
77
76
78
-
1. Check that you are in your desired subscription:
79
77
```azurecli
80
78
az account show -o=json
81
79
```
82
80
83
-
1. Create a resource group for your Red Hat Gold Image VM:
81
+
1. Create a resource group for your Red Hat Gold Image VM.
82
+
84
83
```azurecli
85
84
az group create --name <name> --location <location>
86
85
```
87
86
88
-
1. Accept the image terms:
87
+
1. Accept the image terms.
88
+
89
89
```azurecli
90
90
az vm image terms accept --publisher redhat --offer rhel-byos --plan <SKU value here> -o=jsonc
91
91
@@ -96,30 +96,33 @@ The following set of instructions will walk you through the initial deployment p
96
96
97
97
az vm image terms accept --urn RedHat:rhel-byos:rhel-lvm8:8.0.20190620
98
98
```
99
+
99
100
>[!NOTE]
100
101
>These terms need to be accepted *once per Azure subscription, per image SKU*.
101
102
102
-
1. (Optional) Validate your VM deployment with the following command :
103
+
1. (Optional) Validate your VM deployment with the following command:
104
+
103
105
```azurecli
104
106
az vm create -n <VM name> -g <resource group name> --image <image urn> --validate
105
107
106
108
# Example:
107
109
az vm create -n rhel-byos-vm -g rhel-byos-group --image RedHat:rhel-byos:rhel-lvm75:7.5.20190620
108
110
```
109
111
110
-
1. Provision your VM by running the same command as above without the `--validate` argument:
112
+
1. Provision your VM by running the same command as shown in the previous example without the `--validate` argument.
113
+
111
114
```azurecli
112
115
az vm create -n <VM name> -g <resource group name> --image <image urn> --validate
113
116
```
114
117
115
-
1. SSH into your VM and verify that you have an unentitled image. To do this, run `sudo yum repolist` (for RHEL 8 use `sudo dnf repolist`). The output will ask you to use subscription-manager to register the VM with Red Hat.
118
+
1. SSH into your VM, and verify that you have an unentitled image. To do this step, run `sudo yum repolist`. For RHEL 8, use `sudo dnf repolist`. The output asks you to use Subscription-Manager to register the VM with Red Hat.
116
119
117
120
>[!NOTE]
118
-
>On RHEL 8 `dnf` and `yum` are interchangeable, more about this in the [RHEL 8 Admin Guide](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/installing-software-with-yum_configuring-basic-system-settings).
119
-
121
+
>On RHEL 8, `dnf` and `yum` are interchangeable. For more information, see the [RHEL 8 admin guide](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/installing-software-with-yum_configuring-basic-system-settings).
120
122
121
123
## Use the Red Hat Gold Images from PowerShell
122
-
The following is an example script. You should replace the Resource Group, location, VM name, login information, and other variables with the configuration of your choosing. Publisher and plan information must be lowercase.
124
+
125
+
The following script is an example. Replace the resource group, location, VM name, login information, and other variables with the configuration of your choice. Publisher and plan information must be lowercase.
123
126
124
127
```powershell-interactive
125
128
# Variables for common values
@@ -174,17 +177,17 @@ The following is an example script. You should replace the Resource Group, locat
## Encrypt Red Hat Enterprise Linux Bring-Your-Own-Subscription Gold Images
180
+
## Encrypt Red Hat Enterprise Linux bring-your-own-subscription Gold Images
178
181
179
-
Red Hat Enterprise Linux Bring-Your-Own-Subscription Gold Images can be secured through the use of [Azure Disk Encryption](../../linux/disk-encryption-overview.md). However, the subscription **must** be registered before enabling encryption. Details on registering a RHEL BYOS Gold Image are available on the Red Hat site. See [How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager](https://access.redhat.com/solutions/253273); if you have an active Red Hat subscription, you can also read [Creating Red Hat Customer Portal Activation Keys](https://access.redhat.com/articles/1378093).
182
+
Red Hat Enterprise Linux BYOS Gold Images can be secured through the use of [Azure Disk Encryption](../../linux/disk-encryption-overview.md). The subscription *must* be registered before you can enable encryption. For more information on how to register a RHEL BYOS Gold Image, see [How to register and subscribe a system to the Red Hat Customer Portal using Red Hat Subscription-Manager](https://access.redhat.com/solutions/253273). If you have an active Red Hat subscription, you can also read [Creating Red Hat Customer Portal Activation Keys](https://access.redhat.com/articles/1378093).
180
183
181
-
Azure Disk Encryption is not supported on [Red Hat custom images](../../linux/redhat-create-upload-vhd.md). Additional ADE requirements and prerequisites are documented in [Azure Disk Encryption for Linux VMs](../../linux/disk-encryption-overview.md#additional-vm-requirements).
184
+
Azure Disk Encryption isn't supported on [Red Hat custom images](../../linux/redhat-create-upload-vhd.md). Additional Azure Disk Encryption requirements and prerequisites are documented in [Azure Disk Encryption for Linux VMs](../../linux/disk-encryption-overview.md#additional-vm-requirements).
182
185
183
-
Steps for applying Azure Disk Encryption are available in[Azure Disk Encryption scenarios on Linux VMs](../../linux/disk-encryption-linux.md) and related articles.
186
+
For steps to apply Azure Disk Encryption, see[Azure Disk Encryption scenarios on Linux VMs](../../linux/disk-encryption-linux.md) and related articles.
184
187
185
188
## Additional information
186
189
187
-
- If you attempt to provision a VM on a subscription that is not enabled for this offer, you will get the following error:
190
+
- If you attempt to provision a VM on a subscription that isn't enabled for this offer, you get the following message:
188
191
189
192
```
190
193
"Offer with PublisherId: redhat, OfferId: rhel-byos, PlanId: rhel-lvm75 is private and can not be purchased by subscriptionId: GUID"
@@ -200,15 +203,17 @@ Steps for applying Azure Disk Encryption are available in [Azure Disk Encryption
[Azure Disk Encryption](#encrypt-red-hat-enterprise-linux-bring-your-own-subscription-gold-images) is not supported on custom images.
207
+
Note the plan parameters in the final line.
206
208
207
-
- If you are using automation to provision VMs from the RHEL BYOS images, you must provide plan parameters similar to what was shown above. For example, if you are using Terraform, you would provide the plan information in a [plan block](https://www.terraform.io/docs/providers/azurerm/r/virtual_machine.html#plan).
209
+
[Azure Disk Encryption](#encrypt-red-hat-enterprise-linux-bring-your-own-subscription-gold-images) isn't supported on custom images.
210
+
211
+
- If you use automation to provision VMs from the RHEL BYOS images, you must provide plan parameters similar to what was shown in the sample commands. For example, if you use Terraform, you provide the plan information in a [plan block](https://www.terraform.io/docs/providers/azurerm/r/virtual_machine.html#plan).
208
212
209
213
## Next steps
210
-
- Step-by-step guides and program details for Cloud Access are available in the [Red Hat Cloud Access documentation.](https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/red_hat_cloud_access_reference_guide/index)
211
-
- Learn more about the [Azure Red Hat Update Infrastructure](./redhat-rhui.md).
212
-
- To learn more about all the Red Hat images in Azure, go to the [documentation page](./redhat-images.md).
213
-
- Information on Red Hat support policies for all versions of RHEL can be found on the [Red Hat Enterprise Linux Life Cycle](https://access.redhat.com/support/policy/updates/errata) page.
214
-
- Additional documentation on the RHEL Gold Images can be found at the [Red Hat documentation](https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/red_hat_cloud_access_reference_guide/using_red_hat_gold_images#con-gold-image-azure).
214
+
215
+
- For step-by-step guides and program details for Cloud Access, see the [Red Hat Cloud Access documentation](https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/red_hat_cloud_access_reference_guide/index).
216
+
- To learn more about the Red Hat Update Infrastructure, see [Azure Red Hat Update Infrastructure](./redhat-rhui.md).
217
+
- To learn more about all the Red Hat images in Azure, see the [documentation page](./redhat-images.md).
218
+
- For information on Red Hat support policies for all versions of RHEL, see the [Red Hat Enterprise Linux life cycle](https://access.redhat.com/support/policy/updates/errata) page.
219
+
- For additional documentation on the RHEL Gold Images, see the [Red Hat documentation](https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/red_hat_cloud_access_reference_guide/using_red_hat_gold_images#con-gold-image-azure).
0 commit comments