- First you'll need to run HBase on EC2
- Make a data directory mkdir hbase_data
- vi hbase-0.94.13/conf/ hbase-site.xml
- Using vi update the hbase.rootdir property value to: file:///home/ec2-user/hbase-0.94.13/hbase-\${user.name}/hbase
- sudo yum install git
- git clone git://github.com/OpenTSDB/opentsdb.git
- sudo yum install automake
- yum install gnuplot
- cd opentsdb
- ./build.sh
- env COMPRESSION=NONE HBASE_HOME=path/to/hbase-0.94.X ./src/create_table.sh
- tsdtmp=${TMPDIR-'/tmp'}/tsd
- mkdir -p "$tsdtmp"
- ./build/tsdb tsd --port=4242 --staticroot=build/staticroot --cachedir="$tsdtmp"
- In AWS, click on your EC2 instance, then click "Security Groups" at the bottom left. Click on the default group, then click the "inbound" tab. You can now open the ec2 port 4242.
Your ip address on port 4242 will display the web UI for your instance of OpenTSDB: