|Table of Contents|
Leading edge features
To set up a PHP application server in a public or private cloud environment.
The following are prerequisites for completing this tutorial:
This tutorial describes the steps for launching one or more application servers in the cloud.
For a technical overview of this ServerTemplate, see PHP App Server (v14 Infinity).
In order to use the default input values in the ServerTemplate, you must set up credentials with the following names. For more information on setting up credentials, see Create a New Credential.
Set up the appropriate set of authentication credentials based upon where the application code will be retrieved.
Follow these steps to add a load balancer server to the deployment.
The next step is to define the properties of your application balancer server or servers by entering values for inputs. As a best practice, you should define required inputs for the servers at the deployment level. For a detailed explanation of how inputs are defined and used in Chef recipes and RightScripts, see Inputs and their Hierarchy.
To enter inputs for the Chef recipes that will run on your load balancers, open the deployment's Inputs tab, click Edit, and use the following settings to configure input values. We recommend that you set up credentials for password values and any other sensitive data as shown in the examples.
|Application Name||The name of the application. This name is used to generate the path of the application code and to determine the backend pool in a load balancer server that the application server will be attached to. Application names can have only alphanumeric characters and underscores.||text: example|
Application Repository URL
The repository location to download application code..
|Application Repository Revision|| |
The revision of application code to download from the repository.
|Virtual Host Name/Path||The virtual host served by the application server. The virtual host name can be a valid domain/path name supported by the access control lists (ACLs) in a load balancer. Ensure that no two application servers in the same deployment having the same application name have different vhost paths. Example: http:://www.example.com, /index||text: http://www.example.com, /index|
Now that you have finished defining server details, you are ready to launch a server in the cloud with the new settings. Click the server's Launch button.
Review the inputs that you set at the Inputs confirmation page and click Launch.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.