Cloud Host Provisioning

This section describes how to reserve (or provision) a machine on the cloud with a specific configuration for running tests. It also discusses how to view provisioning progress of your hosts by location in the Hosts Provisioning report.

Provision cloud hosts

  1. Prerequisites

    You provision cloud hosts in ALM. For details, see the Provisioning Hosts section of the ALM Lab Management Guide.

  2. Provision hosts in a specific subnet in a VPC

    Performance Center supports provisioning hosts in Amazon default and custom virtual private cloud (VPC).

    If you are using a specific subnet in a VPC, you need to supply the subnet in a VPC in a host template. For details on how to set this up, see Provision hosts in a specific subnet in a VPC.

  3. Provision cloud hosts

    1. In Performance Center Administration, select Management > Hosts. Select the hosts you want to provision in the Hosts grid, and click .

    2. In the Provision Hosts Dialog Box, enter the details for each batch of hosts to be provisioned and click Add Batch.

      Note: You must have at least one cloud credit to provision your requested hosts.

      UI Element Description
      Batch # Shows the number of the batch for which you are entering details.
      Hosts Amount Enter the number of hosts to provision in the batch. All hosts in the batch use the same account, location, and template, and have identical configurations.
      Account Select the cloud account to provision from.
      Location

      Select a suitable geographic location in which to provision the hosts. Make sure to select a location for which you have configured an appropriate host template.

      Template

      Host template specifies the hosts' purpose, hardware, machine image, and credits consumed per hour. Select a host template that will match your testing needs. The list of available templates is based on your selected location.

      Current Account Balance

      Shows the number of credits available in your account.

      Template Price

      Shows the cost in credits per hour of the selected template.

      Daily Total

      Shows the total number of credits per day that the batch will consume.

      Security Group

      Select a security group that allows the necessary access to your testing hosts. Security group specifies which inbound and outbound connections are permitted from the hosts, such as port 80 (HTTP) or port 3389 (RDP). Security groups are configured on your cloud provider's website, and must be created separately for each location. Only security groups configured for your selected location are displayed. For details, see Initial Cloud Settings Overview in the ALM Lab Management Guide.

      Note: Not applicable for Microsoft Azure cloud accounts.

      Pools Select the appropriate host pools to which the newly provisioned hosts will be added.
      Key Pair

      Select a key pair for which you have the private key. Key pair is used to generate the administrator password for Windows machines and to log in to Linux machines. Key pair is only relevant if you plan to remotely connect to your cloud hosts. Key pairs are managed on your cloud provider's website, and must be created separately for each location. Only key pairs configured for your selected location are displayed.

      For details, see Initial Cloud Settings Overview in the ALM Lab Management Guide.

      Note:

      • Not applicable for Microsoft Azure cloud accounts.

      • You must have at least one key pair in order to provision a host.

      Attributes

      Select host attributes that match the capabilities of the hosts. Host attributes are used to identify suitable hosts when running tests.

      Note: The attribute list can be modified from ALM Project Customization. For details, see Customizing Project Lists in the ALM Lab Management Guide.

      Notification Date

      Enter the date to be notified if the hosts are still provisioned in the cloud provider. Hosts provisioned past this date will be listed in the cloud hosts daily digest report.

      Note: This is an optional field. However, it is recommend that you enter a value for better tracking of hosts that are past their due date. This value can be modified from the Host module.

      Elastic IPs

      If you defined a pool of predefined IP addresses with your cloud provider, select this option to use those predefined static IP addresses to provision your host. For details, see Initial Cloud Settings Overview in the ALM Lab Management Guide.

      Note: Not applicable for Microsoft Azure cloud accounts.

      Username

      The user name of the user who connects the RDP/SSH port to the provisioned machine. The user name must meet the user name complexity requirements of the operating system that you are using for this virtual machine.

      Note: Applicable for Microsoft Azure cloud accounts only.

      Password

      The password of the user who connects the RDP/SSH port to the provisioned machine. The password must meet the password complexity requirements of the operating system that you are using for this virtual machine.

      Note: Applicable for Microsoft Azure cloud accounts only.

      Confirm Password

      Re-enter the password of the user who connects the RDP/SSH port to the provisioned machine.

      Note: Applicable for Microsoft Azure cloud accounts only.

      RDP/SSH Port

      The port of the secure connection remote desktop.

      Note: Applicable for Microsoft Azure cloud accounts only.

      Add Batch Adds the selected batch to the cart. When you click Provision, all hosts in the cart are queued for provisioning.
      Added Batches Shows all batches that are to be provisioned. You can click the Delete Batch button to remove a batch from the cart.

      Delete Batch

      Deletes the selected batch and removes it from the cart.
      Provision Queues all batches in the cart for provisioning and opens the Host Provisioning report.
  4. After adding all necessary batches, click Provision. The hosts are queued for provisioning and the Cloud Provisioning Report opens. For details, see Host Provisioning report.

