Copyright (c) 2006-2014 MindTouch Inc.
This file and accompanying files are licensed under the MindTouch Master Subscription Agreement (MSA).
At any time, you shall not, directly or indirectly: (i) sublicense, resell, rent, lease, distribute, market, commercialize or otherwise transfer rights or usage to: (a) the Software, (b) any modified version or derivative work of the Software created by you or for you, or (c) MindTouch Open Source (which includes all non-supported versions of MindTouch-developed software), for any purpose including timesharing or service bureau purposes; (ii) remove or alter any copyright, trademark or proprietary notice in the Software; (iii) transfer, use or export the Software in violation of any applicable laws or regulations of any government or governmental agency; (iv) use or run on any of your hardware, or have deployed for use, any production version of MindTouch Open Source; (v) use any of the Support Services, Error corrections, Updates or Upgrades, for the MindTouch Open Source software or for any Server for which Support Services are not then purchased as provided hereunder; or (vi) reverse engineer, decompile or modify any encrypted or encoded portion of the Software.
A complete copy of the MSA is available at http://www.mindtouch.com/msa
Web Application Acceleration
ServerTemplates published by RightScale Partners can be found in the MultiCloud Marketplace. Go to Design -> MultiCloud Marketplace -> ServerTemplates. Use the filter options to find correct ServerTemplate(s). In order to use the ServerTemplate, you must first import it to your local view.
Some Partner ServerTemplates are not designed to launch server instances. In some cases, the purpose of a ServerTemplate is to provide access to a collection of RightScripts.
|TYPE ||NAME ||DESCRIPTION |
|ServerTemplate||AiCache6||Installs and configures version 6 of the aiCache Web Application Accelerator on an EC2 instance. Additionally, the scripts within the ServerTemplate will tune kernel parameters on the instance to take full advantage of aiCache's capabilities. View the ServerTemplate's description for more detailed information.|
The ServerTemplate has numerous inputs that are used to configure the instance when it's launched. Many of these inputs have default values that can be modified, if desired. The following inputs are required and must be set with explicit values:
|AICACHE_VERSION||Set this to "ignore" via the pulldown menu to use the latest version. If you know that you want to use a specific previous version, enter the value (e.g. 6109) in the text box.|
|AIC_CFG_BUCKET||The name of the S3 bucket which contains your configuration file.|
|AIC_CFG_FILE||The name of the configuration file within the AIC_CFG_BUCKET. To get started, you can download a base configuration file from http://rightscale.aicache.com/template.cfg and make the modifications described in the Documentation section below.|
|AIC_LOGGING_DEST_PATH||The location on the server where the archived aiCache log files should be stored. Select the /mnt/logs option from the pulldown menu or check the "override dropdown" box at the right to enter a different path.|
|PRIVATE_SSH_KEY||The SSH key to allow the aiCache server to access other servers in the deployment.|
Once aiCache is installed, there are a few basic settings that need to be configured. The configuration file (/root/default.cfg) contains numerous settings that can be modified to alter the behavior of aiCache, but the essential ones are:
website # Section header hostname aicache.com # Main host name cname www.aicache.com # Alternative name (exact match) wildcard amazonaws.com # Process all requests made to *amazonaws.com
For sites that can not be matched to any hostname, CNAME, or wildcard values in the configuration file, aiCache returns the error "409 Website not found."
Next, you'll need to set the caching rules. Effectively, you tell aiCache that when a request's URL matches a string, then the response should be cached for a certain amount of time. The match can be exact, partial, or regular expression-based. Here are a few quick examples:
pattern \.php regexp 1m # cache for 1 minute, cache dynamic files with caution pattern .css simple 7d no_log # cache for a week, do not log in acces log file
Lastly, you'll need to set the "origin servers" for your setup. Origin servers are the primary application servers that aiCache will accelerate. You must add at least one origin.
origin 184.108.40.206 80 # Replace with your server's IP. "80" is the port number.
For additonal details, please see:
|Glossary | 用語 | 용어||Site Map | Site Help||Community||Corporate Site||Get Support||Dashboard Login|
|Doc Feedback||Product Feedback||Resources||MultiCloud Marketplace||Forums|
© 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.