Configuring for Joyent Cloud

This process requires you to have a Joyent account. If you have not signed up for one yet, you can do so at

You should start by generating a generic configuration file for Juju, using the command:

juju generate-config

This will generate a file, environments.yaml, which, in Linux, will reside in your ~/.juju/ directory (and will create the directory if it doesn't already exist).


The generic configuration sections generated for Joyent will look something like this:

  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:

  # 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:

  # 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 sdc-user)
  • manta-key-id (finger print from uploaded ssh key -same as sdc-key-id)
  • private-key-path (if your private is not at ~/.ssh/id_rsa)


You can retrieve these values easily from Joyent Dashboard at!/account. Click on your name in the top-right and then the "Account" link from the drop down menu.

Joyent Dashboard to access username and