Apache Cassandra™ 2.0

Installing a Cassandra cluster on Amazon EC2

A step-by-step guide for installing the DataStax Community AMI (Amazon Machine Image).

The DataStax AMI allows you to set up a simple DataStax Community cluster using the Amazon Web Services EC2 Management Console. Installing via the AMI allows you to quickly deploy a Cassandra cluster within a single availability zone.

The AMI does the following:

  • Installs the latest version of Cassandra with an Ubuntu 12.04 LTS (Precise Pangolin), image (Ubuntu Cloud 20140227 release), Kernel 3.8+.
  • Installs Oracle Java 7.
  • Install metrics tools such as dstat, ethtool, make, gcc, and s3cmd.
  • Uses RAID0 ephemeral disks for data storage and commit logs.
  • Choice of PV (Para-virtualization) or HVM (Hardware-assisted Virtual Machine) instance types.
  • Launches EBS-backed instances for faster start-up, not database storage.
  • Uses the private interface for intra-cluster communication.
  • Sets the seed nodes cluster-wide.
  • Installs OpsCenter (by default).
Note: If you want an EC2 cluster that spans multiple regions and availability zones, do not use the DataStax AMI. Instead, install Cassandra on your EC2 instances as described in Installing DataStax Community on Debian-based systems, and then configure the cluster as a multiple data center cluster.

To install a Cassandra cluster from the AMI, complete the following tasks: