!!! Apache Brooklyn
[{TableOfContents}]
!! Intro
Apache Brooklyn is currently an incubating Apache project.
Use (yaml) blueprints to model your application (components) and describe the required infrastructure.
But also deploy your app and manage (monitor) your application.
There is a [Catalog|https://brooklyn.incubator.apache.org/learnmore/catalog/index.html] with components to choose from, or write your own.
It has a nice web ui, but also everything available via REST interfaces.
!! Resources
* [Home|https://brooklyn.incubator.apache.org/]
* [GitHub|https://github.com/apache/incubator-brooklyn]
* [sample brooklyn.properties|https://brooklyn.incubator.apache.org/v/latest/start/brooklyn.properties]
* [Catalog|https://brooklyn.incubator.apache.org/learnmore/catalog/index.html]
!! Installation
Well, that is very easy:
* download tarball from [https://brooklyn.incubator.apache.org/download/index.html]
*
{{{
tar -zxf brooklyn-0.7.0-incubating-dist.tar.gz
cd brooklyn-0.7.0-incubating
bin/brooklyn launch
}}}
It will log to 2 files in the current directory {{brooklyn.info.log}} {{brooklyn.debug.log}}.
If you have not created a {{~~/.brooklyn/brooklyn.properties}} file with special settings, you will get anonymous admin access at [http://localhost:8081], but only if you come from localhost. If you come from other hosts (like when you run it in a docker container then you get basic auth), the password is generated each time the server is started and is logged to the {{brooklyn.info.log}} file:
%%small
{{{
2015-08-08 19:12:56,404 INFO b.r.s.p.BrooklynUserWithRandomPasswordSecurityProvider [brooklyn-jetty-server-8081-qtp1042232199-22]: Allowing access to web console from localhost or with brooklyn:m01u2ll1H2
}}}
%%
I decided to run it in a Docker container, the Dockerfile and other stuff are in my private [my gitblit|https://www.computerhok.nl/gitblit/tree/~metskem!docker.git/master/dockerfiles!brooklyn].
I also have a Docker container for brooklyn nodes (so we can get very predictable targets for brooklyn)
!! Using