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: azure-local/overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ You can use the Azure portal for an increasing number of tasks including:
102
102
103
103
You can also subscribe to additional Azure hybrid services.
104
104
105
-
For more details on the cloud service components of Azure Local, see [Azure Local hybrid capabilities with Azure services](./hybrid-capabilities-with-azure-services-23h2.md
105
+
For more details on the cloud service components of Azure Local, see [Azure Local hybrid capabilities with Azure services](./hybrid-capabilities-with-azure-services-23h2.md).
Copy file name to clipboardExpand all lines: azure-stack/asdk/index.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ summary: Learn how to deploy and use the Azure Stack Development Kit.
6
6
metadata:
7
7
title: Azure Stack Development Kit Documentation - Tutorials, API Reference # Required; page title displayed in search results. Include the brand. < 60 chars.
8
8
description: The Azure Stack Development Kit (ASDK) is a single-node deployment of Azure Stack that you can download and use for free. The ASDK is meant to provide an environment in which you can evaluate Azure Stack and develop modern applications using APIs and tooling consistent with Azure in a non-production environment.
Copy file name to clipboardExpand all lines: azure-stack/includes/note-powershell-adfs.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,8 @@ author: sethmanheim
3
3
ms.author: sethm
4
4
ms.service: azure-stack
5
5
ms.topic: include
6
-
ms.date: 2/1/2021
7
-
ms.reviewer: thoroet
8
-
ms.lastreviewed: 08/04/2020
6
+
ms.date: 01/24/2025
9
7
---
10
8
11
-
> [!Note]
12
-
> AD FS only supports interactive authentication with user identities. If a credential object is required, you must use a service principal (SPN). For more information on setting up a service principal with Azure Stack Hub and AD FS as your identity management service, see [Manage an AD FS app identity](../operator/give-app-access-to-resources.md#manage-an-azure-ad-app).
9
+
> [!NOTE]
10
+
> AD FS only supports interactive authentication with user identities. If a credential object is required, you must use a service principal (SPN). For more information about setting up a service principal with Azure Stack Hub and AD FS as your identity management service, see [Manage an AD FS app identity](../operator/give-app-access-to-resources.md#manage-an-azure-ad-app).
Copy file name to clipboardExpand all lines: azure-stack/includes/remove-account-az.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,11 @@
2
2
title: Include for Remove-AzureRmAccount
3
3
description: An include file that explains how to run Remove-AzureRmAccount.
4
4
author: sethmanheim
5
-
6
5
ms.topic: include
7
-
ms.date: 11/23/2020
6
+
ms.date: 01/23/2025
8
7
ms.author: sethm
9
-
ms.reviewer: avishwan
10
8
ms.lastreviewed: 11/23/2020
11
9
---
12
10
13
-
>[!Note]
14
-
>If your session expires, your password has changed, or you simply wish to switch accounts, run the following cmdlet before you sign in using Connect-AzAccount: `Remove-AzAccount -Scope Process`
11
+
>[!NOTE]
12
+
>If your session expires, your password has changed, or you want to switch accounts, run the following cmdlet before you sign in using `Connect-AzAccount`: `Remove-AzAccount -Scope Process`.
Copy file name to clipboardExpand all lines: azure-stack/mdc/index.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ summary: Learn how to operate and use the Azure Modular Data Center (MDC).
6
6
metadata:
7
7
title: Azure Modular Data Center (MDC) Operator and User Documentation - Tutorials, Concepts, How to articles # Required; page title displayed in search results. Include the brand. < 60 chars.
8
8
description: The Azure Modular Data Center (MDC) is a modular data center that contains Azure Stack Hub solutions and storage. You can provide Azure services and host large scale compute and storage on-premises or at the edge, either disconnected from Azure or connected to it. It’s optimized for use cases that require data sovereignty and on-premises control.
Copy file name to clipboardExpand all lines: azure-stack/operator/azure-stack-powershell-configure-admin.md
+7-72Lines changed: 7 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,11 @@
2
2
title: Connect to Azure Stack Hub with PowerShell
3
3
description: Learn how to connect to Azure Stack Hub with PowerShell.
4
4
author: sethmanheim
5
-
6
5
ms.topic: article
7
-
ms.date: 2/1/2021
6
+
ms.date: 01/24/2025
8
7
ms.author: sethm
9
8
ms.reviewer: thoroet
10
-
ms.lastreviewed: 2/1/2021
9
+
ms.lastreviewed: 02/01/2021
11
10
12
11
# Intent: As an Azure Stack operator, I want to learn how to connect to Azure Stack using Powershell.
13
12
# Keyword: connect azure stack powershell
@@ -17,7 +16,7 @@ ms.lastreviewed: 2/1/2021
17
16
18
17
# Connect to Azure Stack Hub with PowerShell
19
18
20
-
You can configure Azure Stack Hub to use PowerShell to manage resources like creating offers, plans, quotas, and alerts. This topic helps you configure the operator environment.
19
+
You can configure Azure Stack Hub to use PowerShell to manage resources like creating offers, plans, quotas, and alerts. This article helps you configure the operator environment.
21
20
22
21
## Prerequisites
23
22
@@ -30,11 +29,9 @@ Run the following prerequisites either from the [Azure Stack Development Kit (AS
30
29
31
30
## Connect with Microsoft Entra ID
32
31
33
-
To configure the Azure Stack Hub operator environment with PowerShell, run one of the scripts below. Replace the Microsoft Entra tenantName and Azure Resource Manager endpoint values with your own environment configuration.
34
-
35
-
### [Az modules](#tab/az1)
32
+
To configure the Azure Stack Hub operator environment with PowerShell, run the following script. Replace the Microsoft Entra tenantName and Azure Resource Manager endpoint values with your own environment configuration.
# Register an Azure Resource Manager environment that targets your Azure Stack Hub instance. Get your Azure Resource Manager endpoint value from your service provider.
@@ -51,79 +48,17 @@ To configure the Azure Stack Hub operator environment with PowerShell, run one o
51
48
# can be easily targeted at your Azure Stack Hub instance.
# Register an Azure Resource Manager environment that targets your Azure Stack Hub instance. Get your Azure Resource Manager endpoint value from your service provider.
Connect to the Azure Stack Hub operator environment with PowerShell with Microsoft Entra ID Federated Services (Azure AD FS). For the ASDK, this Azure Resource Manager endpoint is set to `https://adminmanagement.local.azurestack.external`. To get the Azure Resource Manager endpoint for Azure Stack Hub integrated systems, contact your service provider.
80
51
81
-
### [Az modules](#tab/az2)
82
-
83
-
```powershell
84
-
# Register an Azure Resource Manager environment that targets your Azure Stack Hub instance. Get your Azure Resource Manager endpoint value from your service provider.
# Register an Azure Resource Manager environment that targets your Azure Stack Hub instance. Get your Azure Resource Manager endpoint value from your service provider.
Now that you've got everything set-up, use PowerShell to create resources within Azure Stack Hub. For example, you can create a resource group for an app and add a virtual machine. Use the following command to create a resource group named **MyResourceGroup**.
56
+
Now that you have everything setup, use PowerShell to create resources within Azure Stack Hub. For example, you can create a resource group for an app and add a virtual machine. Use the following command to create a resource group named **MyResourceGroup**:
Copy file name to clipboardExpand all lines: azure-stack/partner/index.yml
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,7 @@ summary: Learn how to validate your hardware to host Azure Stack Hub. Validation
6
6
metadata:
7
7
title: Azure Stack Hub partner # Required; page title displayed in search results. Include the brand. < 60 chars.
8
8
description: Learn how to validate your hardware to host Azure Stack Hub. Validation as a Service is a native Azure Service designed for use by solution partners who are co-engineering offerings with Microsoft.
Copy file name to clipboardExpand all lines: azure-stack/user/azure-stack-dev-start-howto-vm-python.md
+58-62Lines changed: 58 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,11 @@
2
2
title: Deploy Python web app to VM in Azure Stack Hub
3
3
description: Deploy a Python web app to a virtual machine in Azure Stack Hub.
4
4
author: sethmanheim
5
-
6
5
ms.topic: how-to
7
-
ms.date: 9/29/2021
6
+
ms.date: 01/24/2025
8
7
ms.author: sethm
9
8
ms.reviewer: thoroet
10
-
ms.lastreviewed: 9/29/2021
9
+
ms.lastreviewed: 09/29/2021
11
10
12
11
# Intent: As an Azure Stack Hub user, I want to deploy a Python web app to a virtual machine in Azure Stack Hub.
13
12
# Keyword: deploy python webapp VM azure stack hub
@@ -18,100 +17,97 @@ ms.lastreviewed: 9/29/2021
18
17
You can create a VM to host your Python web app in Azure Stack Hub. In this article, you set up a server, configure the server to host your Python web app, and then deploy the app to Azure Stack Hub.
19
18
20
19
This article uses Python 3.x running Flask in a virtual environment on an Nginx server. Use **Ubuntu Server 18.04 LTS** from the Azure Stack Hub Marketplace.
20
+
21
21
## Create a VM
22
22
23
23
1. Set up your VM in Azure Stack Hub by following the instructions in [Deploy a Linux VM to host a web app in Azure Stack Hub](azure-stack-dev-start-howto-deploy-linux.md). Use **Ubuntu Server 18.04 LTS** from the Azure Stack Hub Marketplace.
24
+
1. In the VM network pane, make sure that the following ports are accessible:
24
25
25
-
2. In the VM network pane, make sure that the following ports are accessible:
26
-
27
-
| Port | Protocol | Description |
28
-
| --- | --- | --- |
29
-
| 80 | HTTP | Hypertext Transfer Protocol (HTTP) is the protocol that's used to deliver webpages from servers. Clients connect via HTTP with a DNS name or IP address. |
30
-
| 443 | HTTPS | Hypertext Transfer Protocol Secure (HTTPS) is a secure version of HTTP that requires a security certificate and allows for the encrypted transmission of information. |
31
-
| 22 | SSH | Secure Shell (SSH) is an encrypted network protocol for secure communications. You use this connection with an SSH client to configure the VM and deploy the app. |
32
-
| 3389 | RDP | Optional. The Remote Desktop Protocol (RDP) allows a remote desktop connection to use a graphic user interface on your machine. |
33
-
| 5000, 8000 | Custom | The ports that are used by the Flask web framework in development. For a production server, you route your traffic through 80 and 443. |
26
+
| Port | Protocol | Description |
27
+
| --- | --- | --- |
28
+
| 80 | HTTP | Hypertext Transfer Protocol (HTTP) is the protocol that's used to deliver webpages from servers. Clients connect via HTTP with a DNS name or IP address. |
29
+
| 443 | HTTPS | Hypertext Transfer Protocol Secure (HTTPS) is a secure version of HTTP that requires a security certificate and allows for the encrypted transmission of information. |
30
+
| 22 | SSH | Secure Shell (SSH) is an encrypted network protocol for secure communications. You use this connection with an SSH client to configure the VM and deploy the app. |
31
+
| 3389 | RDP | Optional. The Remote Desktop Protocol (RDP) allows a remote desktop connection to use a graphic user interface on your machine. |
32
+
| 5000, 8000 | Custom | The ports that are used by the Flask web framework in development. For a production server, you route your traffic through 80 and 443. |
34
33
35
-
3. In the **Overview** pane, select **configure** under DNS name.
36
-
37
-
4. Select **static** and then name the machine so that you have a DNS name such as: `<yourmachine>.<local>.cloudapp.azurestack.contoso.com`.
34
+
1. In the **Overview** pane, select **configure** under DNS name.
35
+
1. Select **static** and then name the machine so that you have a DNS name such as: `<yourmachine>.<local>.cloudapp.azurestack.contoso.com`.
38
36
39
37
## Install Python
40
38
41
39
1. Connect to your VM by using your SSH client. For instructions, see [Connect via SSH with PuTTy](azure-stack-dev-start-howto-ssh-public-key.md#connect-with-ssh-by-using-putty).
42
-
2. At your bash prompt on your VM, enter the following command:
40
+
1. At your bash prompt on your VM, enter the following command:
43
41
44
-
```bash
45
-
sudo apt-get update
46
-
sudo apt-get -y install python3 python3-dev
47
-
sudo apt install python3-pip
48
-
```
42
+
```bash
43
+
sudo apt-get update
44
+
sudo apt-get -y install python3 python3-dev
45
+
sudo apt install python3-pip
46
+
```
49
47
50
-
3. Validate your installation. While you're still connected to your VM in your SSH session, enter the following command to open Python and note the version number. Then type `quit()` to exit the Python REPL.
48
+
1. Validate your installation. While you're still connected to your VM in your SSH session, enter the following command to open Python and note the version number. Then type `quit()` to exit the Python REPL.
51
49
52
-
```bash
53
-
python3
54
-
quit()
55
-
```
50
+
```bash
51
+
python3
52
+
quit()
53
+
```
56
54
57
-
3. [Install Nginx](https://www.nginx.com/resources/wiki/), a lightweight web server. While you're still connected to your VM in your SSH session, enter the following command:
55
+
1.[Install Nginx](https://www.nginx.com/resources/wiki/), a lightweight web server. While you're still connected to your VM in your SSH session, enter the following command:
58
56
59
-
```bash
60
-
sudo apt-get -y install nginx
61
-
```
57
+
```bash
58
+
sudo apt-get -y install nginx
59
+
```
62
60
63
-
4. [Install Git](https://git-scm.com), a widely distributed version control and source code management (SCM) system. While you're still connected to your VM in your SSH session, enter the following command:
61
+
1.[Install Git](https://git-scm.com). While you're still connected to your VM in your SSH session, enter the following command:
64
62
65
-
```bash
66
-
sudo apt-get -y install git
67
-
```
63
+
```bash
64
+
sudo apt-get -y install git
65
+
```
68
66
69
67
## Deploy and run the app
70
68
71
69
1. Set up your Git repository on the VM. While you're still connected to your VM in your SSH session, enter the following commands:
2. While you're still connected to your VM in your SSH session, enter the following commands to install the dependencies. Install Flask using apt, and then pip to load the modules from `requirements.txt`.
76
+
1. While you're still connected to your VM in your SSH session, enter the following commands to install the dependencies. Install Flask using apt, and then pip to load the modules from `requirements.txt`:
80
77
81
-
```bash
82
-
sudo apt install python3-flask
83
-
pip3 install -r requirements.txt
78
+
```bash
79
+
sudo apt install python3-flask
80
+
pip3 install -r requirements.txt
84
81
85
-
export FLASK_APP=application.py
86
-
flask run -h 0.0.0.0
87
-
```
82
+
export FLASK_APP=application.py
83
+
flask run -h 0.0.0.0
84
+
```
88
85
89
-
3. Go to your new server. You should see your running web application.
86
+
1. Go to your new server. You should see your running web application.
0 commit comments