AWS Instance Types

Rack instance and build instance types

You can specify your Rack’s instance type and build instance type via the InstanceType and BuildInstance Rack parameters.

Reserved Instances

Amazon EC2 Reserved Instances can provide a significant discount (up to 75%) compared to On-Demand pricing in exchange for partial or full pre-payment for an extended period of time.

You can take advantage of Reserved Instances with Convox as long as the Instance Type, Tenancy, and Availability Zones of the reservations match what you’re using in your Convox configuration. You should choose “Linux/UNIX” as the Platform. If your Reserved Instances meet those requirements, no additional configuration is required.

Availability Zones: Convox automatically spreads your instances across the AZs of the region where it is installed. Reserved Instances must be evenly distributed across Availability Zones in order for Convox to take advantage of them. Therefore, we recommend not specifying an AZ when purchasing Reserved Instances.

For instructions, see How to Purchase Reserved Instances in the AWS documentation.

Spot Instances

You can utilize Spot Instances to greatly reduce the cost of a cluster.

$ convox rack params set AutoScale=No
$ convox rack params set InstanceType=m3.medium InstanceCount=6 OnDemandMinCount=3
$ convox rack params set SpotInstanceBid=0.10

To disable spot instances, say to quickly return to using all on demand instances because spots are not available, remove the SpotInstanceBid value:

$ convox rack params set SpotInstanceBid=