The GoGrid cloud module. This module interfaces with the gogrid public cloud service. To use Salt Cloud with GoGrid log into the GoGrid web interface and create an api key. Do this by clicking on "My Account" and then going to the API Keys tab.
Set up the cloud configuration at /etc/salt/cloud.providers
or
/etc/salt/cloud.providers.d/gogrid.conf
:
my-gogrid-config:
# The generated api key to use
apikey: asdff7896asdh789
# The apikey's shared secret
sharedsecret: saltybacon
driver: gogrid
Note
A Note about using Map files with GoGrid:
Due to limitations in the GoGrid API, instances cannot be provisioned in parallel
with the GoGrid driver. Map files will work with GoGrid, but the -P
argument should not be used on maps referencing GoGrid instances.
Note
A Note about using Map files with GoGrid:
Due to limitations in the GoGrid API, instances cannot be provisioned in parallel
with the GoGrid driver. Map files will work with GoGrid, but the -P
argument should not be used on maps referencing GoGrid instances.
Available images
Available locations
Available sizes
Create a single VM from a data dict
Destroy a machine by name
CLI Example:
salt-cloud -d vm_name
Return the first configured instance.
List common lookups for a particular type of item
New in version 2015.8.0.
List of nodes, keeping only a brief listing
CLI Example:
salt-cloud -Q
List nodes, with all available information
CLI Example:
salt-cloud -F
Return a list of the VMs that are on the provider, with select fields
CLI Example:
salt-cloud -S
List all password on the account
New in version 2015.8.0.
List all available public IPs.
CLI Example:
salt-cloud -f list_public_ips <provider>
To list unavailable (assigned) IPs, use:
CLI Example:
salt-cloud -f list_public_ips <provider> state=assigned
New in version 2015.8.0.
Reboot a machine by name
CLI Example:
salt-cloud -a reboot vm_name
New in version 2015.8.0.
Start a machine by name
CLI Example:
salt-cloud -a show_instance vm_name
New in version 2015.8.0.
Start a machine by name
CLI Example:
salt-cloud -a start vm_name
New in version 2015.8.0.
Stop a machine by name
CLI Example:
salt-cloud -a stop vm_name
New in version 2015.8.0.