Manage elastic cloud hosts
This section describes how to set up and manage elastic load generators on the cloud for LoadRunner Enterprise performance tests. Using elastic cloud hosts enables load generators to be provisioned and de-provisioned on demand in response to dynamic workloads.
Tip: 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.
Cloud hosts overview
Load generators can be hosted on local machines or in a cloud account. To host a load generator on the cloud, you must have access to a cloud account that will host the load generator, and your cloud account must be set up for provisioning load generators.
LoadRunner Enterprise supports LoadRunner Enterprise CloudBurst, Amazon EC2, and Microsoft Azure cloud accounts.
Tip: See the LoadRunner Enterprise Video gallery for a video on how to run tests on load generators that are dynamically provisioned on AWS.
Benefits of using elastic hosts include:
Automates the testing process by provisioning load generators only when you need them, and seamlessly adding them to performance tests. Once a test is finished, cloud load generators are automatically de-provisioned.
Reduces costs since you no longer need to maintain dedicated load generator machines.
Efficient allocation of resources on demand in response to dynamic workloads, without having to rely on load generators defined in the lab, or to reserve load generators in advance.
Enables managing cloud provisioning on a per-project basis, with each project having access only to the cloud resources it needs.
Using elastic cloud hosts in LoadRunner Enterprise involves:
Defining Initial Cloud Settings
Tip: If you have existing load generators in the cloud that you want to add to the lab, you can add them directly from the Hosts module in LoadRunner Enterprise Administration. For details, see Add cloud-provisioned hosts to your lab.
Set up an account with a cloud provider, obtain the cloud provider credentials, and define network settings for communicating from LoadRunner Enterprise to your cloud provider and with your cloud-based load generators. For details, see Initial cloud settings.
Adding Cloud Accounts
Define a cloud account in LoadRunner Enterprise by entering your cloud provider credentials and associating projects to the account. For details, see Cloud accounts.
Defining Host Templates (for AWS and Azure accounts only)
Host templates are used for defining provisioning-related details, such as instance types, regions, and hardware specifications. You create your own templates, and LoadRunner Enterprise uses the details of the selected template to provision your host. For details, see Host templates.
If Micro Focus images don’t suit your needs, you can specify in a host template an image that includes custom configuration. For details on how to create such an image, see Create custom image for cloud hosts.
Configure a performance test with elastic cloud-based load generators
Configure your performance test to use Elastic Cloud load generators. For details, see Provision elastic cloud load generators.
Monitoring Resource Consumption
After provisioning your cloud hosts, you can analyze and monitor your cloud resource consumption by looking at the relevant usage reports. For details, see Monitor cloud resources.