github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

bguthrie / awsymandias

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 12
    • 4
  • Source
  • Commits
  • Network (4)
  • Issues (0)
  • Downloads (2)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (2)
    • v0.1.2
    • v0.1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Set up, track, and tear down complicated AWS EC2 environments. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updated gemspec. 
Brian Guthrie (author)
Mon Aug 10 22:46:10 -0700 2009
commit  be92081351d90d55cae6f3eff3000e510a599e4f
tree    66e669829fcf62bc0224ca319ebb9780fee1eb30
parent  2e8acc84171eee511c3e061387d8dc59dd9b3b2e
awsymandias /
name age
history
message
file .gitignore Sun Jun 07 15:40:40 -0700 2009 Fixed .gitignore and added gemspec to source co... [Brian Guthrie]
file .specification Mon Jul 27 06:27:13 -0700 2009 Rob: #na - Awsymandias now uses RightAws::SdbIn... [ThoughtWorker]
file README.rdoc Loading commit data...
file Rakefile Sun Aug 09 14:04:45 -0700 2009 integration testing FTW [Anthony Pitluga]
file VERSION Mon Aug 10 22:45:46 -0700 2009 Version bump to 0.3.1 [Brian Guthrie]
file awsymandias.gemspec Mon Aug 10 22:46:10 -0700 2009 Updated gemspec. [Brian Guthrie]
directory lib/ Sat Aug 08 20:22:38 -0700 2009 Rob: Made load_balancer.reload work properly. ... [onyx]
directory spec/ Sun Aug 09 15:22:23 -0700 2009 moved load balancer and addon specs into unit f... [Anthony Pitluga]
file tags
README.rdoc

Awsymandias

Description

Awsymandias is a library that helps you set up and tear down complicated AWS environments. In addition to offering a clean, fluent domain model for working with instances and groups of instances it allows you to persist role-to-instance-id mappings to SimpleDB, allowing you to manage your stack from multiple different machines. Eventually it will allow you to add arbitrary instance metadata and help you track instance running costs over time.

Example

  # Give the stack a name, and describe its members.
  stack = Awsymandias::EC2::ApplicationStack.define("test") do |s|
    s.instance :db,  :instance_type => "m1.large", ...
    s.instance :app, :instance_type => "c1.xlarge", ...
    s.volume :data, :volume_id => "vol-12345", :instance => :db, :unix_device => "/dev/sdj"
  end

  # Check if we're running by pulling stack description from SDB; if not, launch asynchronously.
  stack.launch unless stack.launched? || stack.running?
  until stack.reload.running?
    sleep(5)
  end

  # Capistrano
  task :test do
    set :db, stack.db.public_dns
    set :app, stack.app.public_dns
  end

This should allow you to re-launch and deploy that AWS stack from any one of several different workstations.

Contributors

  • Paul Gross github email
  • Rob Sweet (rob@ldg.net)
  • Kris Hicks (krishicks at gmail dot com)
  • Tony Pitluga github email

Brief Expository Sonnet

  I met a hacker from an antique land
  Who said: Two tall and heavy mounts of steel
  Lie in a basement. Near them on a stand,
  Recessed, a dark CRT lies, whose peel’d
  Cracked shell of dullest beige, and blinkenlights,
  Tell that its fact’ry well those old specs read
  Which yet survive, inked on the lifeless thing,
  The die that stamp’d them and the power that fed.
  And on the burned-in screen these words appear:
  “My name is Awsymandias, king of kings:
  Look on my racks, ye Mighty, and despair!”
  No bits at all remain. Not far away
  A data center waits, its humming air
  Host to a boundless cloud by th’hour to pay.

(Apologies to Shelley’s original. Diehards will please note that it scans and attempts to follow the original meter and rhyme scheme wherever possible.)

License

(The MIT License)

Copyright © 2009 Brian Guthrie (btguthrie@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server