Skip to content

Commit ee0aab0

Browse files
authored
Merge pull request #225660 from JnHs/jh-arcrb-deploycli
deployment commands topic
2 parents 86b3209 + f24c7c7 commit ee0aab0

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: Azure Arc resource bridge (preview) deployment command overview
3+
description: Learn about the Azure CLI commands which can be used to manage your Azure Arc resource bridge (preview) deployment.
4+
ms.date: 02/06/2023
5+
ms.topic: overview
6+
---
7+
8+
# Azure Arc resource bridge (preview) deployment command overview
9+
10+
[Azure CLI](/cli/azure/install-azure-cli) is required to deploy the Azure Arc resource bridge. When deploying Arc resource bridge with a corresponding partner product, the Azure CLI commands may be combined into an automation script, along with additional provider-specific commands. To learn about installing Arc resource bridge with a corresponding partner product, see:
11+
12+
- [Connect VMware vCenter Server to Azure with Arc resource bridge](../vmware-vsphere/quick-start-connect-vcenter-to-arc-using-script.md)
13+
- [Connect System Center Virtual Machine Manager (SCVMM) to Azure with Arc resource bridge](../system-center-virtual-machine-manager/quickstart-connect-system-center-virtual-machine-manager-to-arc.md#download-the-onboarding-script)
14+
- [Azure Stack HCI VM Management through Arc resource bridge](/azure-stack/hci/manage/azure-arc-vm-management-prerequisites)
15+
16+
This topic provides an overview of the [Azure CLI commands](/cli/azure/arcappliance) that are used to manage Arc resource bridge (preview) deployment, in the order in which they are typically used for deployment.
17+
18+
## az arcappliance createconfig
19+
20+
Creates the configuration files used by Arc resource bridge. Credentials that are provided during `createconfig`, such as vCenter credentials for VMware vSphere, are stored in a configuration file and locally within Arc resource bridge. These credentials should be a separate user account used only by Arc resource bridge, with permission to view, create, delete, and manage on-premises resources. If the credentials change, then the credentials on the resource bridge should be rotated.
21+
22+
The `createconfig` command features two modes: interactive and non-interactive. Interactive mode provides helpful prompts that explain the parameter and what to pass. To initiate interactive mode, pass only the three required parameters. Non-interactive mode allows you to pass all the parameters needed to create the configuration files without being prompted, which saves time and is useful for automation scripts. Three configuration files are generated: resource.yaml, appliance.yaml and infra.yaml. These files should be kept and stored in a secure location, as they're required for maintenance of Arc resource bridge.
23+
24+
> [!NOTE]
25+
> Azure Stack HCI and Hybrid AKS use different commands to create the Arc resource bridge configuration files.
26+
27+
## az arcappliance validate
28+
29+
Checks the configuration files for a valid schema, cloud and core validations (such as management machine connectivity to required URLs), network settings, and no proxy settings.
30+
31+
## az arcappliance prepare
32+
33+
Downloads the OS images from Microsoft and uploads them to the on-premises cloud image gallery to prepare for the creation of the appliance VM.
34+
35+
This command can take up to 30 minutes to complete, depending on the network download speed. Allow the command to complete before continuing with the deployment.
36+
37+
## az arcappliance deploy
38+
39+
Deploys an on-premises instance of Arc resource bridge as an appliance VM, bootstrapped to be a Kubernetes management cluster. Gets all necessary pods into a running state.
40+
41+
## az arcappliance create
42+
43+
Creates Arc resource bridge in Azure as an ARM resource, then establishes the connection between the ARM resource and on-premises appliance VM.
44+
45+
Running this command is the last step in the deployment process.
46+
47+
## az arcappliance show
48+
49+
Gets the ARM resource information for Arc resource bridge. This information helps you monitor the status of the appliance. Successful appliance creation results in `ProvisioningState = Succeeded` and `Status = Running`.
50+
51+
## az arcappliance delete
52+
53+
Deletes the appliance VM and Azure resources. It doesn't clean up the OS image, which remains in the on-premises cloud gallery.
54+
55+
If a deployment fails, you must run this command to clean up the environment before you attempt to deploy again.
56+
57+
## Next steps
58+
59+
- Explore the full list of [Azure CLI commands and required parameters](/cli/azure/arcappliance) for Arc resource bridge.
60+
- Get [troubleshooting tips for Arc resource bridge](troubleshoot-resource-bridge.md).

articles/azure-arc/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
href: ./resource-bridge/network-requirements.md
2121
- name: Security overview
2222
href: ./resource-bridge/security-overview.md
23+
- name: Deployment overview
24+
href: ./resource-bridge/deploy-cli.md
2325
- name: Troubleshoot
2426
href: ./resource-bridge/troubleshoot-resource-bridge.md
2527
- name: Azure Arc-enabled servers >

0 commit comments

Comments
 (0)