Automate - Configure Cloud Compute Engines - Azure

 

The material in this document is for informational purposes only. This guide assumes that the most recent version of Rampiva Automate is in use unless otherwise noted in the prerequisites. The products it describes are subject to change without prior notice, due to the manufacturer’s continuous development program. Rampiva makes no representations or warranties with respect to this document or with respect to the products described herein. Rampiva shall not be liable for any damages, losses, costs or expenses, direct, indirect or incidental, consequential or special, arising out of, or related to the use of this material or the products described herein.

Introduction

Utilize this article to configure your Azure resource pools.

Prerequisites - Azure

  • Microsoft Azure Subscription

  • Azure Virtual Machine(s)

  • Rampiva Automate installation on Azure Virtual Machine(s)

  • Rampiva Scheduler 3.7.1 or later

  • Azure Firewall and Windows Firewall set to allow inbound access to HTTPS (TCP port 443).


Instructions

A. Configure Azure

1

Download and install the Azure CLI Utility on a network machine or the Rampiva Scheduler server.

The Microsoft Azure CLI Utility can be downloaded from https://aka.ms/installazurecliwindows.

2

Launch Power Shell window.

3

Run the command az login. You will be redirected to an authentication page. Enter your login credentials.

4

Your Microsoft Azure subscription details will be listed including the id and tenantId. Take note of the id of the subscription you want to use.

5

Next, create a role assignment for Rampiva using the following command:

az ad sp create-for-rbac --name RampivaScheduler --role Contributor --scopes /subscriptions/aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb

Replace aaaaaaaa-1111-2222-3333-bbbbbbbbbbbb with the id of the subscription you want to use.

 

 

6

This command returns specific values that we’ll use in the Rampiva Automate configuration.

Take note the following items:

  • id

  • tenantId

  • appId

  • password

The password will only be displayed once at this step in the process.

B. Configure the Rampiva Engine config.yml File.

1

Configure Scheduler config.yml file (Scheduler Server).

2

Browse to C:\ProgramData\Rampiva\Scheduler for Nuix\Scheduler\config\.

Open the config.yml file with a text editor.

Copy the apiSecret key to the clipboard.

 

3

Browse to C:\ProgramData\Rampiva\Scheduler for Nuix\Engine Server\config\.

Open the config.yml file with a text editor.

Copy the API secret value from the previous step over the changeme value in the Rampiva Engine config.yml.

4

Restart the Rampiva Engine Service.

C. Configure an Azure Resource Pool in Rampiva

1

Launch Rampiva Scheduler

2

Select Settings.

Select Resource Pools.

Select Add+ Azure Resource Pool.

Input the authentication values required:

  • Tenant - The Azure tenantId from the previous step.

  • Key - The Azure password from the previous step.

  • App Id - The Azure appiId from the previous step.

  • Subscription ID - The Id from the previous step.

  • VM Names - Add each Virtual machine name.

  • Set the Idle Action to none.

  • Deselect the Force Idle Action Between Jobs.