Azure PAYG Account Settings

In this section, we take you through step by step process on how to add cloud service credentials and map your Azure PAYG Account with your Jamcracker Appliance.
Note: Please contact Jamcracker support for assistance related to PAYG account settings.

To setup Azure Account for Jamcracker Appliance, you need to create an App in your Azure portal. Click here to know how to create an App.

So, once you are done with creating an App, you must map your Azure PAYG Account with Jamcracker Appliance.

Add Azure PAYG Cloud Service Credentials

In this section, we take you through step by step process on how to add Microsoft CSP cloud service credentials and map your CSP Credentials with your Jamcracker Appliance. Before you map your CSP Credentials, you must update Graph API Client ID and Graph API Secret Key. To update your CSP Credentials you must have the following information handy.

  • Graph API Client ID
  • Graph API Secret Key
  • Microsoft CSP Partner ID
  • Keys
  • Application ID
  • Domain

Click here to know how to get your Graph API Client ID and Graph API Secret Key.

Note: We assume that you already have Microsoft CSP Cloud Service Credentials (Azure PAYG Account).

Perform the following steps to add Microsoft CSP Cloud Service Credentials:

  1. Login to Jamcracker Appliance using your credentials.
  2. Navigate to Manage > Cloud Service Credentials.

  3. On the Cloud Service Credentials page, click the Add Cloud Service Credentials icon.

  4. Select the could provider from cloud provider drop-down list, click Next. Fields related to selected provider appears on the screen.

    The following table explains the configuration settings fields for Pay-as-you-Go Account.
    Table 1.
    Fields Value
    Cloud Provider Select the cloud provider from the drop-down list. While configuring an Azure Account.
    Microsoft Primary Domain Type a unique primary domain name without any extension. Example: <domain>. We assume that your primary domain extension ends with <domain.onmicrosoft.com>.
    Microsoft Customer ID Type the customer ID for the Azure account.
    Microsoft Subscription ID Type the subscription ID. This field is displayed, if you have an account with Microsoft. Click here to know how to find your Microsoft Subscription ID.
    Graph API Client ID Type Graph API Client ID. Click here to know how to find your Graph API Client ID.
    Graph API Secret Key Type Graph API Secret Key. Click here to know how to find your Graph API Secret Key.
  5. Click Save.Once you are done with adding the cloud service credentials, refer Step 7 of Adding Cloud Service Credentials.
    Note: You might experience some of the features doesn't perform as expected, such as; live dashboard don't load, resources doesn't display, billing might be wrong. This is due to some of the following errors:
    • You might have provided wrong credentials.
    • Latency in data processing.
    • If JobServer is down.
    • Unexpected special characters in the processing file.
  6. Click Save. Cloud Service Credentials page appears on the screen with Azure account listed in cloud service list.

    Now that you have added your cloud service credentials, you must activate your account.

  7. Refresh the screen after 2 -3 minutes to see the status updated to Waiting for Authorization.
  8. Click Action > Authorize. You will be navigated to Microsoft login page.

  9. Add the Credentials (Account Admin Credentials) and click Sign-In.

  10. Change Password page appears on the screen as the password shared was the default password. Set up the new password and click Save.
  11. Authorize by clicking on Accept.

  12. You will be redirected back to cloud service credentials page and the status will be updated to active.

Add Role and Contribute in Azure Portal

Once the PAYG cloud service is in the active state in cloud service credentials page, add role and contributor to the app you created in Azure portal.

Add Role

To Add permissions to your subscriptions, do the following:

  1. Login to Azure Portal using your login credentials.
  2. Click Subscription option from the left menu. If you don't find this option, click All Services from the left menu and search for the option.

    We assume that you already have a subscription associated.

  3. Now, on the Subscription page, search for the subscription by typing few unique characters of your subscription name and click on the subscription name and navigate to Access Control (IAM) page.

  4. Click Add and add below Roles:
    • Select the role as Owner and then select the member from the list. Please note, your member email should be "admin@<<yoursubdomain>>.onmicosoft.com".
    • Select the role as Contributor and then select the APP to provide the consent, you can search for the App by typing few unique characters.
    • Select the role as Reader and then select the APP to provide the consent, you can search for the App by typing few unique characters.

  5. Click Save.

Create Resource Groups

Now, you have to create your own Resource Groups.

  1. Click Resource Groups from the left menu. If you don't find this option, click All Services from the left menu and search for the option.

  2. Click Add.

    • Enter the Resource group name.
    • Select the Subscription from the drop-down list.
    • Select the Resource group location from the drop-down list.
  3. After entering the details, click Create. Your resource group is created successfully.

Create Storage Accounts

Now, you have to create your own storage account.

  1. Click Storage accounts from the left menu. If you don't find this option, click All Services from the left menu and search for the option.

  2. Click Add.

    Enter the following details:

    • Name: Type storage account name of your choice.
    • Deployment Model: Enable deployment model as Resource manager.
    • Account kind: Select General Purpose from the drop-down list.
    • Performance: Enable performance as Standard.
    • Replication: Select any one from the drop-down list.
    • Secure transfer required: Ensure the Disabled option is selected.
    • Subscription: Select the subscription (that you have created) from the drop-down list.
    • Resource group: Since you have created one, select Use existing option and then select the resource group (that you have created) from the drop-down list.
    • Location: Select the location from the drop-down list. Please ensure you select the same location that you have selected while creating the resource group.

  3. After entering all the mandatory details, click Create. Your storage account is created successfully.

Create Virtual Networks

Now, you have to create your own Virtual Network.

  1. Click Virtual network from the left menu. If you don't find this option, click All Services from the left menu and search for the option.

  2. Click Add, to add a new Virtual network.

    Enter the following details:

    • Name: Type virtual network name of your choice.
    • Address space: The IP address will auto populate. We recommend you to please use the same values.
    • Subscription: Select the subscription (that you have created) from the drop-down list.
    • Resource group: Since you have created one, select Use existing option and then select the resource group (that you have created) from the drop-down list.
    • Location: Select the location from the drop-down list. Please ensure you select the same location that you have selected while creating the resource group.
    • Subnet name: The subnet name will auto populate. We recommend you to please use the same values.
    • Address range: The address range will auto populate. We recommend you to please use the same values.
  3. Click Create. Your Virtual network is created successfully.

Create Availability Sets

Now, you have to create your own Availability sets.

  1. Click Availability sets from the left menu. If you don't find this option, click All Services from the left menu and search for the option.

  2. Click Add, to add a new Availability sets.

    Enter the following details:

    • Name: Type virtual availability name of your choice.
    • Subscription: Select the subscription (that you have created) from the drop-down list.
    • Resource group: Since you have created one, select Use existing option and then select the resource group (that you have created) from the drop-down list.
    • Location: Select the location from the drop-down list. Please ensure you select the same location that you have selected while creating the resource group.
    • Use Manage Disk: Select No.
  3. Click Create. Your availability set is created successfully.

Note: Please get the storage account key with respect to storage account .

Copy Storage account Access key

Select the respective storage account from azure portal.

  1. Click the Storage accounts option from the left menu and click the storage account (that you have created).

  2. Click Access Keys.

  3. Copy “Key 1” value and create entry in <tomcat_home>/appConfig/iaas/azureadapter.proerties file in below format
  • <<StorageaAcountName>>=<<key1 value>>