Skip Navigation Links

Sugar on sMash on EC2

Posted by nicholsr on February 12th, 2009. Other posts by nicholsr

Following Joe’s post yesterday I thought I’d check out the amazon EC2 image by seeing how easy it was to start an instance of SugarCRM on EC2.

I followed the instructions to get set up with an EC2 account and start up a sMash AMI.

appbuilder screen capture

Once I had done this, from AppBuilder I followed the same procedure I showed here. I selected “Create From Repository” and then selected sugarcrm:SugarCE5.2.0.

I then started my SugarCE application instance on port 8080.

I found that MySql is already included in the sMash AMI so I started this from an SSH session into my AMI.

/etc/init.d/mysql start

set the root password on my MySQL instance

/usr/bin/mysqladmin -u root password MYPASSWORD
/usr/bin/mysqladmin -u root -h domU-12-31-39-03-7D-F4.compute-1.internal password MYPASSWORD

Then I proceeded through the sugarCRM setup screens by pointing a web browser to port 8080 of my instance.

sugar crm screenshot

I now have SugarCRM running in the cloud:

I dont actually want to host Sugar in the cloud. I just wanted to understand how easy or hard it would be to develop applications in the cloud. Tonight I’m going to start building an extension to sugar in the cloud using some of the features of sMash just to see how easy that is.

Rob Nicholson

One Response to “Sugar on sMash on EC2”

  1. Jim Says:

    Hi,

    Yes you can get an instance going like this, but if you want to run it seriously you’ll have to attach a storage container to the EC2 instance to store your database and your web root files. Otherwise if the instance dies, then you’ll lose all your data.

    Jim