Giter Club home page Giter Club logo

cassandratraining's Introduction

This is test Cassandra deployment to AWS using terraform, packer and ansible, created for self-learning purpose.

CAUTION! Launching this could cost you money!

If you want to use it (just for fun), you have to do some pre-requirements:

  1. Install terraform, packer, ansible;
  2. Clone repository to some dir;
  3. Set nevironment variables for terraform and packer (credentials and regions)
  4. Build custom image with packer. You need to provide it with subnet_id, vpc_id and source_ami of AWS Linux AMI for your region. IMPORTANT NOTE: your subnet MUST be public and accesible by ansible. Also, on some Linux distributions like CentOS 7, you could also have to rename packer binary because of another default tool, which is named packer.
  5. Provide terraform with created AMI and ssh key name (edit the /terraform/vars.tf file, cassandra_ami and ssh_key variables). Feel free to change the other variables (tags, instance types, availability zones, etc). Note that not every region and AZ support all recources, which used in this demo, so for some regions you will have to modify this or to do some additional steps to make it work. This was tested in us-west-2 region.
  6. Launch terraform. In the end you will get an output with public address of load balancer. Through that you can access your cassandra cluster with default credentials.

Detailed description of all the stuff is available here: https://medium.com/@dexnov17/first-experience-deploying-cassandra-on-aws-4a1b93af311d

CAUTION! Launching this could cost you money!

cassandratraining's People

Contributors

bohdankalytka avatar

Watchers

 avatar

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.