Zend Server Cloud Integration Guide > AWS Integration > Setting Up a Cluster on AWS Using CloudFormation

Setting Up a Zend Cluster

This section will take you through the steps for quickly setting up a Zend Server cluster on AWS, using a pre-configured CloudFormation Zend Server template configured from http://www.phpcloud.com/.

Prerequisites

To follow the procedures in this section, you will need:

Step 1: Configuring your Zend Cluster CloudFormation Template

The first step is to configure the Zend cluster AWS CloudFormation template using PHP Cloud’s automated template designer.

 

 

Instructions on how to complete a procedure

To configure your CloudFormation template:

  1. Go to www.phpcloud.com.
  2. From the menu-bar, select Deploy | Amazon Web Services.
  3. Select the Get Started tab.
  4. Under Resources, select Zend Server on AWS CloudFormation.
  5. In the CloudFormation template generation form, enter the following information:
    1. Zend Server Edition – select the Zend Server edition type (Professional or Enterprise).
    1. Initial size (nodes) – select the number of servers you wish the cluster to start with
    1. Max size (nodes) – select the maximum number of servers the cluster can scale up to
    2. Instance type – Select the Zend Server instance type
    3. OS – select the operating system of the Zend Server instance (RHEL, Ubuntu)
  6. Click Generate!
  7. The CloudFormation Zend Server template is created.

 

 

Step 2: Deploying the Zend Cluster CloudFormation Template

The next step is to deploy the Zend Cluster CloudFormation template.

 

 

Instructions on how to complete a procedure

To deploy the CloudFormation template:

  1. In the CloudFormation Template Ready page, click Deploy on AWS.
    The EC2 Management Console is opened, and the Create Stack wizard displayed.
  2. In the Select Template dialog, name the stack (default name is ‘ZendCluster’).
  3. The Template URL is already provided. Click Continue.
    The Specify Parameters dialog is displayed.
  4. Enter the following information:
    1. OperatorEmail - enter an email address to notify if there are any operational issues
    2. DatabaseUser – enter the cluster database admin account name
    3. CMPassword – enter the Zend Server cluster UI password. Passwords must be between 6 - 20 characters long and can be changed at a later stage from within the Zend Server UI.
    4. DatabasePassword – enter the cluster database admin password
    5. KeyName – enter the name of the EC2 Key Pair to enable SSH access to cluster servers
  5. Click Continue.
    The Add Tags dialog is displayed.
  6. Optional - add tags to your stack to simplify the administration of your infrastructure. For more information on tagging stacks in Cloud Formation, click here.
  7. Click Continue.
    The Review dialog is displayed.
  8. Review the displayed information, and click Continue.
    Your stack is created.
  9. In the finalization dialog that is displayed, click Close.
    The new Zend Cluster stack is displayed in the CloudFormation Stacks list in the EC2 Management Console.
  10. In the stack properties area at the bottom of the page, select the Outputs tab.
  11. Click the ClusterManagerURL.
    The Login page of the Zend Server Cluster is displayed.
  12. Enter the following credentials:
    1. Username – ‘admin’
    2. Password - Zend Server cluster UI password
  13. Click Login.
    Zend Server launches with the Dashboard page's Welcome tab displayed.

 

You have successfully deployed and launched a Zend Server Cluster on AWS. For detailed information on working with Zend Server, please refer to the product’s online documentation here

Note:

To remove the Zend Server Cluster stack, select it in the CloudFormation Stacks list, and click Delete Stack.

 

Read Also

  AWS Documentation    
 

Setting Up Zend Server