brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [35/50] brooklyn-docs git commit: updated sample brooklyn.properties for more clouds
Date Mon, 01 Feb 2016 17:44:35 GMT
updated sample brooklyn.properties for more clouds


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/75842e24
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/75842e24
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/75842e24

Branch: refs/heads/0.6.0
Commit: 75842e24717f30d7e61ceddbbe6271e54bcead06
Parents: 3afd4c1
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Sat Nov 2 21:10:02 2013 -0700
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Tue Nov 5 13:44:11 2013 +0000

----------------------------------------------------------------------
 docs/use/guide/quickstart/brooklyn.properties | 67 ++++++++++++++++++----
 1 file changed, 55 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/75842e24/docs/use/guide/quickstart/brooklyn.properties
----------------------------------------------------------------------
diff --git a/docs/use/guide/quickstart/brooklyn.properties b/docs/use/guide/quickstart/brooklyn.properties
index 1da149c..57e64a0 100644
--- a/docs/use/guide/quickstart/brooklyn.properties
+++ b/docs/use/guide/quickstart/brooklyn.properties
@@ -14,19 +14,24 @@
 
 ############################ Getting Started Options  ####################################
 
+# By default we have AWS and Rackspace (non-UK) set up.
+# For each of those, either set the credentials immediately below
+# or remove the corresponding lines far below (look for  brooklyn.location.named...=...<aws>..
 or =...<cloudservers>... )
+
+# For other clouds, ADD corresponding identity and credential lines and enable the setup
far below
+
 ## Amazon EC2 Credentials
 
 brooklyn.jclouds.aws-ec2.identity = YOURAPIKEY
 brooklyn.jclouds.aws-ec2.credential = YOURSECRETKEY
 
-## Rackspace First Gen Credentials
-
-brooklyn.jclouds.cloudservers-us.identity = YOURAPIKEY
-brooklyn.jclouds.cloudservers-us.credential = YOURSECRETKEY
+## Rackspace Credentials
 
-# Based in the UK?
-#brooklyn.jclouds.cloudservers-uk.identity = YOURAPIKEY
-#brooklyn.jclouds.cloudservers-uk.credential = YOURSECRETKEY
+brooklyn.jclouds.rackspace-cloudservers-us.identity = YOURAPIKEY
+brooklyn.jclouds.rackspace-cloudservers-us.credential = YOURSECRETKEY
+# For UK you need a *different* account, at rackspace.co.uk account (disabled by default)
+#brooklyn.jclouds.rackspace-cloudservers-uk.identity = YOURAPIKEY
+#brooklyn.jclouds.rackspace-cloudservers-uk.credential = YOURSECRETKEY
 
 ## Geoscaling Service (Used for global web fabric demo) https://www.geoscaling.com/dns2/
 brooklyn.geoscaling.username = USERNAME
@@ -46,8 +51,10 @@ brooklyn.geoscaling.primaryDomain = DOMAIN
 # brooklyn.localhost.private-key-passphrase = s3cr3tpassphrase
 
 ## GUI Security
-# brooklyn.webconsole.security.users=admin
+# brooklyn.webconsole.security.https.required=true
+# brooklyn.webconsole.security.users=admin,bob
 # brooklyn.webconsole.security.user.admin.password=password
+# brooklyn.webconsole.security.user.bob.password=bobsword
 
 ## GUI Security: Allow all.
 # brooklyn.webconsole.security.provider = brooklyn.rest.security.provider.AnyoneSecurityProvider
@@ -152,20 +159,49 @@ brooklyn.location.named.HP\ Cloud\ Arizona-3.user = ubuntu
 
 # brooklyn.location.named.GoGrid = jclouds:gogrid
 
