If you are new to Amazon EC2, first get set up with Amazon EC2.
Your instance type requirements, budget requirements, and application design will determine how to apply the best practices for your application. Here are a few recommended best practices; to learn more, visit our blog.
- Be flexible about instance types. Test your application on different instance types when possible. Because prices fluctuate independently for each instance type in an Availability Zone, you can often get more compute capacity for the same price when you have instance type flexibility. Bid on all instance types that meet your requirements to further reduce costs and improve application performance. Spot fleets enable you to bid on multiple instance types simultaneously.
- Choose pools where price trends are favorable. Because prices fluctuate based on demand, popular instance types (such as recently launched instance families), tend to have more volatile Spot pricing. Therefore, picking older generation instance types which are less popular, tend to result in lower costs and fewer interruptions. Similarly, the same instance type in different Availability Zones can have different prices.
- Select bid prices that fit your requirements. Typically, bidding at or around the On-Demand Instance price is a good starting point. Bidding lower can further reduce costs, while bidding higher can reduce the probability of interruption.
Video Tutorial: Common Spot Use Cases
In this video, we will walk through example spot instance use cases. As a part of this video, we will cover several customer examples including Numerate, Clarity Solutions, Ooyala, and BrowserMob and how they leverage Spot instances in their architectures.
Guide: Getting Started with Spot Instances
For a more detailed walk through of using Spot instances and more information on how to get the most out of Spot instances, please read this guide.