Skip to content

Commit 3151e9b

Browse files
authored
Merge pull request #16659 from MicrosoftDocs/main
12/23/2024 PM Publish
2 parents bbd2110 + 24edb67 commit 3151e9b

File tree

3 files changed

+33
-161
lines changed

3 files changed

+33
-161
lines changed

AKS-Hybrid/aks-create-clusters-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ To see the Azure Vote app in action, open a web browser to the external IP addre
247247
Run the `az aksarc delete` command to clean up the cluster you created:
248248

249249
```azurecli
250-
az aksarc delete --resource-group $aksclustername --name $resource_group
250+
az aksarc delete --name $aksclustername --resource-group $resource_group
251251
```
252252

253253
## Next steps

AKS-Hybrid/create-clusters-bicep.md

Lines changed: 18 additions & 143 deletions
Original file line numberDiff line numberDiff line change
@@ -36,163 +36,38 @@ Before you begin, make sure you have the following prerequisites:
3636

3737
To create an SSH key pair (same as Azure AKS), use the following procedure:
3838

39-
1. [Open a Cloud Shell session](https://shell.azure.com) in your browser.
40-
1. Create an SSH key pair using the `az sshkey create` Azure CLI command or the `ssh-keygen` command:
39+
1. [Open a Cloud Shell session](https://shell.azure.com) in your browser or open a terminal on your local machine.
40+
1. Create an SSH key pair using `az sshkey create`:
4141

4242
```azurecli
43-
# Create an SSH key pair using Azure CLI
44-
az sshkey create --name "mySSHKey" --resource-group "myResourceGroup"
43+
az sshkey create --name <Public_SSH_Key> --resource-group <Resource_Group_Name>
4544
```
4645

47-
Or, create an SSH key pair using `ssh-keygen`:
46+
Or, create a local SSH key pair using `ssh-keygen`:
4847

4948
```bash
5049
ssh-keygen -t rsa -b 4096
5150
```
5251

53-
For more information about creating SSH keys, see [Create and manage SSH keys for authentication in Azure](/azure/virtual-machines/linux/create-ssh-keys-detailed).
54-
55-
## Update and review the Bicep scripts
56-
57-
This section shows the Bicep parameter and template files. These files are also available in an [Azure Quickstart template](https://github.com/Azure/azure-quickstart-templates).
58-
59-
### Bicep parameter file: aksarc.bicepparam
60-
61-
```bicep
62-
using 'main.bicep'
63-
param aksClusterName = 'aksarc-bicep-new'
64-
param aksControlPlaneIP = 'x.x.x.x'
65-
param sshPublicKey = 'ssh_public_key'
66-
param hciLogicalNetworkName = 'lnet_name'
67-
param hciCustomLocationName = 'cl_name'
68-
param aksNodePoolOSType = 'Linux'
69-
param aksNodePoolNodeCount = 1
70-
```
71-
72-
### Bicep template file: main.bicep
73-
74-
```bicep
75-
@description('The name of AKS Arc cluster resource')
76-
param aksClusterName string
77-
param location string = 'eastus'
78-
79-
// Default to 1 node CP
80-
@description('The name of AKS Arc cluster control plane IP, provide this parameter during deployment')
81-
param aksControlPlaneIP string
82-
param aksControlPlaneNodeSize string = 'Standard_A4_v2'
83-
param aksControlPlaneNodeCount int = 1
84-
85-
// Default to 1 node NP
86-
param aksNodePoolName string = 'nodepool1'
87-
param aksNodePoolNodeSize string = 'Standard_A4_v2'
88-
param aksNodePoolNodeCount int = 1
89-
@allowed(['Linux', 'Windows'])
90-
param aksNodePoolOSType string = 'Linux'
91-
92-
@description('SSH public key used for cluster creation, provide this parameter during deployment')
93-
param sshPublicKey string
94-
95-
// Build LNet ID from LNet name
96-
@description('The name of LNet resource, provide this parameter during deployment')
97-
param hciLogicalNetworkName string
98-
resource logicalNetwork 'Microsoft.AzureStackHCI/logicalNetworks@2023-09-01-preview' existing = {
99-
name: hciLogicalNetworkName
100-
}
101-
102-
// Build custom location ID from custom location name
103-
@description('The name of custom location resource, provide this parameter during deployment')
104-
param hciCustomLocationName string
105-
var customLocationId = resourceId('Microsoft.ExtendedLocation/customLocations', hciCustomLocationName)
106-
107-
// Create the connected cluster. This is the Arc representation of the AKS cluster, used to create a Managed Identity for the provisioned cluster.
108-
resource connectedCluster 'Microsoft.Kubernetes/ConnectedClusters@2024-01-01' = {
109-
location: location
110-
name: aksClusterName
111-
identity: {
112-
type: 'SystemAssigned'
113-
}
114-
kind: 'ProvisionedCluster'
115-
properties: {
116-
agentPublicKeyCertificate: ''
117-
aadProfile: {
118-
enableAzureRBAC: false
119-
}
120-
}
121-
}
122-
123-
// Create the provisioned cluster instance. This is the actual AKS cluster and provisioned on your Azure Local cluster via the Arc Resource Bridge.
124-
resource provisionedClusterInstance 'Microsoft.HybridContainerService/provisionedClusterInstances@2024-01-01' = {
125-
name: 'default'
126-
scope: connectedCluster
127-
extendedLocation: {
128-
type: 'CustomLocation'
129-
name: customLocationId
130-
}
131-
properties: {
132-
linuxProfile: {
133-
ssh: {
134-
publicKeys: [
135-
{
136-
keyData: sshPublicKey
137-
}
138-
]
139-
}
140-
}
141-
controlPlane: {
142-
count: aksControlPlaneNodeCount
143-
controlPlaneEndpoint: {
144-
hostIP: aksControlPlaneIP
145-
}
146-
vmSize: aksControlPlaneNodeSize
147-
}
148-
networkProfile: {
149-
loadBalancerProfile: {
150-
count: 0
151-
}
152-
networkPolicy: 'calico'
153-
}
154-
agentPoolProfiles: [
155-
{
156-
name: aksNodePoolName
157-
count: aksNodePoolNodeCount
158-
vmSize: aksNodePoolNodeSize
159-
osType: aksNodePoolOSType
160-
}
161-
]
162-
cloudProviderProfile: {
163-
infraNetworkProfile: {
164-
vnetSubnetIds: [
165-
logicalNetwork.id
166-
]
167-
}
168-
}
169-
storageProfile: {
170-
nfsCsiDriver: {
171-
enabled: true
172-
}
173-
smbCsiDriver: {
174-
enabled: true
175-
}
176-
}
177-
}
178-
}
179-
```
180-
181-
The **Microsoft.HybridContainerService/provisionedClusterInstances** resource is defined in the Bicep file. If you want to explore more properties, [see the API reference](/azure/templates/microsoft.hybridcontainerservice/provisionedclusterinstances?pivots=deployment-language-bicep).
182-
183-
## Deploy the Bicep file
184-
185-
1. Save the Bicep file as **main.bicep** to your local computer.
186-
1. Update the parameters defined in **aksarc.bicepparam** and save it to your local computer.
187-
1. Deploy the Bicep file using Azure CLI:
52+
It's recommended that you create an SSH key pair in Azure, as you can use it later for node access or troubleshooting. For more information about creating SSH keys, see [Create and manage SSH keys for authentication in Azure](/azure/virtual-machines/linux/create-ssh-keys-detailed) and [Restrict SSH Access](restrict-ssh-access.md).
53+
54+
## Download and update the Bicep scripts
55+
56+
Download these two files from the [AKSArc GitHub repo](https://github.com/Azure/aksArc/tree/main/deploymentTemplates) for your Bicep deployment: **main.bicep** and **aksarc.bicepparam**. Update the parameters from **aksarc.bicepparam** as needed, and make sure all the default values from **main.bicep** are correct.
57+
58+
The **Microsoft.HybridContainerService/provisionedClusterInstances** resource type is defined in **main.bicep**. If you want to customize more properties for cluster creation, see the [**provisionedClusterInstances** API Reference](/azure/templates/microsoft.hybridcontainerservice/provisionedclusterinstances?pivots=deployment-language-bicep).
59+
60+
## Deploy the Bicep templates
61+
62+
Create a Bicep deployment using Azure CLI:
18863

18964
```azurecli
190-
az deployment group create --name BicepDeployment --resource-group myResourceGroupName --template-file main.bicep –-parameters aksarc.bicepparam
65+
az deployment group create --name BicepDeployment --resource-group <Resource_Group_Name> --parameters aksarc.bicepparam
19166
```
19267

193-
## Validate the Bicep deployment and connect to the cluster
68+
## Validate the deployment and connect to the cluster
19469

195-
You can now connect to your Kubernetes cluster by running the `az connectedk8s proxy` command from your development machine. You can also use **kubectl** to see the node and pod status. Follow the same steps as described in [Connect to the Kubernetes cluster](aks-create-clusters-cli.md#connect-to-the-kubernetes-cluster).
70+
You can now connect to your Kubernetes cluster by running `az connectedk8s proxy` command from your development machine. You can also use **kubectl** to see the node and pod status. Follow the same steps as described in [Connect to the Kubernetes cluster](aks-create-clusters-cli.md#connect-to-the-kubernetes-cluster).
19671

19772
## Next steps
19873

azure-stack/operator/azure-stack-overview.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description: An overview of what Azure Stack Hub is and how it lets you run Azur
44
author: sethmanheim
55

66
ms.topic: overview
7-
ms.date: 01/31/2022
7+
ms.date: 12/23/2024
88
ms.author: sethm
99
ms.reviewer: unknown
10-
ms.lastreviewed: 10/31/2024
10+
ms.lastreviewed: 11/08/2019
1111

1212
# Intent: As an Azure Stack operator, I want an overview of what Azure Stack is so I can start using it.
1313
# Keyword: use azure stack
@@ -29,7 +29,7 @@ Azure provides a rich platform for developers to build modern apps. However, som
2929

3030
### Data residency
3131

32-
If the customer deploys Azure Stack Hub disconnected from global Azure and from the internet, no data that is stored on the appliance is sent to Microsoft. Azure Stack Hub is an on-premises appliance. Customers fully own and control the appliance, access to the appliance, and any data stored on the appliance. Disconnected deployment allows for complete control over data location by the customer. A customer can alternatively elect to connect an Azure Stack Hub appliance to global Azure or to the Internet in a hybrid workload scenario (for example, a solution that uses resources deployed on Azure Stack Hub and public Azure with data transmitting between both) or with hybrid cloud management (for example, connecting a virtual machine deployed on Azure Stack Hub to Azure Monitor in public Azure for monitoring.) In such scenarios, the customer is responsible for validating whether the Azure or other online services used with the appliance satisfy any data residency concerns. For more information about data residency, please see [Data residency in Azure](https://azure.microsoft.com/global-infrastructure/data-residency/).
32+
If the customer deploys Azure Stack Hub disconnected from global Azure and from the internet, no data that is stored on the appliance is sent to Microsoft. Azure Stack Hub is an on-premises appliance. Customers fully own and control the appliance, access to the appliance, and any data stored on the appliance. Disconnected deployment allows for complete control over data location by the customer. A customer can alternatively elect to connect an Azure Stack Hub appliance to global Azure or to the Internet in a hybrid workload scenario (for example, a solution that uses resources deployed on Azure Stack Hub and global Azure with data transmitting between both) or with hybrid cloud management (for example, connecting a virtual machine deployed on Azure Stack Hub to Azure Monitor in global Azure for monitoring.) In such scenarios, the customer is responsible for validating whether the Azure or other online services used with the appliance satisfy any data residency concerns. For more information about data residency, see [Data residency in Azure](https://azure.microsoft.com/global-infrastructure/data-residency/).
3333

3434
## Azure Stack Hub architecture
3535

@@ -45,28 +45,25 @@ The Azure Stack Hub architecture lets you provide Azure services at the edge for
4545

4646
Azure Stack Hub integrated systems are offered through a partnership of Microsoft and hardware partners, creating a solution that offers cloud-paced innovation and computing management simplicity. Because Azure Stack Hub is offered as an integrated hardware and software system, you have the flexibility and control you need, along with the ability to innovate from the cloud.
4747

48-
An Azure Stack Hub integrated system can range in size from 4-16 servers, called a *scale unit*. Integrated systems are jointly supported by the hardware partner and Microsoft. The following diagram shows an example of a scale unit.
48+
An Azure Stack Hub integrated system can range in size from 4-16 servers, called a *scale unit*. Integrated systems are supported by the hardware partner and Microsoft. The following diagram shows an example of a scale unit.
4949

50-
![Diagram showing an Azure Stack Hub integrated system](./media/azure-stack-overview/azure-stack-integrated-system.svg).
51-
52-
<!---add info and image on regions, etc--->
50+
![Diagram showing an Azure Stack Hub integrated system](./media/azure-stack-overview/azure-stack-integrated-system.svg).
5351

5452
### Connection models
5553

56-
You can choose to deploy Azure Stack Hub either **connected** to the internet (and to Azure) or **disconnected** from it.
54+
You can choose to deploy Azure Stack Hub either **connected** to the internet (and to Azure) or **disconnected** from it.
5755

5856
> For more information, see the considerations for [connected](azure-stack-connected-deployment.md) and [disconnected](azure-stack-disconnected-deployment.md) deployment models.
5957
60-
### Identity provider
58+
### Identity provider
6159

62-
Azure Stack Hub uses either Microsoft Entra ID or Active Directory Federation Services (AD FS). Microsoft Entra ID is Microsoft's cloud-based, multi-tenant identity provider. Most hybrid scenarios with internet-connected deployments use Microsoft Entra ID as the identity store.
60+
Azure Stack Hub uses either Microsoft Entra ID or Active Directory Federation Services (AD FS). Microsoft Entra ID is Microsoft's cloud-based, multitenant identity provider. Most hybrid scenarios with internet-connected deployments use Microsoft Entra ID as the identity store.
6361

6462
For disconnected deployments of Azure Stack Hub, you need to use AD FS. Azure Stack Hub resource providers and other apps work similarly with AD FS or Microsoft Entra ID. Azure Stack Hub includes its own Active Directory instance and an Active Directory Graph API.
6563

66-
6764
## How is Azure Stack Hub managed?
6865

69-
Azure Stack Hub uses the same operations model as Azure. An Azure Stack Hub operator can deliver a variety of services and apps to tenant users, similar to how Microsoft delivers Azure services to tenant users.
66+
Azure Stack Hub uses the same operations model as Azure. An Azure Stack Hub operator can deliver a variety of services and apps to tenant users, similar to how Microsoft delivers Azure services to tenant users.
7067

7168
![Diagram showing Azure Stack Hub job roles](./media/azure-stack-overview/azure-stack-job-roles.svg)
7269

@@ -78,7 +75,7 @@ As an Azure Stack Hub operator, you can deliver [VMs](./tutorial-offer-services.
7875

7976
An operator can manage Azure Stack Hub with the [administrator portal](azure-stack-manage-portals.md) or [PowerShell](/powershell/azurestackhub/overview). You can configure Azure Stack Hub to [deliver services](service-plan-offer-subscription-overview.md) to tenants using plans, quotas, offers, and subscriptions. Tenant users can subscribe to multiple offers. Offers can have one or more plans, and plans can have one or more services. Operators also manage capacity and respond to alerts.
8077

81-
Users consume services that the operator offers. Users can provision, monitor, and manage services that they've subscribed to, like web apps, storage, and VMs. Users can manage Azure Stack Hub with the user portal or PowerShell.
78+
Users consume services that the operator offers. Users can provision, monitor, and manage services that they're subscribed to, like web apps, storage, and VMs. Users can manage Azure Stack Hub with the user portal or PowerShell.
8279

8380
> To learn more about managing Azure Stack Hub, including what accounts to use where, typical operator responsibilities, what to tell your users, and how to get help, review [Azure Stack Hub administration basics](azure-stack-manage-basics.md).
8481
@@ -90,7 +87,7 @@ Resource providers are web services that form the foundation for all Azure Stack
9087

9188
There are three foundational IaaS resource providers:
9289

93-
- **Compute**: The Compute Resource Provider lets Azure Stack Hub tenants to create their own VMs. The Compute Resource Provider includes the ability to create VMs as well as VM extensions. The VM extension service helps provide IaaS capabilities for Windows and Linux VMs. As an example, you can use the Compute Resource Provider to provision a Linux VM and run Bash scripts during deployment to configure the VM.
90+
- **Compute**: The Compute Resource Provider lets Azure Stack Hub tenants to create their own VMs. The Compute Resource Provider includes the ability to create VMs and VM extensions. The VM extension service helps provide IaaS capabilities for Windows and Linux VMs. As an example, you can use the Compute Resource Provider to provision a Linux VM and run Bash scripts during deployment to configure the VM.
9491
- **Network Resource Provider**: The Network Resource Provider delivers a series of Software Defined Networking (SDN) and Network Function Virtualization (NFV) features for the private cloud. You can use the Network Resource Provider to create resources like software load balancers, public IPs, network security groups, and virtual networks.
9592
- **Storage Resource Provider**: The Storage Resource Provider delivers four Azure-consistent storage services: [blob](/azure/storage/common/storage-introduction#blob-storage), [queue](/azure/storage/common/storage-introduction#queue-storage), [table](/azure/storage/common/storage-introduction#table-storage), and [Key Vault](/azure/key-vault/) account management providing management and auditing of secrets, such as passwords and certificates. The storage resource provider also offers a storage cloud administration service to facilitate service provider administration of Azure-consistent storage services. Azure Storage provides the flexibility to store and retrieve large amounts of unstructured data, like documents and media files with Azure Blobs, and structured NoSQL based data with Azure Tables.
9693

@@ -104,8 +101,8 @@ There are three optional PaaS resource providers that you can deploy and use wit
104101

105102
## Next steps
106103

107-
[Administration basics](azure-stack-manage-basics.md).
104+
[Administration basics](azure-stack-manage-basics.md)
108105

109-
[Quickstart: use the Azure Stack Hub administration portal](azure-stack-manage-portals.md).
106+
[Quickstart: use the Azure Stack Hub administration portal](azure-stack-manage-portals.md)
110107

111-
[Understand usage and billing](azure-stack-usage-reporting.md).
108+
[Understand usage and billing](azure-stack-usage-reporting.md)

0 commit comments

Comments
 (0)