Skip to content

Cloudxtreme/data-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code for deploying the data-platform This uses: https://github.com/SamSaffron/graphite_docker

Usage:

|

  1. Set the following environment variables

|

  • AWS_INSTANCE_TYPE (defaults to t2.micro)
  • AWS_KEY_PAIR (the EC2 key_pair used for your ec2 instance)
  • AWS_AMI (defaults to ami-c7d092f7)
  • AWS_KEY_FILENAME (this is the full path to your ssh private key file)
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION (defaults to us-west-2)
  • AWS_ACCESS_KEY_ID

|

  1. initialize a VirtualEnv:
$ virtualenv2 venv # it might be named 'virtualenv' in some distributions
$ source venv/bin/activate
$ pip2 install -r requirements.txt

|

  1. Bring the box up
$ fab it

|

  1. ssh to it
$ fab ssh
$ fab ssh:'ls -l'

|

  1. details about the EC2 instance are available through:
$ fab status

|

  1. When done:
$ fab destroy

|

About

A platform for gathering usefull data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published