Skip to content

Commit cdb9040

Browse files
committed
fixes addressing review feedback
1 parent e5fd853 commit cdb9040

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

landscape/how-to/install-landscape-server-on-microsoft-azure.md

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# How to install Landscape Server on Microsoft Azure
22

3-
This guide provides an example of how to install and set up your Landscape server on Microsoft Azure with [cloud-init](https://cloudinit.readthedocs.io/en/latest/). The instructions here can be used for both FIPS-hardened or non-hardened systems.
3+
This guide provides an example of how to install and set up your Landscape server on Microsoft Azure with [cloud-init](https://cloudinit.readthedocs.io/en/latest/). The instructions here can be used for standard or FIPS-compliant deployments.
44

5-
> **For the most up-to-date documentation on Microsoft Azure, see [Microsoft Azure documentation](https://learn.microsoft.com/en-us/azure).
5+
> **For the most up-to-date documentation on Microsoft Azure, see [Microsoft's Azure documentation](https://learn.microsoft.com/en-us/azure).
66
77
**Contents:**
88

@@ -21,16 +21,14 @@ To install `Azure CLI`, refer to the [Install Azure CLI on Ubuntu](https://docum
2121

2222
### Connect `Azure` with your Microsoft Azure account
2323

24-
The Azure CLI's default authentication method for logins uses a web browser and access token to sign in.
25-
26-
Run the `az login` command:
24+
The Azure CLI's default authentication method for logins uses a web browser and access token to sign in. To login, run:
2725
```
2826
az login
2927
```
3028

31-
If the Azure CLI can open your default browser, it initiates authorisation code flow and opens the default browser to load an Azure sign-in page.
29+
If the Azure CLI can open your default browser, it will open the default browser and load an Azure sign-in page for you to sign in with your Azure account. Otherwise, it will instruct you to open a browser page and enter the code displayed in your terminal.
3230

33-
Sign in with your account credentials in the browser.
31+
Sign in with your account credentials in the browser. For more information on signing in with the Azure CLI, see [Microsoft's documentation on signing in interactively with the Azure CLI](https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli-interactively).
3432

3533

3634
## Provision Azure resources and deploy
@@ -59,7 +57,7 @@ Output will be displayed in JSON format:
5957

6058
### Create public-ip address resource
6159

62-
Create static IP address in the `Landscape-rg` resource group:
60+
Create a static IP address in the `Landscape-rg` resource group:
6361
```
6462
az network public-ip create \
6563
--resource-group Landscape-rg \
@@ -68,9 +66,9 @@ az network public-ip create \
6866
--allocation-method Static
6967
```
7068

71-
Output will be displayed in JSON format and will show static IP address (extract below):
69+
Output will be displayed in JSON format and will show a static IP address:
7270
```
73-
"ipAddress": "34.139.255.120",
71+
"ipAddress": "34.XXX.XXX.XXX",
7472
"ipTags": [],
7573
"location": "eastus",
7674
"name": "LandscapePublicIP",
@@ -95,7 +93,7 @@ Address: 127.0.0.53#53
9593
9694
Non-authoritative answer:
9795
Name: landscape.domain.com
98-
Address: 34.139.255.120
96+
Address: 34.XXX.XXX.XXX
9997
```
10098

10199
If the address value in the `nslookup` output matches the value of the `LandscapePublicIP` static IP address, the LetsEncrypt SSL provisioning step defined in the cloud-init configuration automation template will succeed.
@@ -105,7 +103,7 @@ If the address value in the `nslookup` output matches the value of the `Landscap
105103

106104
Before beginning the deployment process with cloud-init, you must choose which of the two cloud-init configuration automation templates you want to use. In the [Landscape Scripts](https://github.com/canonical/landscape-scripts) Github repository, there are two Landscape Quickstart cloud-init configuration templates: [`cloud-init-quickstart.yaml`](https://github.com/canonical/landscape-scripts/blob/main/provisioning/cloud-init-quickstart.yaml) and [`cloud-init-quickstart-fips.yaml`](https://github.com/canonical/landscape-scripts/blob/main/provisioning/cloud-init-quickstart-fips.yaml).
107105

108-
The `cloud-init-quickstart.yaml` template is designed for anyone, and the `cloud-init-quickstart-fips.yaml` is designed for FIPS compliant deployments of Landscape Server. For more information, see [how to install FIPS hardened Landscape Server](https://ubuntu.com/landscape/docs/install-fips-hardened-landscape-server).
106+
The `cloud-init-quickstart.yaml` template is designed for anyone, and the `cloud-init-quickstart-fips.yaml` is designed for FIPS compliant deployments of Landscape Server. For more information, see [how to install FIPS-compliant Landscape Server](https://ubuntu.com/landscape/docs/install-fips-hardened-landscape-server).
109107

110108
Once you’ve chosen your configuration template, complete the following steps.
111109

@@ -138,7 +136,6 @@ az vm create \
138136
--image $IMAGE_FAMILY \
139137
--size Standard_D2s_v3 \
140138
--admin-username azureuser \
141-
--assign-identity \
142139
--generate-ssh-keys \
143140
--public-ip-address LandscapePublicIP \
144141
--custom-data cloud-init.yaml
@@ -149,17 +146,17 @@ az vm open-port \
149146
--priority 100
150147
```
151148

152-
It takes a few minutes to create the VM and supporting resources.
149+
It usually takes a few minutes to create the VM and supporting resources.
153150

154151
> [!NOTE]
155-
When creating the VM an error may occur with the code `MarketplacePurchaseEligibilityFailed`. This error indicates that before the subscription can use this image, you need to accept the legal terms of the image. Viewing and accepting the terms can be done via the Azure CLI. Refer to Microsoft Azure documentation [az vm image terms](https://learn.microsoft.com/en-us/cli/azure/vm/image/terms).
152+
When creating the VM an error may occur with the code `MarketplacePurchaseEligibilityFailed`. This error indicates that before the subscription can use this image, you need to accept the legal terms of the image. You can view and accept the terms via the Azure CLI. Refer to [Microsoft's documentation on VM image terms](https://learn.microsoft.com/en-us/cli/azure/vm/image/terms).
156153

157154
Observe the process by tailing the `cloud-init-output.log` file. Replace `{landscape.domain.com}` with your FQDN or static IP address:
158155
```
159156
ssh azureuser@{landscape.domain.com} 'tail -f /var/log/cloud-init-output.log'
160157
```
161158

162-
A reboot may be required during the cloud-init process. If a reboot is required, you’ll receive the following output:
159+
A reboot may be required during the cloud-init process. If a reboot is required, you’ll receive output similar to:
163160
```
164161
2023-08-20 17:30:04,721 - cc_package_update_upgrade_install.py[WARNING]: Rebooting after upgrade or install per /var/run/reboot-required
165162
```
@@ -171,7 +168,7 @@ Repeat the following code if a reboot was necessary to continue observing the lo
171168
ssh azureuser@{landscape.domain.com} 'tail -f /var/log/cloud-init-output.log'
172169
```
173170

174-
Wait until the cloud-init process is complete. When it’s complete, you’ll receive the following line similar to this:
171+
Wait until the cloud-init process is complete. When it’s complete, you’ll receive output similar to:
175172
```
176173
cloud-init v. 23.2.2-0ubuntu0~22.04.1 finished at Sun, 20 Aug 2023 17:30:56 +0000. Datasource DataSourceAzure [seed=/dev/sr0]. Up 37.35 seconds
177174
```
@@ -181,7 +178,7 @@ Press `CTRL + C` to terminate the tail process in your terminal window.
181178

182179
## Configure Landscape
183180

184-
1. Navigate to the Landscape dashboard by entering the FQDN of the Landscape VM into a browser window
181+
1. Navigate to the Landscape web portal by entering the FQDN of the Landscape VM into a browser window
185182

186183
2. Provide a name, email address, and password for the first global administrator on the machine.
187184

0 commit comments

Comments
 (0)