You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: landscape/how-to/install-landscape-server-on-microsoft-azure.md
+15-18Lines changed: 15 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# How to install Landscape Server on Microsoft Azure
2
2
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.
4
4
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).
6
6
7
7
**Contents:**
8
8
@@ -21,16 +21,14 @@ To install `Azure CLI`, refer to the [Install Azure CLI on Ubuntu](https://docum
21
21
22
22
### Connect `Azure` with your Microsoft Azure account
23
23
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:
27
25
```
28
26
az login
29
27
```
30
28
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.
32
30
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).
34
32
35
33
36
34
## Provision Azure resources and deploy
@@ -59,7 +57,7 @@ Output will be displayed in JSON format:
59
57
60
58
### Create public-ip address resource
61
59
62
-
Create static IP address in the `Landscape-rg` resource group:
60
+
Create a static IP address in the `Landscape-rg` resource group:
63
61
```
64
62
az network public-ip create \
65
63
--resource-group Landscape-rg \
@@ -68,9 +66,9 @@ az network public-ip create \
68
66
--allocation-method Static
69
67
```
70
68
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:
72
70
```
73
-
"ipAddress": "34.139.255.120",
71
+
"ipAddress": "34.XXX.XXX.XXX",
74
72
"ipTags": [],
75
73
"location": "eastus",
76
74
"name": "LandscapePublicIP",
@@ -95,7 +93,7 @@ Address: 127.0.0.53#53
95
93
96
94
Non-authoritative answer:
97
95
Name: landscape.domain.com
98
-
Address: 34.139.255.120
96
+
Address: 34.XXX.XXX.XXX
99
97
```
100
98
101
99
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
105
103
106
104
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).
107
105
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).
109
107
110
108
Once you’ve chosen your configuration template, complete the following steps.
111
109
@@ -138,7 +136,6 @@ az vm create \
138
136
--image $IMAGE_FAMILY \
139
137
--size Standard_D2s_v3 \
140
138
--admin-username azureuser \
141
-
--assign-identity \
142
139
--generate-ssh-keys \
143
140
--public-ip-address LandscapePublicIP \
144
141
--custom-data cloud-init.yaml
@@ -149,17 +146,17 @@ az vm open-port \
149
146
--priority 100
150
147
```
151
148
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.
153
150
154
151
> [!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).
156
153
157
154
Observe the process by tailing the `cloud-init-output.log` file. Replace `{landscape.domain.com}` with your FQDN or static IP address:
0 commit comments