MozillaSecurity / laniakea

Laniakea is a utility for managing instances at various cloud providers and aids in setting up a fuzzing cluster.
Mozilla Public License 2.0
27 stars 12 forks source link

Changes to improve cross-region interoperability #8

Closed choller closed 9 years ago

choller commented 9 years ago

The two changes made here are required for cross-region interoperability. When switching the region, the AMI IDs also change, so we need some way to keep the AMI reference consistent across regions (in this case, the AMI name was used and is resolved to the AMI ID at runtime). Also, switching the region with a command line argument does not make sense if there is no command line argument to specify the zone/placement of the instance. In order to pick the lowest spot prices, choosing the right zone within a region is crucial and we shouldn't make configurations for all combinations of zones/regions, duplicating a lot of other configuration data.

posidron commented 9 years ago

Thanks for that!