How to Install in an Azure Container Instance

Once you have configured a managed identity for your virtual machine, in the agent slideout in Loome Assist you can provide the agent name, resource group name and resource location to install your agent.

Configure Managed Identity

You can edit the agent name.

Agent name

You can then provide the name of an existing resource group in your Azure Subscription.

Resource group name

Then select your Resource Location. It will determine what Azure Region the container is created in.

Resource Location

The agent can be configured as an Azure Container Instance resource using one of the following commands.

For Azure PowerShell:

Azure PowerShell command

New-AzureRmContainerGroup -ResourceGroupName ExampleResourceGroup -Name loome-agent -Location australiaeast -Image loomesoftware/agent-development:latest -EnvironmentVariable @{ "LOOME_AGENT_SETTING_HOSTURL"="https://dev-assist-api.azurewebsites.net"; "LOOME_AGENT_SETTING_IDA__AUTHORITY"="https://dev-id.loomesoftware.com/"; "LOOME_AGENT_SETTING_IDA__CLIENTID"="d8973f3b-2882-4f2a-93ec-e8f496532f29"; "LOOME_AGENT_SETTING_IDA__SECRET"="d8973f3b-2882-4f2a-93ec-e8f496532f29"; "LOOME_AGENT_SETTING_PRODUCT"="assist"; "LOOME_AGENT_SETTING_HOSTNAME"="loome-agent" }

For Azure CLI/Cloud Shell:

Azure CLI/Cloud Shell command

az container create -g ExampleResourceGroup --name loome-agent --image loomesoftware/agent-development:latest --location australiaeast -e LOOME_AGENT_SETTING_HOSTURL=https://dev-assist-api.azurewebsites.net LOOME_AGENT_SETTING_IDA__AUTHORITY=https://dev-id.loomesoftware.com/ LOOME_AGENT_SETTING_IDA__CLIENTID=d8973f3b-2882-4f2a-93ec-e8f496532f29 LOOME_AGENT_SETTING_IDA__SECRET=d8973f3b-2882-4f2a-93ec-e8f496532f29 LOOME_AGENT_SETTING_HOSTNAME=loome-agent LOOME_AGENT_SETTING_PRODUCT=assist