Skip to content

Commit 56905f1

Browse files
authored
Merge pull request #89202 from msmbaldwin/disk-encrypt-vms
Migrating Linux VM ADE content to virtual-machines docset
2 parents 9f198c6 + dcf0b95 commit 56905f1

File tree

45 files changed

+2528
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2528
-216
lines changed

articles/azure-government/documentation-government-impact-level-5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Current VM SKUs that offer necessary compute isolation include specific offering
167167
The storage supporting these Virtual Machines can be encrypted in one of two ways to support necessary encryption standards.
168168

169169
- Leverage Azure Disk Encryption to encrypt the drives using DM-Crypt (Linux) or BitLocker (Windows):
170-
- [Enable Azure Disk Encryption for Linux](../security/azure-security-disk-encryption-linux.md)
170+
- [Enable Azure Disk Encryption for Linux](../virtual-machines/linux/disk-encryption-overview.md)
171171
- [Enable Azure Disk Encryption for Windows](../security/azure-security-disk-encryption-windows.md)
172172
- Leverage Azure Storage Service Encryption for Storage Accounts with your own key to encrypt the storage account that holds the disks:
173173
- [Storage Service Encryption with Customer Managed Keys](../storage/common/storage-service-encryption-customer-managed-keys.md)

articles/backup/backup-azure-vms-encryption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Azure Backup can back up and restore Azure VMs using ADE with and without the Az
4949

5050
Before you start, do the following:
5151

