Spot instance Strategies - AWS techies

50 %
50 %
Information about Spot instance Strategies - AWS techies
Technology

Published on February 22, 2014

Author: Flux7Labs

Source: slideshare.net

Let’s discuss Spot Instances Spot Strategies

WHO AM I? Aater Suleman Part-time UT Professor Geek, Architect, Developer, Ops, DevOps … Co-founder & CEO Flux7 Labs ○ DevOps Solutions ■ ■ Deployments Cost/performance optimized large scale website (Ruby on rails, node.js, Django) and Hadoop deployments

Spot Instances Consumer chooses a maximum bid AWS charges market price @ start of the hour Can get terminated at any time

Spot Strategy Checklist Spot terminations Spot outages Launch failures Optimized price = min(spot price, on-demand price) Ability to auto-scale

Similarities with Auto-scaling Stateless instances Apps can tolerate momentary dip in capacity Apps can tolerate instance “swapping” Launch failures

Differences from auto-scaling? No programmable cooldown period

AppNeta’s (http://www.appneta.com/blog/aws-spot-instances/) Two ASGs (spot and main) SNS notifications on Spot ASGs Outside daemon: ○ Spot instance termination ⇒ on-demand instance

Analysis Spot terminations Spot outages Launch failures Optimized price Ability to auto-scale

Sanket’s Algorithm Two ASGs (spot and on-demand) ● Setup thresholds as follows: ASG: On-demand ASG: Spot Scale up: CPU > 75% Scale up: CPU > 60% Scale down: CPU < 55% Scale down: CPU < 45%

Analysis Spot terminations Spot outages Launch failures Optimized price Ability to auto-scale

Flux7 v1.0 Our own auto-scaling solution that allows hybrid spot and on-demand Step Up: If spot price < on-demand, launch spot Spot Launch failure: Launch on-demand Step Down: If on-demand is available, terminate it End of hour: Treat like Step Up

Analysis Spot terminations Spot outages Launch failures Optimized price Ability to auto-scale (in-house ASG)

Thank You

Add a comment

Related presentations

Related pages

Bidding strategies? Arbitrage? AWS spot market is where ...

Bidding strategies? Arbitrage? AWS spot market is ... to show their Spot Instance pricing strategies, ... mysterious beast that is AWS Spot Instances.
Read more

Amazon EC2 Spot Instances - Amazon Web Services (AWS ...

Amazon EC2 Spot instances allow you to bid on spare Amazon EC2 computing capacity. ... AWS Official Blog: Amazon EC2 Spot Fleet API: Jan 15: What's New: ...
Read more

Spot Instances - AWS Documentation

Learn how to lower your Amazon EC2 costs using Spot instances. ... strategy is to launch Spot instances with a ... EC2 Spot Request Management. AWS SDK ...
Read more

What is AWS Spot Instance? - Definition from WhatIs.com

AWS Spot Instance is a purchasing option ... Continue Reading About AWS Spot Instance Developers use AWS spot ... Digital business strategy ...
Read more

AMAZING: An Optimal Bidding Strategy for Amazon EC2 Cloud ...

AMAZING: An Optimal Bidding Strategy for Amazon EC2 Cloud Spot Instance ... Amazon EC2 Spot Instances. http://aws.amazon.com/ec2/#instance. [2] ...
Read more

Spot Instance Pricing in Amazon EMR - Amazon Elastic MapReduce

Logging Amazon Elastic MapReduce API Calls in AWS CloudTrail Monitor Performance with Ganglia; ... in a cluster running entirely on Spot Instances, ...
Read more

An Introduction to Spot Instances - Amazon Web Services

An Introduction to Spot Instances ... Spot Instances: ... DescribeSpotInstanceRequests API or view the status of your instance using the AWS Management ...
Read more

Amazon Web Services AWS – Server Hosting & Cloud Services

Amazon Web Services stellt ein. Amazon Web Services (AWS) ist ein dynamischer, wachsender Geschäftsbereich von Amazon.com. Wir stellen derzeit u. a. ein ...
Read more