cloudster 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +52 -0
- data/VERSION +1 -1
- data/cloudster.gemspec +3 -3
- metadata +4 -4
- data/README.rdoc +0 -19
data/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# Cloudster
|
2
|
+
|
3
|
+
Cloudster exposes simple helper methods to provision your AWS cloud.
|
4
|
+
Cloudster uses the AWS APIs to provision stacks on Amazon Cloud.
|
5
|
+
|
6
|
+
|
7
|
+
- This gem is under active development. Currently supports only a basic EC2 resource .
|
8
|
+
|
9
|
+
##Installation
|
10
|
+
|
11
|
+
gem install cloudster
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
Create AWS EC2 resources as shown here:
|
16
|
+
|
17
|
+
app_server = Cloudster::Ec2.new(:name => 'AppServer',
|
18
|
+
:key_name => 'mykey',
|
19
|
+
:image_id => 'ami_image_id'
|
20
|
+
)
|
21
|
+
app_server_2 = Cloudster::Ec2.new(:name => 'AppServer',
|
22
|
+
:key_name => 'mykey',
|
23
|
+
:image_id => 'ami_image_id'
|
24
|
+
)
|
25
|
+
|
26
|
+
Create a stack out of the resources :
|
27
|
+
|
28
|
+
stack = Cloudster::Cloud.new(:resources => [app_server, app_server_2])
|
29
|
+
Now you can do stuff like :
|
30
|
+
|
31
|
+
- Get the CloudFormation template for a resource in Ruby Hash :
|
32
|
+
|
33
|
+
app_server.template
|
34
|
+
- Get the CloudFormation template for the stack :
|
35
|
+
|
36
|
+
stack.template(:description => 'Description of the stack')
|
37
|
+
|
38
|
+
And most importantly :
|
39
|
+
|
40
|
+
- Provision the stack :
|
41
|
+
|
42
|
+
stack.provision(:stack_name => 'Shitty stack',
|
43
|
+
:access_key_id => 'accesskeyid',
|
44
|
+
:secret_access_key => 'topsecretaccesskey')
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
##License
|
49
|
+
|
50
|
+
MIT
|
51
|
+
|
52
|
+
*Free Software, Sweet Child !*
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/cloudster.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "cloudster"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Emil Soman"]
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.email = "emil.soman@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
|
-
"README.
|
17
|
+
"README.md"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
"Gemfile",
|
23
23
|
"Gemfile.lock",
|
24
24
|
"LICENSE.txt",
|
25
|
-
"README.
|
25
|
+
"README.md",
|
26
26
|
"Rakefile",
|
27
27
|
"VERSION",
|
28
28
|
"cloudster.gemspec",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -129,14 +129,14 @@ executables: []
|
|
129
129
|
extensions: []
|
130
130
|
extra_rdoc_files:
|
131
131
|
- LICENSE.txt
|
132
|
-
- README.
|
132
|
+
- README.md
|
133
133
|
files:
|
134
134
|
- .document
|
135
135
|
- .rspec
|
136
136
|
- Gemfile
|
137
137
|
- Gemfile.lock
|
138
138
|
- LICENSE.txt
|
139
|
-
- README.
|
139
|
+
- README.md
|
140
140
|
- Rakefile
|
141
141
|
- VERSION
|
142
142
|
- cloudster.gemspec
|
@@ -162,7 +162,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
162
|
version: '0'
|
163
163
|
segments:
|
164
164
|
- 0
|
165
|
-
hash:
|
165
|
+
hash: -197011123
|
166
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
167
|
none: false
|
168
168
|
requirements:
|
data/README.rdoc
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
= cloudster
|
2
|
-
|
3
|
-
Description goes here.
|
4
|
-
|
5
|
-
== Contributing to cloudster
|
6
|
-
|
7
|
-
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
8
|
-
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
9
|
-
* Fork the project.
|
10
|
-
* Start a feature/bugfix branch.
|
11
|
-
* Commit and push until you are happy with your contribution.
|
12
|
-
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
13
|
-
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
14
|
-
|
15
|
-
== Copyright
|
16
|
-
|
17
|
-
Copyright (c) 2012 Emil S. See LICENSE.txt for
|
18
|
-
further details.
|
19
|
-
|