Running Brooklyn
This guide will walk you through deploying an example 3-tier web application to a public cloud.
This tutorial assumes that you are using Linux or Mac OSX.
Install Brooklyn
Download Brooklyn and obtain a binary build as described on the download page.
Expand the tar.gz
archive:
$ tar -zxf brooklyn-0.7.0-incubating-dist.tar.gz
This will create a brooklyn-0.7.0-incubating
folder.
Note: You’ll need a Java JRE or SDK installed (version 1.7 or later), as Brooklyn is Java under the covers.
Note #2: If you want to test Brooklyn on localhost, follow these instructions to ensure that your Brooklyn can access your machine.
Launch Brooklyn
Now start Brooklyn with the following command:
$ cd brooklyn-0.7.0-incubating
$ bin/brooklyn launch
Brooklyn will output the address of the management interface:
INFO Starting brooklyn web-console on loopback interface because no security config is set INFO Started Brooklyn console at http://127.0.0.1:8081/, running classpath://brooklyn.war and []
Next
Next, open the web console on 127.0.0.1:8081. No applications have been deployed yet, so the “Create Application” dialog opens automatically: let’s remedy this by deploying a blueprint.
It is not necessary at this time, but depending on what you are going to do, you may wish to set up other configuration options first: