Cloud accounts

This section describes how to manage your cloud accounts in LoadRunner Enterprise. You can use a cloud account with a supported cloud provider, or set up a LoadRunner Enterprise CloudBurst account.

Cloud accounts overview

After establishing a cloud provider account, you must also establish a cloud account in LoadRunner Enterprise. When defining a cloud account in LoadRunner Enterprise, you enter your cloud provider credentials and associate projects to the account. For details, see Add a cloud account.

Alternatively, you can use LoadRunner Enterprise CloudBurst load generators. This provides the benefit of being able to use dynamically provisioned cloud-based hosts without having to maintain subscriptions with cloud providers. For details, see LoadRunner Enterprise CloudBurst load generators.

Tip: See the LoadRunner Enterprise video gallery for a video on how to run tests on load generators that are dynamically provisioned on AWS.

Back to top

Add a cloud account

This task describes how to add a cloud account to LoadRunner Enterprise.

  1. Prerequisites

    • Cloud provider account. To add a cloud account to LoadRunner Enterprise, you must have an existing cloud account with a supported cloud provider.

      LoadRunner Enterprise currently integrates with Amazon Web Services (AWS), Microsoft Azure Cloud, and LoadRunner Enterprise CloudBurst (described in LoadRunner Enterprise CloudBurst load generators).

    • Account information. After you have your cloud account ready, you need to record the following information from your cloud account:

      For Amazon EC2:

      Account Access Key Allows LoadRunner Enterprise to connect to your cloud account.
      Account Secret Key Serves as the password for the access key used to connect to your cloud account.
      Account Number The Amazon EC2 account number. This number is used to access custom images from the cloud account. Adding an incorrect account number will result in the inability to access custom images related to this account.

      For Microsoft Azure Cloud:

      Client ID The application Client ID identifier that is generated from the Azure Active Directory portal.
      Tenant ID

      The ID of the Azure Active Directory in which you created the application.

      Client Secret

      The secret key that is used when communicating with Azure Active Directory.

      Subscription ID

      A GUID that uniquely identifies your subscription to use Azure services.

    • For AWS EC2 accounts and AWS GovCloud (US) Regions:

      • We do not support AWS Account Credentials which require Multi-Factor Authentication (MFA).

      • The user linked to the cloud account should have full EC2 access (AmazonEC2FullAccess) or have permissions for all the following AWS actions: AssociateAddress, DescribeAddresses, DescribeImages, DescribeInstances, DescribeInstanceStatus, DescribeInstanceTypeOfferings, DescribeKeyPairs, DescribeRegions, DescribeSecurityGroups, DescribeSubnets, DisassociateAddress, GetPasswordData, RunInstances, TerminateInstances

    • For AWS GovCloud (US) Regions only: To enable AWS GovCloud (US) support for government agencies, contractors, and customers with access to the AWS GovCloud (US) Regions, you must perform the following: 

      1. Navigate to <LoadRunner Enterprise server installation>\LRE_BACKEND\ and open the appsettings.default.json file.

      2. Update IsUSGovAccount= to true.

      Note: Due to the separate authentication stack for AWS GovCloud (US), standard AWS commercial regions cannot work at the same time as AWS GovCloud (US).

    • For Azure US Government accounts: To enable Azure US Government accounts, you must perform the following:

      1. Navigate to <LoadRunner Enterprise server installation>\LRE_BACKEND\ and open the appsettings.default.json file.

      2. Update ActiveEnvironment to:

        "ActiveEnvironment": "AzureUSGovernment"

      Note: Due to the separate authentication stack for Azure US Government, standard Azure commercial regions cannot work at the same time as Azure US Government.

  2. Add the cloud account to LoadRunner Enterprise

    1. In LoadRunner Enterprise Administration, select Configuration > Cloud.

    2. In the Accounts tab, click Add Cloud Account, and enter a name and description (optional) for the cloud account.

    3. Select the provider of the cloud account: Amazon Web Services or Microsoft Azure Cloud.

  3. Enter your cloud account information:

    • For Amazon EC2, enter the account access key, secret key, and account number.
    • For Microsoft Azure Cloud, enter the Client ID, Tenant ID, Client Secret, and Subscription ID for Azure Resource Manager provisioning.
  4. Click Save to add the cloud account to LoadRunner Enterprise. The cloud account is added to the grid.

    Note: The account creation process may take several minutes to complete.

    You can now create templates and provision hosts from this cloud account.

    You can see details of the cloud account, including projects that have been assigned to the account and the number of currently provisioned hosts from this account in the Main Details tab.

  5. Assign projects to your cloud account

    For details, see Link projects to your cloud account.

  6. View cloud account events

    For details, see View cloud account event logs.

Back to top

Link projects to your cloud account

Every project that needs to provision hosts from a cloud account created in LoadRunner Enterprise must be linked to that account.

Note: Only one cloud account is supported per project.

To link projects to a cloud account created in LoadRunner Enterprise:

  1. In LoadRunner Enterprise Administration, select Configuration > Cloud.

  2. In the Accounts grid, select the cloud account you want to link.

  3. In the Main Details tab, click Assign Projects, and select the projects you want to link to the cloud account from the grid.

  4. Click Assign. This links the selected projects to the cloud account.

All linked projects may now provision cloud hosts from the selected cloud account.

Back to top

View cloud account event logs

To display the events that occurred in creating the cloud account:

  1. In LoadRunner Enterprise Administration, select Configuration > Cloud.

  2. In the Accounts grid, select the cloud account you want to view.

  3. Select the Event Logs tab to see the events that occurred and the severity of each event.

    Event Type An indication of the event's severity. From most to least severe: error, warning, or info.
    Created on Date The date and time the event was logged.
    Project name The project in which the event occurred.
    Action The category of action where the event occurred. For example, Create Server.
    Name The name of the process.
    Description A description of the event.
    Owner The user, or automated system process responsible for the event.

Back to top

Cloud network settings

If you need to configure cloud network settings for communicating from LoadRunner Enterprise to your cloud provider and for communicating with your cloud-based load generators, click Cloud Network Settings, and follow the instructions in Configure cloud network settings.

Back to top

Export cloud account details to an Excel file

To export information displayed in the cloud accounts grid to an Excel file, click . Data from the grid is saved to an Excel file and downloaded to the Downloads folder of the client user.

Back to top

Delete a cloud account

This task describes how to delete a cloud account.

  1. In LoadRunner Enterprise Administration, select Configuration > Cloud.

  2. Select a cloud account in the grid, and click Delete. The cloud account and all host templates using the cloud account are deleted.

Note:  

  • When deleting a cloud account, all host templates using that cloud account are deleted as well.

  • You cannot delete a cloud account if there are cloud hosts that are currently provisioned by that account.

Back to top

See also: