-
Notifications
You must be signed in to change notification settings - Fork 186
/
jmeter-ec2.properties
executable file
·89 lines (71 loc) · 3.15 KB
/
jmeter-ec2.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/bin/bash
# This is a java stye properties file for the jmeter-ec2 shell script
#
# It is treated like a normal shell script
#
# See README.txt for more details about each property
#
# Pre Installed AMIs (Dont forget to use the right AMI for your region.)
#
# Region OS AMI id Name
# eu-west-1 Ubuntu ami-ae72f2dd Ireland
# ap-south-1 ubuntu ami-2312664c Mumbai
# ap-southeast-1 Ubuntu ami-aacf1ac9 Singapore
# ap-northeast-1 Ubuntu ami-f050439e Tokyo
# ap-northeast-2 Ubuntu ami-48a07426 Seoul
# ap-southeast-2 Ubuntu ami-73735110 Sydney
# eu-central-1 Ubuntu ami-7c759413 Frankfurt
# sa-east-1 Ubuntu ami-6f038c03 Sao Paulo
# us-east-1 Ubuntu ami-90d2c4fa N. Virginia
# us-west-1 Ubuntu ami-10473b70 N.California
# us-west-2 Ubuntu ami-caf501aa Oregan
#
AMI_ID="ami-ae72f2dd"
# Should match the AMI
# IMPORTANT - t2.micro is not recommend for anything beyond developement, it works from a shared resource pool that can fluctuate, skewing test results.
INSTANCE_TYPE="t2.micro"
# Do not change
REMOTE_HOME="/home/ubuntu"
# The name OR id of *your* security group in *your* Amazon account - the permissions for thius group need to give your local machine ssh access.
INSTANCE_SECURITYGROUP_IDS="sg-48a8b32c"
# The name of the Amazon Keypair that you want to use. It should exist in *your* AWS account for the region you are using.
AMAZON_KEYPAIR_NAME="euwest1"
# The full name of the pem file you downloaded from your Amazon account. Usualy .pem from AWS but you could generate your own and name it what you want.
PEM_FILE="euwest1.pem"
# The path to your pem file
PEM_PATH=$HOME/.ssh
# Should match the AMI
USER="ubuntu"
# Email to be used when tagging instances
EMAIL=""
# Specify the region you will be working in
REGION="eu-west-1"
# How often the script prints running totals to the screen (n * summariser.interval seconds)
RUNNINGTOTAL_INTERVAL="3"
# A list of static IPs that can be assigned to each ec2 host. Ignored if not set
ELASTIC_IPS=""
# The port number sshd is running on
REMOTE_PORT="22"
# The version of JMeter to be used. Must be the full name used in the dir structure. Does not work for versions prior to 2.5.1
JMETER_VERSION="apache-jmeter-2.13"
#
# EC2-VPC Usage
#
# jmeter-ec2 can configure EC2-VPC instances. You must:
# - set SUBNET_ID to the id of the subnet that the instance will belong to
# - make sure that the AMI is compatible with EC2-VPC
# - enable DNS Resolution in the VPC
# - enable DNS hostnames in the VPC
#
SUBNET_ID="" # The subnet that the instance will belong to.
# Remote hosts
#
# If this is set then the script will ignore INSTANCE_COUNT passed in at the command line and read in this list of hostnames to run the test over
# instead. If it is not set then n number of hosts will be requested from Amazon.
#
# Must be a comma-separated list, like this:
# REMOTE_HOSTS="ec2-46-51-135-180.eu-west-1.compute.amazonaws.com,ec2-176-34-204-10.eu-west-1.compute.amazonaws.com"
# or:
# REMOTE_HOSTS="myhost.com,antherhost.com"
# or:
# REMOTE_HOSTS="blahblah.corp.synergy:2020,10.213.45.6"