Invalid availability zone: [us-east-1d]
See original GitHub issuerunning: bees up -s 4 -g public -k mykey
but I get:
Connecting to the hive.
Attempting to call up 4 bees.
Traceback (most recent call last):
File "/usr/local/bin/bees", line 5, in <module>
main.main()
File "/usr/local/lib/python2.7/dist-packages/beeswithmachineguns/main.py", line 127, in main
parse_options()
File "/usr/local/lib/python2.7/dist-packages/beeswithmachineguns/main.py", line 111, in parse_options
bees.up(options.servers, options.group, options.zone, options.instance, options.login, options.key)
File "/usr/local/lib/python2.7/dist-packages/beeswithmachineguns/bees.py", line 104, in up
placement=zone)
File "/usr/local/lib/python2.7/dist-packages/boto/ec2/connection.py", line 618, in run_instances
return self.get_object('RunInstances', params, Reservation, verb='POST')
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 699, in get_object
raise self.ResponseError(response.status, response.reason, body)
boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>InvalidParameterValue</Code><Message>Invalid availability zone: [us-east-1d]</Message></Error></Errors><RequestID>7d01a404-48c7-4147-9774-f93c993e6b7a</RequestID></Response>
Issue Analytics
- State:
- Created 9 years ago
- Comments:10
Top Results From Across the Web
Invalid Availability Zone when creating Instance - Stack Overflow
The AWS SDK for Java uses the US East (Northern Virginia) Region as the default region if you do not specify a region...
Read more >Troubleshoot EC2 instance Availability Zone errors at launch
I received the error message "Your requested instance type is not supported in your requested Availability Zone" when launching an Amazon ...
Read more >AWS instructions suggest invalid availability zone #442 - GitHub
An Availability Zone is represented by a region code followed by a letter identifier; for example, us-east-1a. To ensure that resources are ...
Read more >Unable to launch multiple EC2 instances in different ...
example.2: Error launching source instance: InvalidParameterValue: Invalid availability zone: [ us-east-1d}] status code: 400, request id: 59244720- ...
Read more >Invalid Availability zone error when trying to autoscaling
AmazonServiceException: Invalid availability zone: [eu-west-1b] (Service: AmazonEC2; ... AmazonEC2Client#init it defaults to ec2.us-east-1.amazonaws.com.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@analytically @germs12 I went into the same issue, I was using the zone
ap-southeast-2a
I solved it by doing:
First add region config into
.boto
Then in the command you include the zone from the region you configured. For me, it is
-z ap-southeast-2a
Done, thanks @mfrederickson