Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
with the new configuration style, to configure the Digital Ocean provider you have to use:
do: provider: digital_ocean
great article, by the way!
In article number 2 the build doesn’t build salt-could by default. After that install you will still need to run
sudo apt-get install salt-cloud
to proceed with this tutorial.
I have been walking through your tutorial the last two days. I just wanted to say thank you! I was using Puppet for a while and I am quickly falling in love with Salt after using your write up. Thank youso much for the work you have done here.
Very detailed tutorial, thanks.
Not sure if anyone has noticed. But provisioning certain images via salt-cloud fails. I am successful using 14.04.3 but fail on any later Ubuntu releases. Also having issues with coreos 835.9.0 (stable).
As for the 15.04 and 15.10 images, the failure is on using ssh later in the deployment script. After the failure salt '*' test.ping fails but I am still able to destroy the minion via salt-cloud -d <minion-name>
In regards to the coreos image, I forget what the failure was but will update this thread when I come across it again. Cheers!
Thanks for the great write up, but I am having an issue when I try to provision.
I have tried ‘provider’ to ‘driver’ but it doesn’t seem to work.
Any idea??
[ERROR ] Failed to create VM dev-db. Configuration value ‘provider’ needs to be set Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/salt/cloud/init.py”, line 1256, in create output = self.cloudsfunc File “/usr/lib/python2.7/dist-packages/salt/cloud/clouds/digital_ocean_v2.py”, line 295, in create ‘provider’: vm_[‘provider’], KeyError: ‘provider’ [ERROR ] Failed to create VM dev-web. Configuration value ‘provider’ needs to be set Traceback (most recent call last): File “/usr/lib/python2.7/dist-packages/salt/cloud/init.py”, line 1256, in create output = self.cloudsfunc File “/usr/lib/python2.7/dist-packages/salt/cloud/clouds/digital_ocean_v2.py”, line 295, in create ‘provider’: vm_[‘provider’], KeyError: ‘provider’
Hi All, when I issue the test.ping i get the following message:
charles@ubuntu-512mb-sgp1-01:/etc/salt/cloud.providers.d$ sudo salt ‘*’ test.ping ubuntu-512mb-sgp1-01: True dev-db: Minion did not return. [Not connected] dev-web: Minion did not return. [Not connected]
I cant get the minions to respond. they are different from the tutorial in that they are 512mb instances from singapore. Any idea what might be going wrong?
I followed the procedure as described above. However running salt-cloud command the process is stuck at the following line [DEBUG ] Enter passphrase for key ‘/etc/salt/pki/cloud/do.pem’:
I have already removed passphrase on my ssh key
Just want to point out that inside /etc/salt/cloud.profiles.d/{prod,dev,stage}-profiles.conf the “size” argument now requires the droplet plan you’ll use, for example:
base-prod:
provider: do
image: ubuntu-14-04-x64
size: 1gb
location: nyc3
private_networking: True
ipv6: True
Should be:
base-prod:
provider: do
image: ubuntu-14-04-x64
size: s-1vcpu-1gb
location: nyc3
private_networking: True
ipv6: True
Great article!
How can I specify a project that the droplets will deploy in rather than the default droplet?