|Table of Contents|
Long Term Support
Stable, tested ServerTemplate assets
To learn how to use the "Base ServerTemplate for Windows" ServerTemplate to launch a basic Windows 2008R2/2012 server and start developing a custom ServerTemplate of your own.
This tutorial describes the steps for launching a basic Windows server in a cloud and demonstrates how you can start customizing it for your own purposes.
Prerequisite: Requires 'actor' user role privileges in the RightScale account.
In order to securely pass sensitive information to a script at runtime, you can use Credentials as a means of variable substitution. Later in this tutorial you will select these credentials when you define your inputs.
Create the following credentials. For more information on setting up credentials, see Create a New Credential.
Important! The password chosen for the WINDOWS_ADMIN_PASSWORD credential must satisfy Window's minimum requirements for a Windows administrator password. If minimum complexity requirements are not met the random password that is generated for you at boot time (located under the server's Info tab > 'Initial Admin Password' field) will be used instead. Password requirements are as follows:
Set the following inputs at the deployment level.
Note: For more information on Rightscale's input hierarchy and inheritance of inputs from one level to the next, see Inheritance of Inputs.
|Input Name||Description||Example Value|
Set the new password for the local Administrator account. The password must satisfy Window's minimum requirements for a Windows administrator password, otherwise the random password that is generated for you at boot time (located under the server's Info tab > 'Initial Admin Password' field) will be used instead.
When you RDP into the server, you will use this password to log in as the Windows 'Administrator' user.
It's strongly recommended that you use a credential to hide this value. However, anyone who needs to log into the server will need to know the actual value.
Sets the system timezone to the timezone specified, which must be a valid Windows timezone entry. You can find a list of valid examples in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones". Some examples have been provided in the dropdown, which you may override and change if you do not see your timezone listed.
|text: GMT Standard Time|
Once the server is operational, you can use the value that you used for the ADMIN_PASSWORD input to create a Remote Desktop Connection to the server. This requires the 'server_login' user role privilege in the Rightscale account you are operating in.
Note: If you created a credential for the ADMIN_PASSWORD, you will need 'admin' user role privileges to view it's hidden value.
Note: If the specified password does not satisfy the minimum requirements for a Windows administrator password, you must use the "Initial Admin Password" value (located under the server's Info tab) that is automatically generated for you when you launch an instance. If you want to set up RDP access for a different user than the 'Administrator' user (default), use the 'ADMIN_ACCOUNT_NAME' input to specify a different username and relaunch the server.
Now that you have an operational server that was launched with the "base" ServerTemplate, you can start customizing the ServerTemplate by either adding new scripts of your own or cloning and modifying the existing ones. Since you are using a HEAD version of a ServerTemplate, you can add new scripts as "operational scripts" to the ServerTemplate and instantly test them on the running server.
See Create Custom ServerTemplates for more details.
If you want to take advantage of some of the pre-built Powershell functions developed by RightScale, add the SYS Install RightScale Powershell library RightScript to the boot sequence. (It's listed as an operational script in the Base ServerTemplate.)
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.