52-
1. Make sure you have one or more [Windows](../security/azure-security-disk-encryption-windows.md) or [Linux](../security/azure-security-disk-encryption-linux.md) VMs with ADE enabled.
52+
1. Make sure you have one or more [Windows](../security/azure-security-disk-encryption-windows.md) or [Linux](../virtual-machines/linux/disk-encryption-overview.md) VMs with ADE enabled.
5353
2. [Review the support matrix](backup-support-matrix-iaas.md) for Azure VM backup
5454
3. [Create](backup-azure-arm-vms-prepare.md#create-a-vault) a Recovery Services Backup vault if you don't have one.
5555
4. If you enable encryption for VMs that are already enabled for backup, you simply need to provide Backup with permissions to access the Key Vault so that backups can continue without disruption. [Learn more](#provide-permissions) about assigning these permissions.

articles/security-center/security-center-apply-disk-encryption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ To encrypt Azure Virtual Machines that have been identified by Security Center a
3838
* Obtain and run the Azure Disk Encryption Prerequisites Azure PowerShell script.
3939
* Encrypt your virtual machines.
4040

41-
[Encrypt a Windows IaaS VM with Azure PowerShell](../security/azure-disk-encryption-linux-powershell-quickstart.md) walks you through these steps. This topic assumes you are using a Windows client machine from which you configure disk encryption.
41+
[Encrypt a Windows IaaS VM with Azure PowerShell](../virtual-machines/linux/disk-encryption-powershell-quickstart.md) walks you through these steps. This topic assumes you are using a Windows client machine from which you configure disk encryption.
4242

4343
There are many approaches that can be used for Azure Virtual Machines. If you are already well-versed in Azure PowerShell or Azure CLI, then you may prefer to use alternate approaches. To learn about these other approaches, see [Azure disk encryption](../security/azure-security-disk-encryption.md).
4444

articles/security/azure-security-disk-encryption-appendix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Before you start, review the [Prerequisites](azure-security-disk-encryption-prer
101101
```
102102
103103
### <a name="bkmk_prereq-script"></a> Using the Azure Disk Encryption prerequisites PowerShell script
104-
If you're already familiar with the prerequisites for Azure Disk Encryption, you can use the [Azure Disk Encryption prerequisites PowerShell script](https://raw.githubusercontent.com/Azure/azure-powershell/master/src/Compute/Compute/Extension/AzureDiskEncryption/Scripts/AzureDiskEncryptionPreRequisiteSetup.ps1 ). For an example of using this PowerShell script, see the [Encrypt a VM Quickstart](azure-disk-encryption-linux-powershell-quickstart.md). You can remove the comments from a section of the script, starting at line 211, to encrypt all disks for existing VMs in an existing resource group.
104+
If you're already familiar with the prerequisites for Azure Disk Encryption, you can use the [Azure Disk Encryption prerequisites PowerShell script](https://raw.githubusercontent.com/Azure/azure-powershell/master/src/Compute/Compute/Extension/AzureDiskEncryption/Scripts/AzureDiskEncryptionPreRequisiteSetup.ps1 ). For an example of using this PowerShell script, see the [Encrypt a VM Quickstart](../virtual-machines/linux/disk-encryption-powershell-quickstart.md). You can remove the comments from a section of the script, starting at line 211, to encrypt all disks for existing VMs in an existing resource group.
105105
106106
The following table shows which parameters can be used in the PowerShell script:
107107

articles/security/azure-security-disk-encryption-prerequisites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ The [Azure CLI 2.0](/cli/azure) is a command-line tool for managing Azure resour
177177
178178
179179
## Prerequisite workflow for Key Vault
180-
If you're already familiar with the Key Vault and Azure AD prerequisites for Azure Disk Encryption, you can use the [Azure Disk Encryption prerequisites PowerShell script](https://raw.githubusercontent.com/Azure/azure-powershell/master/src/Compute/Compute/Extension/AzureDiskEncryption/Scripts/AzureDiskEncryptionPreRequisiteSetup.ps1 ). For more information on using the prerequisites script, see the [Encrypt a VM Quickstart](azure-disk-encryption-linux-powershell-quickstart.md) and the [Azure Disk Encryption Appendix](azure-security-disk-encryption-appendix.md#bkmk_prereq-script).
180+
If you're already familiar with the Key Vault and Azure AD prerequisites for Azure Disk Encryption, you can use the [Azure Disk Encryption prerequisites PowerShell script](https://raw.githubusercontent.com/Azure/azure-powershell/master/src/Compute/Compute/Extension/AzureDiskEncryption/Scripts/AzureDiskEncryptionPreRequisiteSetup.ps1 ). For more information on using the prerequisites script, see the [Encrypt a VM Quickstart](../virtual-machines/linux/disk-encryption-powershell-quickstart.md) and the [Azure Disk Encryption Appendix](azure-security-disk-encryption-appendix.md#bkmk_prereq-script).
181181
182182
1. If needed, create a resource group.
183183
2. Create a key vault.

articles/security/fundamentals/virtual-machines-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The solution is integrated with Azure Key Vault to help you control and manage t
9898
Learn more:
9999

100100
* [Azure Disk Encryption for IaaS VMs](/azure/security/azure-security-disk-encryption-overview)
101-
* [Quickstart: Encrypt a Windows IaaS VM with Azure PowerShell](../azure-disk-encryption-linux-powershell-quickstart.md)
101+
* [Quickstart: Encrypt a Windows IaaS VM with Azure PowerShell](../../virtual-machines/linux/disk-encryption-powershell-quickstart.md)
102102

103103
## Virtual machine backup
104104

articles/security/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
- name: Quickstarts
99
items:
1010
- name: Encrypt a Linux VM with Azure CLI
11-
href: azure-disk-encryption-linux-cli-quickstart.md
11+
href: ../virtual-machines/linux/disk-encryption-cli-quickstart.md
1212
- name: Encrypt a Linux VM with Azure PowerShell
13-
href: azure-disk-encryption-linux-powershell-quickstart.md
13+
href: ../virtual-machines/linux/disk-encryption-powershell-quickstart.md
1414
- name: Encrypt a Windows VM with Azure CLI
1515
href: azure-disk-encryption-windows-cli-quickstart.md
1616
- name: Encrypt a Windows VM with Azure PowerShell
@@ -20,7 +20,7 @@
2020
- name: Disk encryption for Windows VMs
2121
href: azure-security-disk-encryption-windows.md
2222
- name: Disk encryption for Linux VMs
23-
href: azure-security-disk-encryption-linux.md
23+
href: ../virtual-machines/linux/disk-encryption-overview.md
2424
- name: Disk encryption with virtual machine scale set extension sequencing
2525
href: azure-security-disk-encryption-extension-sequencing.md
2626
- name: Appendix for disk encryption

articles/security/azure-disk-encryption-linux-cli-quickstart.md renamed to articles/virtual-machines/linux/disk-encryption-cli-quickstart.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Azure CLI is used to create and manage Azure resources from the command line
1414

1515
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
1616

17-
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
17+
[!INCLUDE [cloud-shell-try-it.md](../../../includes/cloud-shell-try-it.md)]
1818

1919
If you choose to install and use the CLI locally, this quickstart requires that you are running the Azure CLI version 2.0.30 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI]( /cli/azure/install-azure-cli).
2020

@@ -23,7 +23,7 @@ If you choose to install and use the CLI locally, this quickstart requires that
2323
Create a resource group with the [az group create](/cli/azure/group?view=azure-cli-latest#az-group-create) command. An Azure resource group is a logical container into which Azure resources are deployed and managed. The following example creates a resource group named *myResourceGroup* in the *eastus* location:
2424

2525
```azurecli-interactive
26-
az group create --name myResourceGroup --location eastus
26+
az group create --name "myResourceGroup" --location "eastus"
2727
```
2828

2929
## Create a virtual machine
@@ -32,10 +32,11 @@ Create a VM with [az vm create](https://docs.microsoft.com/cli/azure/vm?view=azu
3232

3333
```azurecli-interactive
3434
az vm create \
35-
--resource-group myResourceGroup \
36-
--name myVM \
37-
--image Canonical:UbuntuServer:16.04-LTS:latest \
38-
--size Standard_D2S_V3
35+
--resource-group "myResourceGroup" \
36+
--name "myVM" \
37+
--image "Canonical:UbuntuServer:16.04-LTS:latest" \
38+
--size "Standard_D2S_V3"\
39+
--generate-ssh-keys
3940
```
4041

4142
It takes a few minutes to create the VM and supporting resources. The following example output shows the VM create operation was successful.
@@ -58,24 +59,24 @@ It takes a few minutes to create the VM and supporting resources. The following
5859
Azure disk encryption stores its encryption key in an Azure Key Vault. Create a Key Vault with [az keyvault create](/cli/azure/keyvault?view=azure-cli-latest#az-keyvault-create). To enable the Key Vault to store encryption keys, use the --enabled-for-disk-encryption parameter.
5960

6061
> [!Important]
61-
> Each Key Vault must have a unique name. The following example creates a Key Vault named *myKV*, but you must name yours something different.
62+
> Every key vault must have a name that is unique across Azure. In the examples below, replace <your-unique-keyvault-name> with the name you choose.
6263
63-
```azurecli
64-
az keyvault create --name "myKV" --resource-group "myResourceGroup" --location eastus --enabled-for-disk-encryption
64+
```azurecli-interactive
65+
az keyvault create --name "<your-unique-keyvault-name>" --resource-group "myResourceGroup" --location "eastus" --enabled-for-disk-encryption
6566
```
6667

6768
## Encrypt the virtual machine
6869

6970
Encrypt your VM with [az vm encryption](/cli/azure/vm/encryption?view=azure-cli-latest), providing your unique Key Vault name to the --disk-encryption-keyvault parameter.
7071

7172
```azurecli-interactive
72-
az vm encryption enable -g MyResourceGroup --name MyVM --disk-encryption-keyvault myKV
73+
az vm encryption enable -g "MyResourceGroup" --name "myVM" --disk-encryption-keyvault "<your-unique-keyvault-name>"
7374
```
7475

7576
After a moment the process will return, "The encryption request was accepted. Please use 'show' command to monitor the progress.". The "show" command is [az vm show](/cli/azure/vm/encryption#az-vm-encryption-show).
7677

7778
```azurecli-interactive
78-
az vm show --name MyVM -g MyResourceGroup
79+
az vm show --name "myVM" -g "MyResourceGroup"
7980
```
8081

8182
When encryption is enabled, you will see the following in the returned output:
@@ -89,12 +90,12 @@ When encryption is enabled, you will see the following in the returned output:
8990
When no longer needed, you can use the [az group delete](/cli/azure/group) command to remove the resource group, VM, and Key Vault.
9091

9192
```azurecli-interactive
92-
az group delete --name myResourceGroup
93+
az group delete --name "myResourceGroup"
9394
```
9495

9596
## Next steps
9697

97-
In this quickstart, you created a virtual machine, created a Key Vault that was enable for encryption keys, and encrypted the VM. Advance to the next article to learn more about Azure Disk Encryption prerequisites for IaaS VMs.
98+
In this quickstart, you created a virtual machine, created a Key Vault that was enable for encryption keys, and encrypted the VM. Advance to the next article to learn more about more Azure Disk Encryption for Linux VMs.
9899

99100
> [!div class="nextstepaction"]
100-
> [Azure Disk Encryption prerequisites](azure-security-disk-encryption-prerequisites.md)
101+
> [Azure Disk Encryption overview](disk-encryption-overview.md)

0 commit comments

Comments
 (0)