+## Google Compute: at present you have to create and download the P12 key from the Google
"APIs & auth -> Registered Apps" interface,
+## then convert to PEM private key format using  `openssl pkcs12 -in Certificates.p12 -out
Certificates.pem -nodes`
+## then embed that on one line as the 'credential, replacing new lines with \n as below
+## (hopefully this will be improved in jclouds in the future)
+# brooklyn.location.jclouds.google-compute-engine.identity=1234567890-somet1mesArand0mU1Dhere@developer.gserviceaccount.com
+# brooklyn.location.jclouds.google-compute-engine.credential=-----BEGIN PRIVATE KEY-----
\nMIIblahablahblah \nblahblahblah \n-----END PRIVATE KEY-----
+# brooklyn.location.named.Google\ US = jclouds:google-compute-engine
+# brooklyn.location.named.Google\ US.region=us-central1-a
+# brooklyn.location.named.Google\ EU = jclouds:google-compute-engine
+# brooklyn.location.named.Google\ EU.region=europe-west1-a
+## the following flags for GCE are recommended
+## groupId makes it used a fixed network - otherwise it creates new networks (security groups)
each time and you hit quotas pretty quickly
+## you have to manually create this network AND enable a firewall rule EG  tcp:1-65535;udp:1-65535;icmp:-1
 
+## (fix for this is in progress)
+# brooklyn.location.jclouds.google-compute-engine.groupId=brooklyn-gce-default-group
+## imageId hard-coded prevents jclouds from auto-detected _deprecated_ images (fix for this
in progress)
+# brooklyn.location.jclouds.google-compute-engine.imageId=gcel-12-04-v20130104
+## gce images have bad entropy, this ensures they have noisy /dev/random (even if the "randomness"
is not quite as random)
+# brooklyn.location.jclouds.google-compute-engine.installDevUrandom=true
+
 # brooklyn.location.named.Green\ House\ Data = jclouds:greenhousedata-element-vcloud
 
 # brooklyn.location.named.Ninefold = jclouds:ninefold-compute
 
 # brooklyn.location.named.OpenHosting = jclouds:openhosting-east1
 
+brooklyn.location.named.Rackspace\ US-TX\ DFW = jclouds:rackspace-cloudservers-us:DFW
+brooklyn.location.named.Rackspace\ US-VA\ IAD = jclouds:rackspace-cloudservers-us:IAD
+brooklyn.location.named.Rackspace\ US-IL\ ORD = jclouds:rackspace-cloudservers-us:ORD
+brooklyn.location.named.Rackspace\ HKG = jclouds:rackspace-cloudservers-us:HKG
+brooklyn.location.named.Rackspace\ SYD = jclouds:rackspace-cloudservers-us:SYD
+# for UK you will need a separate account with rackspace.co.uk
+# brooklyn.location.named.Rackspace\ UK = jclouds:rackspace-cloudservers-uk
+
+## if you need to use Rackspace "first gen" API
+## (note the "next gen" api configured above seems to be faster)
 # brooklyn.jclouds.cloudservers-us.identity = YOURAPIKEY
 # brooklyn.jclouds.cloudservers-us.credential = YOURSECRETKEY
+# brooklyn.location.named.Rackspace\ US\ (First Gen) = jclouds:cloudservers-us
+## and as with next gen, first gen requires a separate acct for the UK:
 # brooklyn.jclouds.cloudservers-uk.identity = YOURAPIKEY
 # brooklyn.jclouds.cloudservers-uk.credential = YOURSECRETKEY
-brooklyn.location.named.Rackspace\ UK = jclouds:cloudservers-uk
-brooklyn.location.named.Rackspace\ US = jclouds:cloudservers-us
-brooklyn.location.named.Rackspace\ UK\ (Next\ Gen) = jclouds:rackspace-cloudservers-uk
-brooklyn.location.named.Rackspace\ US\ (Next\ Gen) = jclouds:rackspace-cloudservers-us
+# brooklyn.location.named.Rackspace\ UK\ (First Gen) = jclouds:cloudservers-uk
 
 # brooklyn.location.named.SeverLove = jclouds:serverlove-z1-man
 
@@ -184,6 +220,13 @@ brooklyn.location.named.Rackspace\ US\ (Next\ Gen) = jclouds:rackspace-cloudserv
 #brooklyn.location.named.On-Prem\ Iron\ Example.privateKeyFile=~/.ssh/produser_id_rsa
 #brooklyn.location.named.On-Prem\ Iron\ Example.privateKeyPassphrase=s3cr3tpassphrase
 
+## Various private clouds
+## openstack identity and credential are random strings of letters and numbers (TBC - still
the case?)
+#brooklyn.location.named.My\ Openstack=jclouds:openstack-nova:https://9.9.9.9:9999/v2.0/
+## cloudstack identity and credential are rather long random strings of letters and numbers
+#brooklyn.location.named.My\ Cloudstack=jclouds:cloudstack:http://9.9.9.9:9999/client/api/
+## abiquo identity and credential are your login username/passed
+#brooklyn.location.named.My\ Abiquo=jclouds:abiquo:http://demonstration.abiquo.com/api/
 
 ###############################  Formatting Guide  #######################################
 


Mime
View raw message