- Understand how secrets are structured.
- Create the following secrets in the Key Vault:
domainAdminUser
: The admin user name of domain controller. (Leave it empty if you prepare AD yourself)domainAdminPassword
: The admin user password of domain controller. (Leave it empty if you prepare AD yourself)<site>-localAdminUser
: The admin user name of HCI hosts.<site>-localAdminPassword
: The admin user password of HCI hosts.<site>-deploymentUserPassword
: The password of deployment user which will be created during HCI deployment.arbServicePrincipalId
: The client ID of the service principal for Arc Resource Bridge deployment. (Can be the same as AZURE_CLIENT_ID)arbServicePrincipalSecret
: The client secret of the service principal for Arc Resource Bridge deployment.rpServicePrincipalObjectId
(Check Getting rpServicePrincipalObjectId to get its value.)
- Create a branch from
main
by runninggit checkout -b <yourFeatureBranch>
. - (Optional) This template predefined resource names. You can change them following Edit Resource Naming Conventions.
Note
If you connect Arc for servers by your own, the result of resource group's naming convention must be the same with the resource group for Arc for servers.
-
Rename
dev/sample
todev/<your location>
. Uncomment the sample code and then edit the variables in thedev/<your location>/main.tf
commit and push. -
(Optional) Skip this step if you haven't provisioned Arc for servers yet.
If the Arc servers are already provisioned by yourself, go to
dev/<your location>/imports.tf
and uncomment the import block, change the placeholders to your resource group that contains the Arc servers. Opendev/<your location>/main.tf
and addenableProvisioners = false
in the module block. -
(Optional) Follow Sharing HCI dependencies to use shared key vault and witness storage account.
-
Create a pull request to
main
. After approval, changes will be applied automatically. After the successful deployment, following resources will be created:- A resource group name
<site>-rg
- A KeyVault named
<site>-kv
: Contains secrets that used for deploy - Arc servers that make up the HCI cluster
- A storage account used for HCI cloud witness
- An HCI cluster name
<site>-cl
- Arc Resource Bridge named
<site>-cl-arcbridge
- Custom location of ARB named
<site>-customLocation
- Two storage paths named
UserStorage1
,UserStorage2
- A resource group name
-
After the pull request is merged, new sites will be applied.
If you want to scale more site, you can Scale or Go back to home page
Learn more:
- About your CI/CD pipeline running status
- About troubleshooting
- About enabling arc extensions for all sites
- About adding new stage