This process requires you to have a Joyent account. If you have not signed up for one yet, you can do so at http://www.joyent.com/.
You should start by generating a generic configuration file for Juju, using the command:
This will generate a file,
environments.yaml, which, in Linux, will reside in
~/.juju/ directory (and will create the directory if it doesn't already
The generic configuration sections generated for Joyent will look something like this:
joyent: type: joyent # SDC config Can be set via env variables, or specified here sdc-user: # <secret> Can be set via env variables, or specified here sdc-key-id: # <secret> url defaults to us-west-1 DC, override if required sdc-url: # https://us-west-1.api.joyentcloud.com # Manta config Can be set via env variables, or specified here # manta-user: <secret> Can be set via env variables, or specified here # manta-key-id: <secret> url defaults to us-east DC, override if required # manta-url: https://us-east.manta.joyent.com # Auth config private-key-path is the private key used to sign Joyent # requests. Defaults to ~/.ssh/id_rsa, override if a different ssh key # is used. Alternatively, you can supply "private-key" with the content # of the private key instead supplying the path to a file. # private-key-path: ~/.ssh/id_rsa algorithm defaults to rsa-sha256, # override if required algorithm: rsa-sha256
This is a simple configuration intended to run on Joyent with Manta storage. Values for the default settings can be changed simply by editing this file, uncommenting the relevant lines and adding your own settings. All you need to do to get Juju deploying services on Joyent is to set:
sdc-user(Joyent login username)
sdc-key-id(finger print from ssh key uploaded to Joyent)
manta-user(login username -same as
manta-key-id(finger print from uploaded ssh key -same as
private-key-path(if your private is not at
You can retrieve these values easily from Joyent Dashboard at https://my.joyent.com/main/#!/account. Click on your name in the top-right and then the "Account" link from the drop down menu.