This documentation covers Convox V2, our ECS-based engine. V2 is fully supported and actively maintained. Looking for the Kubernetes-based V3 engine? See docs.convox.com.

NoHaInstanceCount

The number of EC2 instances in your non-High Availability Rack cluster. This parameter is only used when HighAvailability is set to false. For HA Racks, see InstanceCount.

Setting Value
Default value 1
Minimum value 1

Use Cases

  • Running a single-instance development or staging Rack to minimize costs
  • Increasing to 2 or more instances in non-HA Racks that still need some level of workload distribution
  • Scaling up a non-HA Rack to handle higher application loads without switching to full HA mode

Additional Information

When HighAvailability is true, the InstanceCount parameter is used instead and NoHaInstanceCount is ignored.

If Autoscale is enabled, the autoscaler sets this parameter itself based on workload demand and replaces a value you set on its next run. Set Autoscale=No to control the instance count by hand.

Non-HA Racks run with a minimum of 1 instance. While you can increase this value, keep in mind that non-HA mode does not provide the same redundancy guarantees as HA mode. For production workloads that require fault tolerance, consider enabling HighAvailability instead.

$ convox rack params set NoHaInstanceCount=2

See Also