README.md in elasticity-2.2 vs README.md in elasticity-2.3

- old
+ new

@@ -68,14 +68,14 @@ ``` If you want to access a job flow that's already running: ```ruby -jobflow = Elasticity::JobFlow.from_jobflow_id('AWS access key', 'AWS secret key', 'jobflow ID') +jobflow = Elasticity::JobFlow.from_jobflow_id('AWS access key', 'AWS secret key', 'jobflow ID', 'region') ``` -This is useful if you'd like to attach to a running job flow and add more steps, etc. +This is useful if you'd like to attach to a running job flow and add more steps, etc. The ```region``` parameter is necessary because job flows are only accessible from the the API when you connect to the same endpoint that created them (e.g. us-west-1). If you don't specify the ```region``` parameter, us-east-1 is assumed. ## 2 - Specifying Job Flow Options Configuration job flow options, shown below with default values. Note that these defaults are subject to change - they are reasonable defaults at the time(s) I work on them (e.g. the latest version of Hadoop). @@ -88,9 +88,10 @@ jobflow.ec2_subnet_id = nil jobflow.hadoop_version = '0.20.205' jobflow.keep_job_flow_alive_when_no_steps = true jobflow.log_uri = nil jobflow.name = 'Elasticity Job Flow' +jobflow.placement = 'us-east-1a' jobflow.instance_count = 2 jobflow.master_instance_type = 'm1.small' jobflow.slave_instance_type = 'm1.small' ```