Skip to content
Joe Hohertz edited this page May 28, 2014 · 5 revisions

HOME > BURI ROLE GUIDE > PRIAM

Priam is a Netflix OSS co-process providing for the management of an Apache Cassandra ring, including token management, and centralized configuration.

  1. Create Priam S3 bucket
  2. Configure local/site.yml and build AMI
  3. Create IAM role
  4. Create security group
  5. Launch Exhibitor Cluster
## Step 1: Create Priam S3 bucket
  1. Open the AWS S3 console
  2. Click "Create Bucket", provide a name, and ensure you select the correct region where you will deploy Exhibitor.

The same S3 bucket can be used for multiple cassandra clusters, each using a folder within for their backups.

## Step 2: Configure local/site.yml and build AMI
  1. Edit local/site.yml in your Buri build tree and ensure the following is set as needed:

    # The bucket name setup in [step 1](#step1)
    priam_s3_bucket: "vfs-priam"
    # The unique name for this cluster
    priam_clustername: "devapicounters"
    # If you are using VPC or not
    priam_vpc: true
    # If you are going to run the ring in multiple regions
    priam_multiregion_enable: false
    # Should ALWAYS be set to Ec2MultiRegionSnitch regardless of your deployment plans
    # UNLESS you are in a VPC, in which case this MUST be set to Ec2Snitch
    priam_endpoint_snitch: "org.apache.cassandra.locator.Ec2MultiRegionSnitch"
    # List the zones you will run the cluster in here.
    priam_zones_available: "us-east-1a,us-east-1d,us-east-1e"
    
  2. Build the AMI for Exhibitor

    ./resnap.sh <base-pvm-ami-ID> exhibitor
    
Clone this wiki locally