File tree Expand file tree Collapse file tree 7 files changed +114
-11
lines changed Expand file tree Collapse file tree 7 files changed +114
-11
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ The following is a list of actions currently supported by salt-cloud:
25
25
26
26
all providers :
27
27
- reboot
28
- aws :
28
+ ec2 :
29
29
- start
30
30
- stop
31
31
joyent :
Original file line number Diff line number Diff line change 2
2
Getting Started With Google Compute Engine
3
3
==========================================
4
4
5
- Google Compute Engine (GCE) is Goolge -infrastructure as a service that lets you
5
+ Google Compute Engine (GCE) is Google -infrastructure as a service that lets you
6
6
run your large-scale computing workloads on virtual machines. This document
7
7
covers how to use Salt Cloud to provision and manage your virtual machines
8
8
hosted within Google's infrastructure.
@@ -14,7 +14,7 @@ at https://cloud.google.com.
14
14
Dependencies
15
15
============
16
16
* `Libcloud <http://libcloud.apache.org >`_ version 0.14.0-beta3 or greater
17
- * A Google Cloud Platform account with Copmute Engine enabled
17
+ * A Google Cloud Platform account with Compute Engine enabled
18
18
* A registered Service Account for authorization
19
19
* Oh, and obviously you'll need `salt <https://github.com/saltstack/salt >`_
20
20
Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ Getting Started
32
32
Some quick guides covering getting started with Amazon AWS, Google Compute
33
33
Engine, Parallels, Rackspace, and Softlayer.
34
34
35
- * :doc: `Getting Started With AWS <aws >`
35
+ * :doc: `Getting Started With AWS/EC2 <aws >`
36
36
* :doc: `Getting Started With Google Compute Engine <gce >`
37
+ * :doc: `Getting Started With Linode <linode >`
37
38
* :doc: `Getting Started With Parallels <parallels >`
38
39
* :doc: `Getting Started With Rackspace <rackspace >`
39
40
* :doc: `Getting Started With SoftLayer <softlayer >`
Original file line number Diff line number Diff line change
1
+ ===========================
2
+ Getting Started With Linode
3
+ ===========================
4
+
5
+ Linode is a public cloud provider with a focus on Linux instances.
6
+
7
+ Dependencies
8
+ ============
9
+ The Linode driver for Salt Cloud requires Libcloud 0.13.2 or higher to be
10
+ installed.
11
+
12
+
13
+ Configuration
14
+ =============
15
+ Linode requires a single API key, but the default root password for new
16
+ instances also needs to be set:
17
+
18
+ .. code-block :: yaml
19
+
20
+ # Note: This example is for /etc/salt/cloud.providers or any file in the
21
+ # /etc/salt/cloud.providers.d/ directory.
22
+
23
+ my-linode-config :
24
+ apikey : asldkgfakl;sdfjsjaslfjaklsdjf;askldjfaaklsjdfhasldsadfghdkf
25
+ password : F00barbaz
26
+ provider : linode
27
+
28
+ The password needs to be 8 characters and contain lowercase, uppercase and
29
+ numbers.
30
+
31
+ Profiles
32
+ ========
33
+
34
+ Cloud Profiles
35
+ ~~~~~~~~~~~~~~
36
+ Set up an initial profile at ``/etc/salt/cloud.profiles `` or in the
37
+ ``/etc/salt/cloud.profiles.d/ `` directory:
38
+
39
+ .. code-block :: yaml
40
+
41
+ linode_1024 :
42
+ provider : my-linode-config
43
+ size : Linode 1024
44
+ image : Arch Linux 2013.06
45
+
46
+ Sizes can be obtained using the ``--list-sizes `` option for the ``salt-cloud ``
47
+ command:
48
+
49
+ .. code-block :: bash
50
+
51
+ # salt-cloud --list-sizes my-linode-config
52
+ my-linode-config:
53
+ ----------
54
+ linode:
55
+ ----------
56
+ Linode 1024:
57
+ ----------
58
+ bandwidth:
59
+ 2000
60
+ disk:
61
+ 49152
62
+ driver:
63
+ get_uuid:
64
+ id:
65
+ 1
66
+ name:
67
+ Linode 1024
68
+ price:
69
+ 20.0
70
+ ram:
71
+ 1024
72
+ uuid:
73
+ 03e18728ce4629e2ac07c9cbb48afffb8cb499c4
74
+ ...SNIP...
75
+
76
+ Images can be obtained using the ``--list-images `` option for the ``salt-cloud ``
77
+ command:
78
+
79
+ .. code-block :: bash
80
+
81
+ # salt-cloud --list-images my-linode-config
82
+ my-linode-config:
83
+ ----------
84
+ linode:
85
+ ----------
86
+ Arch Linux 2013.06:
87
+ ----------
88
+ driver:
89
+ extra:
90
+ ----------
91
+ 64bit:
92
+ 1
93
+ pvops:
94
+ 1
95
+ get_uuid:
96
+ id:
97
+ 112
98
+ name:
99
+ Arch Linux 2013.06
100
+ uuid:
101
+ 8457f92eaffc92b7666b6734a96ad7abe1a8a6dd
102
+ ...SNIP...
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ A map file may also be used with the various query options:
78
78
.. code-block :: bash
79
79
80
80
$ salt-cloud -m /path/to/mapfile -Q
81
- {' aws ' : {' web1' : {' id' : ' i-e6aqfegb' ,
81
+ {' ec2 ' : {' web1' : {' id' : ' i-e6aqfegb' ,
82
82
' image' : None,
83
83
' private_ips' : [],
84
84
' public_ips' : [],
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ to pass arguments to the deploy script:
13
13
14
14
.. code-block :: yaml
15
15
16
- aws -amazon :
17
- provider : aws
16
+ ec2 -amazon :
17
+ provider : ec2
18
18
image : ami-1624987f
19
19
size : Micro Instance
20
20
ssh_username : ec2-user
Original file line number Diff line number Diff line change @@ -63,16 +63,16 @@ Larger Example
63
63
64
64
.. code-block :: yaml
65
65
66
- rhel_aws :
67
- provider : aws
66
+ rhel_ec2 :
67
+ provider : ec2
68
68
image : ami-e565ba8c
69
69
size : Micro Instance
70
70
script : RHEL6
71
71
minion :
72
72
cheese : edam
73
73
74
- ubuntu_aws :
75
- provider : aws
74
+ ubuntu_ec2 :
75
+ provider : ec2
76
76
image : ami-7e2da54e
77
77
size : Micro Instance
78
78
script : Ubuntu
You can’t perform that action at this time.
0 commit comments