Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Setup 3 node cassandra cluster on AWS - Hands On

336 views

Published on

This presentation describes steps for setting up 3 node Cassandra NoSql Database on AWS Cloud Platform

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Setup 3 node cassandra cluster on AWS - Hands On

  1. 1. Install Apache Cassandra - 3 Node Cluster on AWS
  2. 2. 3 EC2 instance for Cassandra Cluster
  3. 3. cat /etc/*-release sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer java -version mkdir db cd db wget http://www-eu.apache.org/dist/cassandra/3.0.7/apache-cassandra-3.0.7-bin.tar.gz tar xvzf apache-cassandra-3.0.7-bin.tar.gz cd apache-cassandra-3.0.7/ cd apache-cassandra-3.0.7 bin/cassandra -f bin/cqlsh Commands to setup Apache Cassandra 3.0.7 Repeat for all 3 EC2 instances Change following in conf/cassandra.yaml for all 3 nodes Cassandra1 ==> 172.31.53.186 / 54.152.216.134 cluster_name: 'Test Cluster' listen_address: broadcast_address: 54.152.216.134 seeds: "52.91.62.29,52.91.85.200" Cassandra2 ==> 172.31.63.178 / 52.91.62.29 cluster_name: 'Test Cluster' listen_address: broadcast_address: 52.91.62.29 seeds: "54.152.216.134,52.91.85.200" Cassandra3 ==> 172.31.63.253 / 52.91.85.200 cluster_name: 'Test Cluster' listen_address: broadcast_address: 52.91.85.200 seeds: "54.152.216.134,52.91.62.29"
  4. 4. 3 Node Cassandra Server running on AWS EC2 Instances
  5. 5. Java Restful Web Service sending data to Cassandra
  6. 6. Java Restful Web Service sending data to Cassandra
  7. 7. Java Restful Web Service sending data to Cassandra
  8. 8. 3 Node Cassandra Server running
  9. 9. Thank You hkbhadraa@gmail.com

×