• Call: +1 (858) 429-9131

How to Setup NFS Server on AWS EC2

This tutorial explains how to set up a highly available NFS server that can be used as storage solution (NAS – networked attached storage) for a cluster of web server instances that are being load balanced by a load balancer , for example ELB . If you have a web server cluster with two or more instances that serve the same web site contents, then these instances must access the same amount of data so that each one serves the same data, no matter if the load balancer directs the user to instance 1 or instance n. This can be achieved with an NFS share on an NFS server that all web server instances (the NFS clients) can access. Read more…

Root Partition Size Limitation for EC2 Instances on AWS Cloud

Eventhough  AWS is a great cloud computing service , it does have it’s own disadvantages . We are not going to discuss all of  them here but we will look into  one of them  .  If you have launched   EC2 instances  from Amazon Machine Images  ( AMI ) , you might have  seen that the size of the root partition ( / ) is only  10GB  for all  the instances . So to test if  we can have more than 10GB for  root partition ,  we tried  the following Read more…

How to configure Memcached on AWS EC2: A Starter’s Guide

Memached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load and session management. Lets focus on session management first and build up a caching daemon to store PHP sessions in a load balanced environment.  In this post I will explain how you can easily install it and make it available in LAMP. Read more…

Postgresql on EC2

If you are looking forward to migrating your PostgreSQL database to AWS EC2 cloud servers, you can do so by following the simple steps we have posted below. You can make it more reliable and secure from accidental  EC2 instance crashing by allowing the postgresql server to run from an EBS volume. You can also take  a snapshot of the EBS volume which will be stored on AWS storage service s3 which will  make it highly reliable by making it available on multiple AWS availability zones that spans across datacenters. Read more…

Quick start with Elastic Load Balancer (ELB ) on EC2

Elastic Load Balancing ( ELB ) is an AWS load balancer service that is readily available for users who have signed up for AWS EC2 and s3 services . ELB is configured to automatically distribute incoming application traffic across multiple Amazon EC2 instances . Recently AWS has announced support for ELB to the AWS Management Console which will give users a simple, point-and-click web interface to create and configure load balancers for the AWS EC2 instances .

Below are the simple steps to configure ELB for webserver from the command line . Read more…

Amazon EC2 Boot From EBS

Amazon EC2 has  announced the ability to boot instances directly from Amazon EBS snapshots, providing significantly increased flexibility on how customers can manage their instances.Amazon Machine Images (AMIs) can now either be stored in Amazon S3 or as an Amazon EBS  snapshot. Read more…

Amazon S3 organizer FF plugin error NS_ERRR_FILE_ACCESS_DENIED

Today I encountered an error  NS_ERRR_FILE_ACCESS_DENIED after installing Amazon S3 organizer in Firefox. It took me a while to figure out the exact problem and thought I will post it here. The fix is to give write permissions to the folders. Under UNIXes chmod 755 (ie, assigning read and write access will do the trick)

hope this two cents helps someone 🙂