4

I tried to use EMR in Oregon region so I used "us-west-2" as availability zone in run_job_flow and I got the following error:

Error response for action RunJobFlow: Sender/ValidationError; Specified Availability Zone is not supported
kee
  • 10,969
  • 24
  • 107
  • 168

1 Answers1

2

"us-west-2" is the name of a region and NOT the name of an availability zone.

Use either "us-west-2a" or "us-west-2b"

prestomation
  • 7,225
  • 3
  • 39
  • 37
  • I think I had tried those as well. Based on my limited search, it looks like when you are not using Virginia there are some other parameters to specify. – kee Aug 28 '13 at 00:11
  • Or the client tool I am using (Net::Amazon::EMR) is not behaving well. – kee Aug 28 '13 at 00:21
  • 2
    AWS requests are made to a particular region. If you try to start a jobflow in us-west-2a but make the API call to the us-east-1 endpoint, it will fail(us-east-1 has no knowledge of us-west-2). You must make your request against the us-west-2 endpoint. var emrClient =AWSClientFactory.CreateAmazonElasticMapReduceClient(RegionEndpoint.USWest2); – prestomation Aug 28 '13 at 01:17
  • I finally learned that there is an endpoint parameter in the new method of the perl module. thanks! – kee Aug 28 '13 at 06:01