i think im in the same situation.
I plan to install a version of voltDB on an Amazon Instance.
I found this AMIs:
AMI ID: ami-2501e04c
What kind of Image is this?
Any Informations about that?
I have no clue about that AMI - certainly not something we published, so I wouldn't go with it (plus it's quite old anyways). You'll find that setting up VoltDB on EC2 is quite trivial - I gave you the steps below.
For a multi-sever deployment, you can simply repeat the process and will also obviously have to consider generic cluster configuration matters such as proper time synchronization using NTP; this is extremely important on Amazon EC2 where clock drifts tend to vary widely (and wildly) as you are pretty much ensured to get your virtual servers hosted on different physical hosts. While Amazon indicates that their hosts are NTP'd together within an AZ, the time synchronization isn't nearly as accurate enough for your needs with Volt.
I'll be happy to give you additional instructions on setting NTP on Amazon if you need to go in that direction.
Hope this helps,
SebInstructions on how to setup a VoltDB Amazon EC2 instance.
1/. Download latest JDK from:https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u24-oth-JPR@CDS-CDS_Developer
- At the time of writing, this is version 6u24
- Download to your local machine (you need a browser and all that, so unfortunately you can't curl/wget it).
- Make sure you get the 64bit Linux version.
2/. Start a fresh, new Ubuntu AMI - I recommend you search for: 099720109477/ebs/ubuntu-images/ubuntu-lucid-10.04-amd64-server-20110201.1 - this is a stable Ubuntu 10.04 instance, and strongly advise against using the official Ubuntu-provided 10.10 server instances which have virtualization lock-up issues on EC2 (both experienced and wildly reported in the community)
In a new terminal window:
3/. Copy the JDK install package to the AMI:scp -i yourkey.pem ../Downloads/jdk-6u24-linux-x64.bin firstname.lastname@example.org:~/
4/. SSH into your AMI:ssh -i yourkey.pem email@example.com
5/. Run the following command to create an "archives" folder (we will keep install packages there):mkdir archives
6/. Run the following commands to update your AMI to the latest patches and install ant:sudo apt-get update sudo apt-get install -y --fix-missing ant
7/. Run the following commands to install JDK 6u24cd /opt sudo ~/jdk-6u24-linux-x64.bin sudo ln -s jdk1.6.0_24 jdk echo "export JAVA_HOME=/opt/jdk" >> ~/.bashrc echo "export PATH=\$JAVA_HOME/bin:\$PATH" >> ~/.bashrc export JAVA_HOME=/opt/jdkexport PATH=$JAVA_HOME/bin:$PATHcd ~/ mv jdk-6u24-linux-x64.bin archives
8/. Download the latest VoltDB package and copy it to your AMI, then run the following command to download and install it:tar -xzf LINUX-voltdb-1.3.1.tar.gz
9/. Running the samples
This is it. Run the following commands to start the Voter sample application's server:cd ~/voltdb-1.3.1/examples/voter ant
Either after sending the server process to the background or in a new SSH session, run the following to run the client:cd ~/voltdb-1.3.1/examples/voter ant client
10/. Further considerations for cluster deployments and production usage
Keep in mind that this is a "sandbox" setup: if you wish to deploy a cluster, you will want to setup and run NTP on your nodes to ensure proper time synchronization, disabling the virtualization host-provided 'Xen' wall-clock.
You will also want to review your security deployment. Just as with usual database server deployments, we do not recommend you expose VoltDB server nodes to the internet - instead, your security group should be configured such that only machines within your account can access the server - this generally corresponds to AWS's original "default" group definition where only internal communication is possible, along with authenticated SSH sessions. If you want to expose the server to the internet, you should create additional security groups (for instance to open port 21212 for external client applications to connect to your nodes), and layer groups together when you start your AMI.
As a conclusion to this installation and your own VoltDB application deployment, you should create your own private AMI template so you can quickly start up new node for capacity expansion or node replacement. Consider adding your own startup script to initiate the server after the instance has been started (NTP configuration, monitoring, or automated operations such as cluster startup/rejoin).
For more information on launching the server process in the background and considerations for production deployments, see: http://forum.voltdb.com/showthread.php?434-Start-in-background-require-user-input-to-contiue&highlight=Start+background+require+user+input+contiue%3F
and the VoltDB documentation available at: http://www.voltdb.com/community/documentation.php