You may notice that an on-demand instance launches even though Spot capacity is available in other availability zones. This can happen when your Elastigroup uses Equal AZ Distribution. This orientation evenly distributes instances across selected availability zones to maintain high availability. When a specific zone doesn’t have Spot instances available, Flexera Ocean launches an on-demand instance in that zone to preserve balance across the group.
Equal AZ Distribution overview
Equal AZ Distribution ensures that your Elastigroup spreads instances evenly across selected availability zones in a region. This helps maintain high availability and consistent performance across the group.
When this orientation is enabled:
-
The system checks instance distribution across all selected zones
-
It keeps the number of instances equal across those zones
-
If Spot capacity is unavailable in one zone, an on-demand instance launches there
-
This ensures the group maintains the required capacity and distribution
Why this causes on-demand launches
Even if other zones still have available Spot capacity, the system may not use those zones. Instead, it prioritizes keeping capacity balanced across all zones.
If Spot capacity is missing in a specific zone, the system launches an on-demand instance in that zone to maintain equal distribution.
This means:
-
Spot may be available in Market A
-
Spot may be unavailable in Market B
-
Your Elastigroup needs an instance in Market B to maintain equal distribution
-
Flexera Ocean launches an on-demand instance only in Market B
Capacity rules to keep in mind
-
The target capacity applies to the entire group.
-
If you select X availability zones, set a target capacity that is a multiple of X to keep distribution even.
-
Spot Instance Percentage or On-Demand Count settings apply per availability zone, not across the entire group.
-
Example: With two availability zones and 50% Spot allocation, the first two instances will be Spot—one in each availability zone.
-
Enabling Equal AZ Distribution
You can enable equal zone distribution using the Flexera console or the API.
Use the Flexera console
-
Create or edit an Elastigroup.
-
Ensure your target capacity matches (or is a multiple of) the number of availability zones you select.
-
In the Review tab, turn on Edit mode and edit the JSON.
-
Set the availabilityVsCost value to equalAzDistribution.
Use the API
To enable Equal AZ Distribution, set equalAzDistribution in the availabilityVsCost field in your Elastigroup strategy.
Example JSON:
{
"group": {
"strategy": {
"risk": 100,
"availabilityVsCost": "equalAzDistribution",
"drainingTimeout": 60,
"fallbackToOd": true,
"persistence": {}
}
}
}
Limitations
Equal AZ Distribution isn’t supported with:
-
Reserved Instances utilization
-
Autoscalers such as Kubernetes, ECS, or Nomad
Related Articles
GKE spot instance launches fail due to InstanceTaxonomies incompatibility 7Number of Views Prevent on‑demand instances from reverting to Spot outside configured hours 4Number of Views Why do ECS instances launch separately for each task? 2Number of Views What happens when you change the Spot percentage to 0 2Number of Views Why instances may not be gracefully terminated when AWS issues a 2‑minute termination notice 3Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago