HEAT template for setting up a private instance of WebPageTest on a single Windows Server
- A Heat provider that supports the following:
- OS::Heat::RandomString
- Rackspace::Cloud::WinServer
- An OpenStack username, password, and tenant id.
- python-heatclient
>= v0.2.8
:
pip install python-heatclient
We recommend installing the client within a Python virtual environment.
Parameters can be replaced with your own values when standing up a stack. Use
the -P
flag to specify a custom parameter.
server_hostname
: Windows Server Name (Default: webpagetest)domain
: Domain to be used with WebPageTest (Default: example.com)image
: Required: Server image used for all servers that are created as a part of this deployment. (Default: Windows Server 2012 R2)flavor
: Cloud Server size to use for the database server. Sizes refer to the amount of RAM allocated to the server. (Default: 4 GB Performance)wpt_username
: WPT Username for the site. A password will be randomly generated for this account. This can not be the same as the Server Name. (Default: wptuser)
Once a stack comes online, use heat output-list
to see all available outputs.
Use heat output-show <OUTPUT NAME>
to get the value of a specific output.
site_wpt_password
: WPT Passwordserver_ip
: Server IPsite_domain
: Web Page Test Domain nameadmin_password
: Administrator Passwordsite_wpt_user
: WPT User
For multi-line values, the response will come in an escaped form. To get rid of
the escapes, use echo -e '<STRING>' > file.txt
. For vim users, a substitution
can be done within a file using %s/\\n/\r/g
.