Skip to content

Commit 3dd4155

Browse files
authored
Merge pull request #102721 from msmbaldwin/ade-byos
RHEL BYOS support
2 parents f66460e + 53e1866 commit 3dd4155

File tree

2 files changed

+28
-9
lines changed

2 files changed

+28
-9
lines changed

articles/virtual-machines/linux/disk-encryption-overview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ Linux server distributions that are not endorsed by Azure do not support Azure D
7575
| SLES | 12-SP3 | Data disk |
7676

7777
> [!NOTE]
78-
> The new ADE implementation is supported for RHEL OS and data disk for RHEL7 Pay-As-You-Go images. ADE is currently not supported for RHEL Bring-Your-Own-Subscription (BYOS) images.
78+
> The new Azure Disk Encryption implementation is supported for RHEL OS and data disk for RHEL7 Pay-As-You-Go images.
79+
>
80+
> ADE is also supported for RHEL Bring-Your-Own-Subscription Gold Images, but only **after** the subscription has been registered . For more information, see [Red Hat Enterprise Linux Bring-Your-Own-Subscription Gold Images in Azure](../workloads/redhat/byos.md##encrypt-red-hat-enterprise-linux-bring-your-own-subscription-gold-images)
7981
8082
## Additional VM requirements
8183

articles/virtual-machines/workloads/redhat/byos.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ms.author: alsin
1919
---
2020

2121
# Red Hat Enterprise Linux Bring-Your-Own-Subscription Gold Images in Azure
22+
2223
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.
2324

2425
## Important points to consider
@@ -167,25 +168,41 @@ The following is an example script. You should replace the Resource Group, locat
167168
New-AzureRmVM -ResourceGroupName $resourceGroup -Location $location -VM $vmConfig
168169
```
169170

171+
## Encrypt Red Hat Enterprise Linux Bring-Your-Own-Subscription Gold Images
172+
173+
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).
174+
175+
Azure Disk Encryption is not supported on [Red Hat custom images](/linux/redhat-create-upload-vhd). Additional ADE requirements and prerequisites are documented in [Azure Disk Encryption for Linux VMs](../../linux/disk-encryption-overview.md#additional-vm-requirements).
176+
177+
Steps for applying Azure Disk Encryption are available in [Azure Disk Encryption scenarios on Linux VMs](../../linux/disk-encryption-linux.md) and related articles.
178+
170179
## Additional information
171-
- If you attempt to provision a VM on a subscription that is not enabled for this offer, you will get the following error and you should contact Microsoft or Red Hat to enable your subscription.
180+
181+
- If you attempt to provision a VM on a subscription that is not enabled for this offer, you will get the following error:
182+
172183
```
173184
"Offer with PublisherId: redhat, OfferId: rhel-byos, PlanId: rhel-lvm75 is private and can not be purchased by subscriptionId: GUID"
174185
```
186+
187+
In this case, contact Microsoft or Red Hat to enable your subscription.
188+
189+
- If you modify a snapshot from a RHEL BYOS image and attempt to publish that custom image to the [Shared Image Gallery](https://docs.microsoft.com/azure/virtual-machines/linux/shared-image-galleries), you must provide plan information that matches the original source of the snapshot. For example, the command might look like this:
175190
176-
- If you create a snapshot from the RHEL BYOS image AND publish the image in [Shared Image Gallery](https://docs.microsoft.com/azure/virtual-machines/linux/shared-image-galleries), you will need to provide plan information that matches the original source of the snapshot. For example, the command might look like (note the plan parameters in the final line):
177191
```azurecli
178192
az vm create –image \
179193
"/subscriptions/GUID/resourceGroups/GroupName/providers/Microsoft.Compute/galleries/GalleryName/images/ImageName/versions/1.0.0" \
180194
-g AnotherGroupName --location EastUS2 -n VMName \
181195
--plan-publisher redhat --plan-product rhel-byos --plan-name rhel-lvm75
182196
```
197+
Note the plan parameters in the final line above.
198+
199+
[Azure Disk Encryption](#encrypt-red-hat-enterprise-linux-bring-your-own-subscription-gold-images) is not supported on custom images.
183200
184-
- If you are using automation to provision VMs from the RHEL BYOS images, you will need to 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).
201+
- 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).
185202
186203
## Next steps
187-
* 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)
188-
* Learn more about the [Azure Red Hat Update Infrastructure](./redhat-rhui.md).
189-
* To learn more about all the Red Hat images in Azure, go to the [documentation page](./redhat-images.md).
190-
* 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.
191-
* 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).
204+
- 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)
205+
- Learn more about the [Azure Red Hat Update Infrastructure](./redhat-rhui.md).
206+
- To learn more about all the Red Hat images in Azure, go to the [documentation page](./redhat-images.md).
207+
- 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.
208+
- 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).

0 commit comments

Comments
 (0)