Presented by Joe Hohertz / @joehohertz
Slides @ http://jhohertz.github.io/cass-buri
# checkout Buri
git clone -b develop https://github.com/viafoura/buri
cd buri
# add vagrant plugin requirement
vagrant plugin install vagrant-host-shell
# launch and provision!
vagrant up
# In Buri checkout
mkdir local # only needed if you never ran the VM above
# Copy default configurations as starting point
cp -rv etc/inventory local/
# Edit variables for target environment (we will use "test")
vi local/inventory/group_vars/test
# Uncomment the environment line and set default to test:
vi etc/buri.cfg
# In Buri checkout
./buri --environment test buildhost HOSTNAME
# Pre-installed Buri is WIP, ignore for now, copy w/ local folder from workstation
scp -r . ubuntu@HOSTNAME:buri
# login to node and use it from here on
ssh ubuntu@HOSTNAME
cd buri
# From buri folder on bootstrapped host:
sudo ./buri foundation
# From buri folder on bootstrapped host:
sudo ./buri resnap FOUNDATION-AMI-ID base
# From buri folder on bootstrapped host:
sudo ./buri resnap BASE-AMI-ID aminator
# Key variables for Priam:
# Set this true unless in a VPC in a single region
priam_multiregion_enable: true
# How Priam reports cluster members to eachother changes in a VPC
priam_vpc: true
# Ec2MultiRegionSnitch recommended always, unless in a VPC, single region, set to Ec2Snitch
priam_endpoint_snitch: "org.apache.cassandra.locator.Ec2Snitch"
priam_zones_available: "us-east-1a,us-east-1d,us-east-1e"
priam_s3_bucket: "your_s3_bucket/some_optional_path"
# From buri folder on bootstrapped host:
sudo ./buri --cluster-name your-name resnap BASE-AMI-ID priam