Giter Club home page Giter Club logo

cf-redis-release's Introduction

Cloud Foundry Redis Service Broker

This repository contains a BOSH release for a Cloud Foundry Redis service broker.

git clone https://github.com/pivotal-cf/cf-redis-release ~/workspace/cf-redis-release
cd ~/workspace/cf-redis-release
git submodule update --init --recursive

Deployment dependencies

  1. bosh2 CLI (you may use the old CLI but instructions will use the new one)
  2. direnv (or set envs yourself)
  3. a bosh director
  4. a cloud foundry deployment
  5. fill out the following envs of the .envrc.template file and save as .envrc:
    • BOSH_ENVIRONMENT
    • BOSH_CA_CERT
    • BOSH_CLIENT
    • BOSH_CLIENT_SECRET
    • BOSH_DEPLOYMENT
  6. direnv allow
  7. routing release 0.157.0 (bosh upload-release http://bosh.io/d/github.com/cloudfoundry-incubator/cf-routing-release?v=0.157.0)
  8. syslog-migration release 8 (bosh upload-release https://github.com/pivotal-cf/syslog-migration-release/releases/download/v8/syslog-migration-8.tgz)

Deployment

Populate a vars file (using manifest/vars-lite.yml as a template), save it to secrets/vars.yml. You will need values from both your cloud-config and secrets from your cf-deployment.

To deploy:

bosh upload-stemcell https://s3.amazonaws.com/bosh-core-stemcells/warden/bosh-stemcell-3363.27-warden-boshlite-ubuntu-trusty-go_agent.tgz
bosh create-release
bosh upload-release
bosh deploy --vars-file secrets/vars.yml manifest/deployment.yml

# or if you are deploying on GCP:
#bosh deploy --vars-file secrets/vars.yml manifest/deployment.yml --ops-file manifest/ops-public-ip-gcp.yml
# this ops-file adds a GCP specific vm_extension: `public_ip`, which is required to allow
# instances to send outgoing public traffic. e.g. for the broker_registrar to register with the CF.

Network Configuration

The following ports and ranges are used in this service:

  • broker vm, port 12350: access to the broker from the cloud controllers
  • broker vm, ports 32768-61000: on the service broker from the Diego Cell and Diego Brain network(s). This is only required for the shared service plan
  • dedicated node, port 6379: access to all dedicated nodes from the Diego Cell and Diego Brain network(s)

Testing

  1. bundle install
  2. bundle exec rspec spec

Related Documentation

cf-redis-release's People

Contributors

alamages avatar antonsoroko avatar apshirley avatar callisto13 avatar cf-london avatar cghsystems avatar chewymeister avatar drnic avatar edwardecook avatar fearoffish avatar ferozjilla avatar goonzoid avatar hoegaarden avatar infra-red avatar jacknewberry avatar jamiemonserrate avatar mariantalla avatar mrosecrance avatar pcf-redis avatar poligraph avatar sclevine avatar semanticallynull avatar simonjjones avatar spikymonkey avatar st3v avatar teddyking avatar tushar-dadlani avatar wendorf avatar williammartin avatar yatzek avatar

Watchers

 avatar  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.