Skip to content

Commit 8652b59

Browse files
Update vmss-deployment-from-a-hardened-linux-image.md
1 parent 4d34cc9 commit 8652b59

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

articles/confidential-computing/vmss-deployment-from-a-hardened-linux-image.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -72,24 +72,24 @@ Steps to deploy a scale set using VMSS and a hardened image are as follows:
7272
> For specalized images, [osprofile properties](/azure/virtual-machines/shared-image-galleries) are handled differently than generalized images.
7373
> Using a [load balancer](/azure/load-balancer/load-balancer-overview) is optional but is encouraged for these reasons.
7474
75-
```
75+
```azurecli-interactive
7676
az vmss create \
77-
--resource-group myResourceGroup \
78-
--name myScaleSet \
79-
--vm-sku "Standard_DC4as_v5" \
80-
--security-type ConfidentialVM \
81-
--os-disk-security-encryption-type DiskwithVMGuestState \
82-
--os-disk-secure-vm-disk-encryption-set "/subscriptions/.../disk-encryption-sets/<des-name>" \
83-
--image "/subscriptions/.../images/<imageName>/versions/<version>" \
84-
--enable-vtpm true \
85-
--enable-secure-boot true \
86-
--vnet-name <virtual-network-name> \
87-
--subnet <subnet-name> \
88-
--lb "/subscriptions/.../loadBalancers/<lb-name>" \
89-
--specialized true \
90-
--instance-count 2 \
91-
--admin-username "azureuser" \
92-
--admin-password ""
77+
--resource-group myResourceGroup \
78+
--name myScaleSet \
79+
--vm-sku "Standard_DC4as_v5" \
80+
--security-type ConfidentialVM \
81+
--os-disk-security-encryption-type DiskwithVMGuestState \
82+
--os-disk-secure-vm-disk-encryption-set "/subscriptions/.../disk-encryption-sets/<des-name>" \
83+
--image "/subscriptions/.../images/<imageName>/versions/<version>" \
84+
--enable-vtpm true \
85+
--enable-secure-boot true \
86+
--vnet-name <virtual-network-name> \
87+
--subnet <subnet-name> \
88+
--lb "/subscriptions/.../loadBalancers/<lb-name>" \
89+
--specialized true \
90+
--instance-count 2 \
91+
--admin-username "azureuser" \
92+
--admin-password ""
9393
```
9494

9595
5. Access the virtual machine scale set from the portal.

0 commit comments

Comments
 (0)