Back to top

Provision hosts in a specific subnet in a VPC

If you are using a specific subnet in a VPC, you need to supply the subnet in a VPC in a host template.

  1. In Site Administration, add the SHOW_VPC_SUBNET_ID default parameter with value Y. For details, see Setting ALM Configuration Parameters in the ALM Lab Management Guide.

  2. Create a VPC from Amazon Web Services.

    1. In the subnet configuration, set Auto-assign Public IP as required.

      Note: If Auto-assign Public IP is set to Disable, the load generators will not have a public IP. They will have a private IP only, and will need to establish a trust between the corporate network and the AWS VPC.

    2. Create a relevant security group for the VPC.

  3. Create a host template.

    Create a host template and set the subnet ID in the VPC Subnet Id field of the template.

    For details, see Host Templates in the ALM Lab Management Guide.

  4. Provision a host from Performance Center using one of the templates created for the VPC using the required subnet ID.

  5. Select a security group that was created for the selected VPC.

Back to top

Host Provisioning report

The Host Provisioning report enables you to view provisioning progress of your hosts by location. The report guides you through the provisioning steps. Details of this process are displayed in a log file. Once your cloud hosts are provisioned, you can begin to use them for running tests.

  1. Prerequisites

    You must have at least one cloud account and at least one host template linked to your project in order to provision hosts.

  2. On the Performance Center Administration sidebar, select Management > Hosts.

  3. In the Hosts grid, select the hosts for which you want a report, and click Provisioning Report.

    Note:  

    • There may be a delay of a few minutes between the time that a cloud host's status changes to Operational and the time that the host is ready for use.

    • After provisioning is complete, the hosts begin to consume credits from your project.

    User interface elements are described below:

    UI Elements

    Description

    Started

    This section contains the following details:

    • The date and time that the provisioning starts.
    • The name of the user running the report.
    • The processing status of the report.
    Number of hosts provisioned and checked Indicates the number of hosts queued for provisioning and their status.
    Refresh

    The report automatically refreshes to show updates. Click the arrow to change the automatic refresh rate in seconds. Possible values: 1, 10, or 30.

    Indicates the number of hosts queued for provisioning and their status in the specified location. Click the indicator to open the report details pane.

    The possible states are:

    • Provisioning. The host is in the process of being provisioned.

    • Checking. The host is in the process of being verified.

    • Done. The host was provisioned and verified.

    • Done - Failed. The host failed to reach a provisioned state.

    Opens the report details. The report displays the following elements:

    • Show All Locations. If you have more than one location running at the same time, you can view details for all locations.
    • IP/Name. The name or IP address of the host.
    • Instance Type. The hardware specs of the host.
    • Image. The software image used for the host.
    • Status. Indicates the provisioning status of the host.
    • Log . Displays a log of events related to the host.

Back to top

Terminating Cloud Hosts

You terminate cloud hosts from Lab Management. For details, see How to Provision and Terminate Cloud Hosts in the ALM Lab Management Guide.

Back to top