cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Server Autoconfiguration? (for Amazon EC2 with EBS)

fez
Champ in-the-making
Champ in-the-making
Hello,

I'm pretty new to Alfresco but I'm defintely trying out (and liking) the solution, for testing purposes I've been using one of the Alfresco images available at Amazon EC2 (on ubuntu), I've figured out my way to configurate it to use EBS as the storage in order to ensure data safety, but apart from these there are several other configuration parameters that I'd like to be persisent (i.e. Share's look and feel interface modifications) after a image reboot (stopping and turning on an instance, which isn't persistent by default), the WIKI on EC2 and other articles, including this forum, have been very useful for understanding this, but I can't find any specific examples for this kind of self configuration, (the WIKI has TO-DO notes) that is indeed mentioned in a couple of the webminars I've watched about Alfresco in EC2, As far as I understand there are to ways for to do this:

1. Configuring the server and saving it as a new "image", so that the "starting" point after a stop-start task would be already configured.
2. Using 'scripts' (an iseminar mentions them, and mentions they could be made available) so that on 'start' of the image the server configures itself (like mapping the EBS, look n feel, etc)

Can somebody please give some advice on these 2 aspects? specially number 2.

Thanks in Advance.
1 REPLY 1

ivan_plestina
Champ in-the-making
Champ in-the-making
I believe the simplest solution for what you are trying to achieve is to put customized files/folders on EBS volume too and simply link files to their original locations. In other words do something like:
move /var/lib/tomcat to EBS volume
ln -s /var/lib/tomcat /mnt/ebs/tomcat

Code is exemplary so build up on the general idea. Apart from this you can also build up your own EBS backed instance that preserves state when turned off and this is probably the best way to go.