blob: f2e017e80bb8368edfda3dd254e13ddaffce2b37 [file] [log] [blame]
Instructions for running examples
=================================
The commands below assume that the `brooklyn` script is on your $PATH, this project has been built,
and you are in this directory. Adjust to taste for other configurations.
export BROOKLYN_CLASSPATH=$(pwd)/target/classes
# Launch the app in aws-ec2 regions eu-west-1 and us-east-1
brooklyn launch --app brooklyn.demo.GlobalWebFabricExample --location "aws-ec2:eu-west-1,aws-ec2:us-east-1"
---
The aws-ec2 credentials are retrieved from ~/.brooklyn/brooklyn.properties
This file should contain something like:
brooklyn.jclouds.aws-ec2.identity=AKA50M30N3S1DFR0MAW55
brooklyn.jclouds.aws-ec2.credential=aT0Ps3cr3tC0D3wh1chAW5w1llG1V3y0uTOus333
Brooklyn defaults to using ~/.ssh/id_rsa and ~/.ssh/id_rsa.pub.