In this section:
This section describes how to launch a Load Test remote machine in the Amazon cloud and use it in a load test.
Choose an instance type that matches the expected load.
Some instances, such as T2 instances, can be only launched into a Virtual Private Cloud (VPC), while other instances, such as M3 instances, can be launched into the EC2-Classic network. If you choose a VPC type instance, you need to make sure that your instance will receive an IPv4 address. For example, a VPC type instance launched in a default subnet receives a public IPv4 address, while other VPC configurations may not receive a IPv4 address automatically. Each EC2-Classic type instance automatically receives an IPv4 address. For more information see Amazon EC2 and Amazon Virtual Private Cloud [https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#differences-ec2-classic-vpc] section of the AWS documentation. |
Configure the instance. No changes are required for EC2-Classic type instances. For VPC type make sure your instance will receive a public IPv4 address.
Key=Name, Value=Parasoft Load Test Agent 9.10.3.
Create a new security group if you are launching a Load Test Agent AMI for the first time. You can call it Parasoft Load Test Agent for clarity. A security group must have the following rule to allow Load Test Controller to Agent communication:
Type | Custom TCP Rule |
---|---|
Protocol | TCP |
Port Range | 8189 |
Source | 0.0.0.0/0 to allow communication from all IPs. You can also limit to the IP rule of your choice. |
Description | Load Test Agent Port |
Add an SSH port to the group if you are planning to SSH to the instance you are launching.
Complete the following steps after launching an AWS instance:
At this point you can treat the machine in the Cloud as a regular remote machine. For more information on operations on remote machines see Running Load Tests on Remote Machines.
When manually launching a Load Test remote machine in the Amazon cloud, you must terminate the instances when you are finished load testing. Otherwise, you will be billed by Amazon for the running instance. |