The DigitalOcean cloud module is used to control access to the DigitalOcean VPS system.
Use of this module only requires the personal_access_token parameter to be set. Set up the cloud configuration at /etc/salt/cloud.providers or /etc/salt/cloud.providers.d/digital_ocean.conf:
my-digital-ocean-config:
personal_access_token: xxx
provider: digital_ocean
depends: | requests |
---|
Return a list of the images that are on the provider
Return a dict of all available VM locations on the cloud provider with relevant data
Return a list of the image sizes that are on the provider
Create a single VM from a data dict
Creates a DNS record for the given hostname if the domain is managed with DO.
Create a node
Deletes a DNS for the given hostname if the domain is managed with DO.
Destroy a node. Will check termination protection and warn if enabled.
CLI Example:
salt-cloud --destroy mymachine
Return the first configured instance.
Return the image object to use
Return the ID of the keyname
Return the VM's location
Return the VM's size. Used by create_node().
Return a dict of all available VM locations on the cloud provider with relevant data
Return a list of the VMs that are on the provider
Return a list of the VMs that are on the provider
Return a list of the VMs that are on the provider, with select fields
Make a web call to DigitalOcean
Return the script deployment object
Show the details from DigitalOcean concerning a droplet
Show the details of an SSH keypair
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2015.5.1
salt.cloud.clouds.digital_ocean