Auto scaling in the Amazon Web Service (not Windows Azure) cloud server is supported by PowerServer for .NET (not J2EE). Make sure the cloud server is activated against the Appeon cloud license; for instructions on activating the cloud server, refer to the section called “Product Activation” in PowerServer Configuration Guide for .NET. In this section, instructions are provided for supporting auto scaling in the Amazon Web Service cloud server.
After installing the Appeon cluster plug-in, modify the Appeon cluster config file under the installation folder: AppeonCluster\AppeonCloud\Config\ClusterManager.config.
Specify the following parameters in the ClusterManager.config file.
<AWSStorage accessKey="" secretKey="" mode="" defaultPort="" keywordPrefix=""/>
-
accessKey (access key ID), secretKey (access secret key), and keywordPrefix (keyword prefix), by following instructions in the section called “AWS server instance settings” in PowerServer Configuration Guide for .NET.
-
defaultPort: port number of PowerServer, by default it is 80.
-
mode: the switch for supporting auto scaling.
-
1: supports auto scaling by automatically detecting PowerServers and updating the PowerServer list in the cluster.
-
0: does not support auto scaling (so the developer needs to manually update the PowerServer list in the cluster).
-
Under the PowerServer installation folder, modify the PowerServer config file: appeon\AEM\config\cluster-config.config.
Specify the following parameters under the cluster-config node in the cluster-config.config file, by following the aforementioned instructions.
mode="" defaultport=""