FAQ
why not use services for this?
On Monday, July 8, 2013 9:38:20 PM UTC+2, Dr Nic Williams wrote:

If you try this out and dig around the code, you'll notice there is no
"git clone" for the redis bosh release. All the bits necessary to upload
the bosh release are stored in the rubygem that you download above.


On Mon, Jul 8, 2013 at 12:15 PM, Dr Nic Williams <drnicw...@gmail.com<javascript:>
wrote:
I need a simple way to create and delete (and ultimate upgrade) dedicate
services - redis, postgresql, etc. In this post I introduce a simple CLI
for creating a Redis server, getting the URI for the service, binding it to
your Cloud Foundry app, and later deleting it.

Here is an example scenario for installing the plugin, login to bosh (ask
your sysadmin for credentials), uploading the redis release to bosh, and
then creating and deleting as many redis servers as you and your team need.

$ gem install bosh_cli "~> 1.5.0.pre" --source https://s3.amazonaws.com/bosh-jenkins-gems/ $ gem install bosh_cli_plugin_redis
$ bosh prepare redis$ bosh create redis$ bosh show redis uri
redis://:c1da049a75b3@0.redis.default.demoredis.microbosh:6379/0$ cf set-env myapp REDIS_URI redis://:c1da049a75b3@0.redis.default.redis-123.microbosh:6379/0
$ cf unset-env myapp REDIS_URI$ bosh delete redis


The blog post with known limitations & how-tos is at
http://starkandwayne.com/articles/2013/07/08/simple-redis-service/

The source for the CLI plugin is at
https://github.com/drnic/bosh_cli_plugin_redis

The source for running redis upon bosh is
https://github.com/cloudfoundry-community/redis-boshrelease


Does this UX seem nice to you?


--
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic


--
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic
--

------------------------------

Have an innovative day

*Innovation Factory *De Lairessestraat 180* *1075 HM Amsterdam* *+31
20 7787008 www.innovationfactory.eu

*
Disclaimer*
*The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this in error, please contact the sender and
delete the material from any computer. Innovation Factory does not accept
liability for any errors, viruses or omissions in the contents of this
message, which may arise as a result of e-mail transmission. No employee or
agent is authorized to conclude any binding agreement on behalf of
Innovation Factory with another party by email.*

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
groupbosh-users @
postedJul 8, '13 at 7:15p
activeJul 11, '13 at 4:02p
posts5
users2

2 users in discussion

Dr Nic Williams: 3 posts Ruben Koster: 2 posts

People

Translate

site design / logo © 2021 Grokbase