Azure: Connect Source Subscriptions
Who can use this feature
Anyone with these permissions: Manage source connections
When you connect an Azure subscription, Eon discovers and backs up its resources. You can also turn on optional capabilities, such as backing up VMs encrypted with Azure Disk Encryption (ADE).
This article explains how to connect Azure subscriptions to Eon, and how to turn on an optional capability for a subscription that’s already connected. You can connect as many source subscriptions as you need. To update a subscription that’s already connected, go to the Select optional capabilities step and follow the numbered list under For a subscription that’s already connected.
Connect a source subscription
You can connect a subscription from the Source accounts > Azure subscriptions page in the Eon console. Click New Connection, and then select Connect subscription.
Before you start
Before you connect your source account, make sure:
-
Your Azure tenant is set up in Eon. See Azure: Set Up Azure Tenants for instructions.
-
You have the Azure CLI installed and are signed in to the relevant Azure tenant under an identity that can manage service principals and IAM roles.
-
You understand the permissions Eon needs to back up your resources. See Azure: Permissions Deployment Files for details.
-
To back up ADE-encrypted VMs, your Key Vaults meet the backup requirements for encrypted VMs.
Provide subscription details
In the wizard, provide the following information:
-
Tenant ID: Select the Azure tenant that contains the subscription you want to connect.
-
Subscription ID: Enter the ID of the subscription you want to connect.
-
Internal resource group name: Optionally customize the name of the resource group where Eon will deploy temporary infrastructure for backup operations. The default is
eon-source-internal-rg. -
Services to protect: Optionally, choose which resource types Eon protects. To protect Azure SQL Managed Instance, make sure Azure SQL is selected, then select SQL Managed Instance point-in-time restore. The option requires Azure source permissions version 1.19.0 or later. It’s available only after you contact Eon Support to turn on the feature for your Eon account.
Eon uses these details to generate your deployment command.
Select optional capabilities
Optionally, expand Optional capabilities to turn on additional capabilities for the source subscription. Each capability changes the permissions that Eon asks you to deploy in the next step.
- To back up VMs encrypted with ADE, turn on ADE encrypted VM backup.
This lets Eon read the disk encryption keys in your Key Vaults.
Eon adds
--enable-ade-backupto the Bash deployment command, orenable_ade_backup = trueto the Terraform module. If you leave this off, Eon can’t read the disk keys, and ADE-encrypted VMs show as Unsupported.
For a subscription that’s already connected: To turn on a capability, update the subscription’s permissions.
-
On the Source accounts > Azure subscriptions page, click (Actions) for the subscription, and then click Update permissions.
-
In the panel that opens, select the capability. The capabilities already enabled for the subscription stay selected.
-
Deploy the command or module that Eon generates.
The Update permissions option isn’t available for accounts connected at a management group. For these, re-run the latest source onboarding with the capability selected.
Deploy
Choose Terraform or Bash. Eon generates a deployment command pre-filled with any required values.
Bash
Terraform
-
Select the Bash deployment method.
-
Paste the provided
curlcommand in a Bash-compatible terminal and run. The command downloads and runs a script that installs the necessary roles using the Azure CLI. You can review the script before running it. -
Follow the prompts to choose the subscription you want to connect. Note that the list includes subscriptions in all tenants your Azure user account can access.
The script installs the roles for the subscription you selected. Once the roles are installed, the script then calls the Eon API to add the subscription to your list of connected source accounts.
If you want to connect more subscriptions, you can re-run the script for each subscription.
If you maintain your own deployment files, these parameters turn on SQL Managed Instance point-in-time restore, with Azure SQL backup on:
-
Bash:
--enable-sql-managed-instance-native-pitr true. -
Terraform:
enable_sql_managed_instance_native_pitr, set totrue.
Eon now has read access to your Azure subscriptions and can start discovering resources.
Turn on options for a connected subscription
To turn on an option for a subscription that’s already connected, such as SQL Managed Instance point-in-time restore:
-
On the Azure subscriptions page, find the subscription. On its row, select (Actions) → Update permissions.
-
In the Update permissions panel, expand Services to protect and select the option.
-
Run the deployment command that the panel shows, as described in the preceding Deploy step, then select I’m Done so Eon can confirm the new permissions.
The SQL Managed Instance point-in-time restore option is available only after Eon Support has turned on the feature for your Eon account. After the next discovery, the subscription’s managed instances lose the Unsupported status. To start a discovery sooner, select Trigger resource discovery from the same actions menu.