Skip to content

Commit 90afd1e

Browse files
Readme file updated
1 parent b78bcbd commit 90afd1e

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -105,24 +105,6 @@ Use the [Azure pricing calculator](https://azure.microsoft.com/en-us/pricing/cal
105105

106106
<br/>
107107

108-
Prerequisite — enable the Microsoft.Compute/EncryptionAtHost feature for every subscription (and region, if applicable) where you plan to deploy VMs or scale sets with encryptionAtHost: true. Repeat the steps below for each target subscription.
109-
110-
Steps to enable the feature:
111-
1. Set the target subscription:
112-
Run: <code>az account set --subscription "&lt;YourSubscriptionId&gt;"</code>
113-
2. Register the feature (one time per subscription):
114-
Run: <code>az feature register --name EncryptionAtHost --namespace Microsoft.Compute</code>
115-
3. Wait until registration completes and shows "Registered":
116-
Run: <code>az feature show --name EncryptionAtHost --namespace Microsoft.Compute --query properties.state -o tsv</code>
117-
4. Refresh the provider (if required):
118-
Run: <code>az provider register --namespace Microsoft.Compute</code>
119-
5. Re-run the deployment after registration is complete.
120-
121-
Note: Feature registration can take several minutes. Ensure the feature is registered before attempting deployments that require encryptionAtHost.
122-
123-
Reference: Azure Host Encryption — https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-cli
124-
125-
126108
>⚠️ **Important:** To avoid unnecessary costs, remember to take down your app if it's no longer in use,
127109
either by deleting the resource group in the Portal or running `azd down`.
128110

docs/DeploymentGuide.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,23 @@ By default, the `azd up` command uses the [`main.parameters.json`](../infra/main
6161

6262
For **production deployments**, the repository also provides [`main.waf.parameters.json`](../infra/main.waf.parameters.json), which applies a [Well-Architected Framework (WAF) aligned](https://learn.microsoft.com/en-us/azure/well-architected/) configuration. This option enables additional Azure best practices for reliability, security, cost optimization, operational excellence, and performance efficiency, such as:
6363

64+
**Prerequisite** — Enable the Microsoft.Compute/EncryptionAtHost feature for every subscription (and region, if required) where you plan to deploy VMs or VM scale sets with `encryptionAtHost: true`. Repeat the registration steps below for each target subscription (and for each region when applicable). This step is required for **WAF-aligned** (production) deployments.
65+
66+
Steps to enable the feature:
67+
1. Set the target subscription:
68+
Run: <code>az account set --subscription "&lt;YourSubscriptionId&gt;"</code>
69+
2. Register the feature (one time per subscription):
70+
Run: <code>az feature register --name EncryptionAtHost --namespace Microsoft.Compute</code>
71+
3. Wait until registration completes and shows "Registered":
72+
Run: <code>az feature show --name EncryptionAtHost --namespace Microsoft.Compute --query properties.state -o tsv</code>
73+
4. Refresh the provider (if required):
74+
Run: <code>az provider register --namespace Microsoft.Compute</code>
75+
5. Re-run the deployment after registration is complete.
76+
77+
Note: Feature registration can take several minutes. Ensure the feature is registered before attempting deployments that require encryptionAtHost.
78+
79+
Reference: Azure Host Encryption — https://learn.microsoft.com/azure/virtual-machines/disks-enable-host-based-encryption-portal?tabs=azure-cli
80+
6481
- Enhanced network security (e.g., Network protection with private endpoints)
6582
- Stricter access controls and managed identities
6683
- Logging, monitoring, and diagnostics enabled by default

0 commit comments

Comments
 (0)