projectjellyfish / jellyfish-fog

General Provisioning of VM's using Fog
Apache License 2.0
0 stars 0 forks source link

Jellyfish Fog

Code Climate Test Coverage

Adds infrastructure, database, and storage product types to Project Jellyfish API, and enables their provisioning on cloud service providers (AWS, Azure, DigitalOcean and VMWare) via the Fog gem.

Installation

Setup Gemfile

Include jellyfish-fog from GitHub in parent Gemfile:

gem 'jellyfish-fog', git: 'git://github.com/projectjellyfish/jellyfish-fog.git

Or include it locally:

  gem 'jellyfish-fog', path: '../jellyfish-fog'

And run bundle install.

Setup Env Vars

Add the following keys which can be set using the .env file or explicitly by the hosted environment (e.g. Heroku):

# GENERAL
JELLYFISH_MOCK_FOG                  = true

# AWS SPECIFIC
JELLYFISH_AWS_ACCESS_KEY_ID           = key
JELLYFISH_AWS_SECRET_ACCESS_KEY       = secret

# AZURE SPECIFIC
JELLYFISH_AZURE_SUB_ID                = azure_subscription_id
JELLYFISH_AZURE_PEM_PATH              = azure_certificate.pem
JELLYFISH_AZURE_API_URL               = https://management.core.windows.net

# VMWARE SPECIFIC
JELLYFISH_VMWARE_USERNAME             = vmware_user
JELLYFISH_VMWARE_PASSWORD             = vmware_password
JELLYFISH_VMWARE_SERVER               = vmware_server
JELLYFISH_VMWARE_EXPECTED_PUBKEY_HASH = vmware_pubkey_hash

Key Descriptions:

License

See LICENSE

Copyright 2015 Booz Allen Hamilton