Skip to content

Instantly share code, notes, and snippets.

@karel1980
Created January 31, 2012 13:13

Revisions

  1. Karel Vervaeke revised this gist Jan 31, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@ whirr.instance-class.web=role1+role2
    whirr.instance-class.db=role3+role4

    # define profiles. these could describe hardware, image, memory, ...
    whirr.instance-descriptor.lightweight.hardwareId=x1.large
    whirr.instance-descriptor.heavyweight.hardwareId=x4.large
    whirr.instance-descriptor.lightweight.hardwareId=x4.large

    # cluster:
    whirr.instance-templates=3 web/heavyweight, 1 db/lightweight, 1 db/heavyweight
  2. Karel Vervaeke created this gist Jan 31, 2012.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # define 'classes': collections of useful role combinations
    whirr.instance-class.web=role1+role2
    whirr.instance-class.db=role3+role4

    # define profiles. these could describe hardware, image, memory, ...
    whirr.instance-descriptor.heavyweight.hardwareId=x4.large
    whirr.instance-descriptor.lightweight.hardwareId=x4.large

    # cluster:
    whirr.instance-templates=3 web/heavyweight, 1 db/lightweight, 1 db/heavyweight