“Magento+Redis+phpRedisAdmin+LAMP+Webmin” package powered by SAIN3 (HVM)

Highlights

  • Very fast cache backend with excellent tag support. No slow level file system cache is needed.
  • Easily and visibly mange your system in browser, powered by embedded Webmin system.
  • One click to install. Quick and responsive deployment.

Usage Instructions

Note

Before you start to access the system, please ensure the Status Checks of the instance in the AWS Console turns to 2/2 checks passed, or the initialization process might be interrupted and the software configuration fails. It takes about 5-10 mins.

Note

Please replace the instance ID with the actual instance ID of your running EC2 instance, and the public DNS your actual public DNS address.

Default Settings

  1. Webmin / MySQL:
Username: root, Password: <instance ID>
  1. Magento / phpRedisAdmin:
Username: admin, Password: <instance ID>

Step 1 : Initial Configuration

  1. Visit <public DNS>.
  2. Enter your instance ID and click Continue.
  3. (Required) Enter the backup path (Format: /mnt/).

This script is saved in /usr/local/bin/backup_DB.sh enabling users to automatically back up your entire database, making all your data extra safe.

The default setting is daily automatic back-up at 12PM Noon (PST). User can change the running time or stop the database back-up service by revising the script file in the Webmin: Webmin -> System -> Schedule Cron Jobs -> /bin/sh /usr/local/bin/AutoBackup

  1. (Optional) Enter your website domain name. Format: product.sain3.com or www.example.com. The default domain name is <public DNS>.
  2. (Optional) Enter your password for the admin user of Magento.
  3. Click Submit to save your initial configuration.

Step 2 : Access the System

  1. Visit your Magento frontend
<public DNS>
  1. Magento admin interface

<public DNS>/admin

Username: admin, Password: <instance ID> or the one you chose

  1. Access phpRedisAdmin

<public DNS>/phpRedisAdmin

Username: admin, Password: <instance ID>

  1. Webmin

<public DNS>:10000

Username: root, password: <instance ID>.

  1. You can manage MySQL through Webmin.

Login to webmin -> Servers -> MySQL Database Server.

Username: root, password:<instance ID>.

Clear Cache & Session

  1. FYI.
If you are using a small instance type like t2.micro, we highly recommend you to frequently clear the cache as small instances have insufficient resources. Low performance instances may lead to a webmin crash or a mysql crash or a Cannot Allocate Memory error. So we recommend t2.medium and the higher performance instance types.
  1. Method 1

Login to your magento admin panel and clear cache & session.

We highly recommend using Flush Cache Storage button if you do not configure Redis for other applications except magento.

Originally, this package uses Redis for only magento caching so that you can safely use Flush Cache Storage button to fully clear the cache.

  1. Method 2
Login to phpRedisAdmin. Select local db 2 for cache or local db 1 for session on the top-left of the page, enter * and click button Filter!. Then you may have to press the icon Flush on the top-left of the page to clear the entire database.
  1. Method 3

Login to webmin -> Others -> Command Shell

Type the command:

redis-cli flushall

Click the button Execute command.

  1. Method 4

There is another way to clear cache & session. Open a terminal or SSH client, using your Amazon EC2 SSH public key, SSH into the instance as the ubuntu user using the public IP information for your instance.

Type the following command:

$ redis-cli flushall

Cannot Access to Webmin

  1. After the “Status Checks” of the instance in AWS Console turns to “2/2 checks passed” can you start to access the system, or the initialization process might be interrupted and fail.
  2. Ensure port 10000 is in your security group.
Type Custom TCP Rule
Protocol TCP
Port range 10000
Source 0.0.0.0/0

Support

Magento Website

Contact Sain3

We will do our best to respond to your questions within 24 hours Monday through Friday. Please visit product.sain3.com for details.