Adding getting started guides for digital ocean, gogrid and joyent

This commit is contained in:
Joseph Hall 2013-11-22 19:57:39 -07:00
parent 255224dbda
commit d17cbc8320
5 changed files with 210 additions and 7 deletions

View File

@ -497,9 +497,9 @@ the API Access tab.
.. code-block:: yaml
my-digitalocean-config:
provider: digital_ocean
client_key: wFGEwgregeqw3435gDger
api_key: GDE43t43REGTrkilg43934t34qT43t4dgegerGEgg
provider: digital_ocean
location: New York 1

View File

@ -0,0 +1,99 @@
=================================
Getting Started With Digtal Ocean
=================================
Digital Ocean is a public cloud provider that specializes Linux instances.
Dependencies
============
The Digital Ocean driver requires no special dependencies outside of Salt.
Configuration
=============
Using Salt for Digital Ocean requires a client_key and an api_key. These can be
found in the Digital Ocean web interface, in the "My Settings" section, under
the API Access tab.
.. code-block:: yaml
# Note: This example is for /etc/salt/cloud.providers or any file in the
# /etc/salt/cloud.providers.d/ directory.
my-digitalocean-config:
provider: digital_ocean
client_key: wFGEwgregeqw3435gDger
api_key: GDE43t43REGTrkilg43934t34qT43t4dgegerGEgg
location: New York 1
Profiles
========
Cloud Profiles
~~~~~~~~~~~~~~
Set up an initial profile at ``/etc/salt/cloud.profiles`` or in the
``/etc/salt/cloud.profiles.d/`` directory:
.. code-block:: yaml
digitalocean-ubuntu:
provider: my-digitalocean-config
image: Ubuntu 12.10 x64
size: 512MB
location: New York 1
Sizes can be obtained using the ``--list-sizes`` option for the ``salt-cloud``
command:
.. code-block:: bash
# salt-cloud --list-sizes my-digitalocean-config
my-digitalocean-config:
----------
digital_ocean:
----------
512MB:
----------
cost_per_hour:
0.00744
cost_per_month:
5.0
cpu:
1
disk:
20
id:
66
memory:
512
name:
512MB
slug:
None
...SNIP...
Images can be obtained using the ``--list-images`` option for the ``salt-cloud``
command:
.. code-block:: bash
# salt-cloud --list-images my-digitalocean-config
my-digitalocean-config:
----------
digital_ocean:
----------
Arch Linux 2013.05 x64:
----------
distribution:
Arch Linux
id:
350424
name:
Arch Linux 2013.05 x64
public:
True
slug:
None
...SNIP...

103
doc/topics/cloud/gogrid.rst Normal file
View File

@ -0,0 +1,103 @@
===========================
Getting Started With GoGrid
===========================
GoGrid is a public cloud provider supporting Linux and Windows.
Dependencies
============
The GoGrid driver for Salt Cloud requires Libcloud 0.13.2 or higher to be
installed.
Configuration
=============
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.
The ``apikey`` and the ``sharedsecret`` configuration parameters need to be set
in the configuration file to enable interfacing with GoGrid:
.. code-block:: yaml
# Note: This example is for /etc/salt/cloud.providers or any file in the
# /etc/salt/cloud.providers.d/ directory.
.. code-block:: yaml
my-gogrid-config:
provider: gogrid
apikey: asdff7896asdh789
sharedsecret: saltybacon
Profiles
========
Cloud Profiles
~~~~~~~~~~~~~~
Set up an initial profile at ``/etc/salt/cloud.profiles`` or in the
``/etc/salt/cloud.profiles.d/`` directory:
.. code-block:: yaml
gogrid_512:
provider: my-gogrid-config
size: 512MB
image: CentOS 6.2 (64-bit) w/ None
Sizes can be obtained using the ``--list-sizes`` option for the ``salt-cloud``
command:
.. code-block:: bash
# salt-cloud --list-sizes my-gogrid-config
my-gogrid-config:
----------
gogrid:
----------
512MB:
----------
bandwidth:
None
disk:
30
driver:
get_uuid:
id:
512MB
name:
512MB
price:
0.095
ram:
512
uuid:
bde1e4d7c3a643536e42a35142c7caac34b060e9
...SNIP...
Images can be obtained using the ``--list-images`` option for the ``salt-cloud``
command:
.. code-block:: bash
# salt-cloud --list-images my-gogrid-config
my-gogrid-config:
----------
gogrid:
----------
CentOS 6.4 (64-bit) w/ None:
----------
driver:
extra:
----------
get_uuid:
id:
18094
name:
CentOS 6.4 (64-bit) w/ None
uuid:
bfd4055389919e01aa6261828a96cf54c8dcc2c4
...SNIP...

View File

@ -29,10 +29,13 @@ Getting Started
* :doc:`Installing salt cloud <install/index>`
Some quick guides covering getting started with Amazon AWS, Google Compute
Engine, Parallels, Rackspace, and Softlayer.
Some quick guides covering getting started with Amazon EC2, Digital Ocean,
GoGrid, Google Compute Engine, Linode, Joyent, Parallels, Rackspace, and
SoftLayer.
* :doc:`Getting Started With AWS/EC2 <aws>`
* :doc:`Getting Started With Digital Ocean <digitalocean>`
* :doc:`Getting Started With GoGrid <gogrid>`
* :doc:`Getting Started With Google Compute Engine <gce>`
* :doc:`Getting Started With Linode <linode>`
* :doc:`Getting Started With Joyent <joyent>`

View File

@ -27,13 +27,11 @@ send the provisioning commands up to the freshly created virtual machine.
.. code-block:: yaml
my-joyent-config:
provider: joyent
user: fred
password: saltybacon
private_key: /root/joyent.pem
provider: joyent
The password needs to be 8 characters and contain lowercase, uppercase and
numbers.
Profiles
========
@ -84,7 +82,7 @@ command:
.. code-block:: bash
# salt-cloud --list-images my-joyent-config
techhat-joyent:
my-joyent-config:
----------
joyent:
----------