Code Monkey home page Code Monkey logo

comboami's Introduction

Summary

DataStax's Amazon Machine Image a quick way to test a DataStax Community or DataStax Enterprise cluster on EC2.

Quickstart

  1. Log into the AWS console with your web browser
  2. Select the EC2 service
  3. Find the ami-id's for your region.
  4. "Launch Instance" -> Community AMI's -> Search for your ami-id -> "Select"
  5. Select an instance type (m3.medium is good for low-throughput testing)
  6. "Next: Configure Instance Details" -> "Advanced Details" -> add "User Data" of "--clustername test-cluster --totalnodes 1 --version community"
  7. "Review and Launch" -> "Launch" -> Select keypair
  8. SSH to your new cassandra cluster and run nodetool status

If you frequently launch scratch clusters, you may be interested in cassandralauncher

For detailed instructions on launching, visit http://docs.datastax.com/en/latest-dsc-ami

Options

##Basic AMI Switches:

--clustername <name>
    The name of the Cassandra cluster
    REQUIRED

--totalnodes <#>
    Cluster size
    REQUIRED

--version [ community | enterprise ]
    Installs either DataStax Enterprise or
    DataStax Community Edition
    REQUIRED

--rpcbinding
    Binds the rpc_address to the private IP
    address of the instance
    Default: false, uses 0.0.0.0

##DataStax Enterprise Specific:

--username <user>
    The username provided during DSE registration
    --password is REQUIRED in order to use this option
    REQUIRED for a DSE installation

--password <pass>
    The password provided during DSE registration
    --username is REQUIRED in order to use this option
    REQUIRED for a DSE installation

--analyticsnodes <#>
    Number of analytics nodes that run with Spark
    Note: Uses Hadoop in versions earlier than DSE 4.5
    Default: 0

--searchnodes <#>
    Number of search nodes that run with Solr
    Default: 0

--hadoop
    Force Hadoop over Spark on analytics nodes
    Default: false, uses Spark on 4.5+

##Advanced:

--release <release_version>
    Allows for the installation of a previous DSE version
    Example: 1.0.2
    Default: Ignored

--cfsreplicationfactor <#>
    The CFS replication factor
    Note: --cfsreplicationfactor must be <= --analyticsnodes
    Default: 1

--opscenter no
    Disables the installation of OpsCenter on the cluster
    Default: yes

--reflector <url>
    Allows you to use your own reflector
    Default: http://reflector2.datastax.com/reflector2.php

--repository <repository>
    Allows you to set a custom repository to pull configuration files from
    Default: none, falls back to repository used to create the AMI
    Examples: https://github.com/riptano/ComboAMI#2.5
              https://github.com/riptano/ComboAMI#e5e3d41fb5f12461509aa1b6079413b381930d81

Security Groups

For information on setting up security groups, see the Datastax Documentation

Contributing

Pull requests are welcome. Consider creating an issue to discus the feature before doing the development work, or just fork and create a PR based off the dev-2.6 branch.

comboami's People

Contributors

ablundgren avatar canausa avatar jeremiahdjordan avatar jiminoc avatar joaquincasares avatar mlococo avatar rsutton avatar thedeveloper avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

kareblak

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.