Azure account onboarding with CTL¶
Use this guide when your hosted plan or BYOA plan deploys to Azure.
Region model¶
Azure account configs do not use bindings. Once the account is verified and READY, the same account config can be reused across supported Azure regions. Pick the target region during deployment creation.
Prerequisites¶
- An Azure subscription ID and tenant ID.
- Permission to run the Omnistrate bootstrap command in Azure Cloud Shell.
- The Azure and Microsoft Entra roles called out in Account Onboarding.
omnistrate-ctlinstalled and logged in.
Hosted flow¶
1. Register the hosted account config¶
For Azure, use --skip-wait because the account cannot become READY until the bootstrap command is executed in Azure Cloud Shell.
omnistrate-ctl account create azure-hosted \
--azure-subscription-id 00000000-0000-0000-0000-000000000000 \
--azure-tenant-id 11111111-1111-1111-1111-111111111111 \
--skip-wait
2. Copy the bootstrap shell command¶
In the account TUI:
- Select Actions -> Bootstrap.
- Press
cto copy the bootstrap shell command. - Paste that command into Azure Cloud Shell and run it.
3. Wait for the account to become ready¶
After the bootstrap command succeeds, rerun:
Continue until the account status is READY.
4. Create the first hosted deployment¶
omnistrate-ctl instance create \
--service <service> \
--environment <environment> \
--plan <hosted-plan> \
--resource <resource> \
--cloud-provider azure \
--region eastus \
--param-file ./params.json
BYOA flow¶
1. Create the customer onboarding instance¶
omnistrate-ctl account customer create \
--service <service> \
--environment <environment> \
--plan <byoa-plan> \
--azure-subscription-id 00000000-0000-0000-0000-000000000000 \
--azure-tenant-id 11111111-1111-1111-1111-111111111111 \
--skip-wait
In production environments, the command uses the calling user's subscription by default. Add --subscription-id or --customer-email only if you need to onboard on behalf of a different production subscription.
2. Find the backing account config and run the bootstrap command¶
Copy summary.accountConfigID, then open the backing account config:
Select Actions -> Bootstrap, copy the Azure Cloud Shell command, and run it in the target customer subscription.
3. Verify the customer onboarding instance¶
omnistrate-ctl account customer describe <customer-account-instance-id>
omnistrate-ctl account customer list --cloud-provider azure
4. Create the BYOA deployment¶
omnistrate-ctl instance create \
--service <service> \
--environment <environment> \
--plan <byoa-plan> \
--resource <resource> \
--cloud-provider azure \
--region eastus \
--customer-account-id <customer-account-instance-id> \
--param-file ./params.json
Update and delete¶
Azure does not require account-level updates to add regions. Reuse the same account config and choose a different Azure region when you create the instance.
Useful lifecycle commands: