RightScale Blog

Cloud Management Blog
Cloud Management Blog


The 10-Minute EC2 Server

The new Rails All-In-One ServerTemplate we just made public makes it really easy to get your own Rails application running on Amazon EC2 . And it's all free to boot! The ServerTemplate is a collection of RightScripts that install Apache, mod_balancer, Mongrel, and MySQL, and a backup cron script all on one EC2 instance. All you need to do is to specify where your code is located and launch the...Read more

Setting Up MySQL with the RightScale MySQL Manager

Setting up a redundant MySQL master/slave database using RightScale has become easy using our recently introduced Manager for MySQL . Let's start by setting up the master. For this we define a "MySQL master" ServerTemplate. A ServerTemplate is pretty much what the name implies: a template for a fully configured server that can be launched with one click of a button. Each ServerTemplate is based...Read more

Amazon EC2 Changes the Way MySQL is Used

Amazon EC2 will change the way MySQL is used: it suddenly opens a whole slew of new possibilities. What's really exciting is that it can also simplify the management of MySQL , which enables powerful automation. It takes less than 10 minutes to fire up a fresh MySQL instance, and there's a virtually limitless supply. There is virtually no cost to keeping old database instances around while...Read more

Surviving a MySQL Master Database Crash

Nothing is more heart-arresting than to find out that your database machine has died. Site down. Data gone. Life s... That's what happened to one of our customers yesterday morning, right when they were featured on some prominent sites. The Amazon EC2 instance hosting their master DB died. Fortunately they had tested the master-slave setup using our Manager for MySQL , so everything was set up to...Read more

Redundant MySQL Setup for Amazon EC2

In order to deploy websites and services onto Amazon EC2 everyone needs the same components, so we're building them. One of the most requested and most critical pieces is a good database setup, and MySQL is clearly the highest in demand. Not that a good PostgreSQL or Oracle setup wouldn't be of interest or wouldn't be equally possible, just that more people are asking us (and paying us) for MySQL...Read more

Recompiling Kernel Modules for EC2 Instances

Some time ago, I discovered that the version of the kernel that Amazon uses for its current infrastructure (linux 2.6.16) contains a bug in the lvm modules. This was a bummer to see since we are using LVM snapshotting facilities to realize sub-second database backups. The bug was only triggered under specific load conditions, but when we’re talking database backups nobody likes getting kernel...Read more

Configuring Servers with RightScripts

With EC2 the way one configures a server is by creating a machine image (AMI). But there has to be a better way! The first time I created an AMI almost a year ago it was a lot of fun. Hitting "launch" and seeing a new instance pop up was really cool. But a few weeks later reality started to set in, as I was coming up with little tweaks almost on a daily basis - anything from changing an SSHD...Read more

The First Two RightImages are Now Available

Are you puzzled by the many public Amazon EC2 images that are available? They are all wonderful to get started with, and we all have to thank the many authors who have put a lot of work into creating them. But when we put a server into production we always feel like we should be 100% in control. We want to make sure there is nothing unknown on the images we are using. We also believe that even...Read more


Subscribe to RSS - EC2