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-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/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/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.
Copy file name to clipboardExpand all lines: azure-stack/user/azure-stack-kubernetes-aks-engine-overview.md
+12-16Lines changed: 12 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,10 @@
1
1
---
2
-
title: What is AKS engine on Azure Stack Hub?
2
+
title: What is the AKS engine on Azure Stack Hub?
3
3
description: Learn how to use the AKS engine command-line tool to deploy and manage a Kubernetes cluster on Azure and Azure Stack Hub.
4
4
author: sethmanheim
5
-
6
5
ms.topic: article
7
-
ms.date: 12/19/2022
6
+
ms.date: 01/24/2025
8
7
ms.author: sethm
9
-
ms.reviewer: waltero
10
8
ms.lastreviewed: 09/02/2020
11
9
12
10
# Intent: As an Azure Stack Hub user, I want to learn how to use the AKS engine command-line so that I can deploy and manage a Kubernetes cluster on Azure and Azure Stack Hub.
@@ -15,31 +13,29 @@ ms.lastreviewed: 09/02/2020
15
13
---
16
14
17
15
18
-
# What is AKS engine on Azure Stack Hub?
16
+
# What is the AKS engine on Azure Stack Hub?
19
17
20
18
You can use the AKS engine command-line tool to deploy and manage a Kubernetes cluster on Azure and Azure Stack Hub. Use AKS engine to create, upgrade, and scale Azure Resource Manager native clusters. You can use the engine to deploy a cluster in both connected and disconnected environments. This article provides an overview of AKS engine, supported scenarios for using the engine with Azure Stack Hub, and an introduction to operations such as deploy, upgrade, and scale.
21
19
22
-
## Overview of AKS engine
20
+
## Overview of the AKS engine
23
21
24
-
[AKS engine](https://github.com/Azure/aks-engine) provides a command-line tool to bootstrap Kubernetes clusters on Azure and Azure Stack Hub. By using the Azure Resource Manager, AKS engine helps you create and maintain clusters running on VMs, virtual networks, and other infrastructure-as-a-service (IaaS) resources in Azure Stack Hub.
22
+
The [AKS engine](https://github.com/Azure/aks-engine) provides a command-line tool to bootstrap Kubernetes clusters on Azure and Azure Stack Hub. By using the Azure Resource Manager, AKS engine helps you create and maintain clusters running on VMs, virtual networks, and other infrastructure-as-a-service (IaaS) resources in Azure Stack Hub.
25
23
26
24
## AKS engine on Azure Stack Hub considerations
27
25
28
-
Before you use AKS engine on Azure Stack Hub, it's important to understand the differences between Azure Stack Hub and Azure. This section identifies different features and key considerations when using Azure Stack Hub with AKS engine to manage your Kubernetes cluster.
29
-
30
-
For more information on the specifics of AKS engine on Azure Stack Hub and its differences with respect to Azure, see [AKS engine on Azure Stack Hub](https://github.com/Azure/aks-engine/blob/master/docs/topics/azure-stack.md).
26
+
Before you use the AKS engine on Azure Stack Hub, it's important to understand the differences between Azure Stack Hub and Azure. This section identifies different features and key considerations when using Azure Stack Hub with AKS engine to manage your Kubernetes cluster.
31
27
32
-
For more information on AKS engine and Azure Stack Hub, see [Support policies for AKS engine on Azure Stack Hub](azure-stack-kubernetes-aks-engine-support.md).
28
+
For more information about the AKS engine and Azure Stack Hub, see [Support policies for AKS engine on Azure Stack Hub](azure-stack-kubernetes-aks-engine-support.md).
33
29
34
-
## Install AKS engine and deploy a Kubernetes cluster
30
+
## Install the AKS engine and deploy a Kubernetes cluster
35
31
36
-
To deploy a Kubernetes cluster with AKS engine on Azure Stack Hub:
32
+
To deploy a Kubernetes cluster with the AKS engine on Azure Stack Hub:
37
33
38
-
1.[Set up the prerequisites for AKS engine](azure-stack-kubernetes-aks-engine-set-up.md)
39
-
2. Install AKS engine on a machine with access to your Azure Stack Hub environment.
34
+
1.[Set up the prerequisites for the AKS engine](azure-stack-kubernetes-aks-engine-set-up.md)
35
+
1. Install the AKS engine on a machine with access to your Azure Stack Hub environment.
40
36
-[Install AKS engine on Windows in Azure Stack Hub](azure-stack-kubernetes-aks-engine-deploy-windows.md)
41
37
-[Install AKS engine on Linux in Azure Stack Hub](azure-stack-kubernetes-aks-engine-deploy-linux.md)
42
-
3.[Deploy a Kubernetes cluster with AKS engine on Azure Stack Hub](azure-stack-kubernetes-aks-engine-deploy-cluster.md)
38
+
1.[Deploy a Kubernetes cluster with AKS engine on Azure Stack Hub](azure-stack-kubernetes-aks-engine-deploy-cluster.md)
0 commit comments