To provision new nodes using the Joyent Smart Data Center install the SDC command line tools. You will need nodejs and npm installed.
Then configure 3 environment variables to connect to your account. The SDC_KEY_ID is the public fingerprint of your ssh public key.
Your public key will need to be added to your ssh agent. You can list them by using the following command:
Now you should be able to connect to the SDC api via the command line tools. To create a new machine
you will need to specify the image, network and package to use.
The image specifies the type of operating system. The network specifies the configuration for the network to use, and the packages specifies how many processors and memory your new machine should have.
You can list out the different images, networks, and packages by using the following commands.
Records the id of the image network and package you wish to use. Then you can create and provision a new machine using the createmachine command.
This will start to provision a new machine. It will take a bit of time to get this machine running. You can monitor the progress by getting the state of the new machine.
Once the machine is running, you should be able to ssh in to the new machine. The public keys specified in your account should be added to the authorized_keys file so you should have no problem.