Spot instance virtual meetup #2

67 %
33 %
Information about Spot instance virtual meetup #2
Technology

Published on March 13, 2014

Author: Flux7Labs

Source: slideshare.net

Description

Virtual Meetup on Spot Strategies.

Spot Instance Meetup #2 Spot Strategies

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 Scale up: CPU > 75% Scale down: CPU < 55% ASG: Spot Scale up: CPU > 60% 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

Flux7 Labs Spot Virtual Meetup

Blog. DevOps & Cloud Computing Hub. Flux7 Labs Spot Virtual Meetup
Read more

Blog | Flux7 | Spot Instances

Spot Instances | Flux7 blogs about ... Flux7 Labs Spot Virtual Meetup. ... Flux7 Talks Building a Learning Lab Solution at Austin Docker Meetup;
Read more

Modernizing Your AWS Architecture - Meetup

• Available in AWS M3, CC2, CR1, G2 instance types ... New M3 instance sizes with 1, 2 vCPUs ... On Demand or with Reserved Instances, not available in Spot
Read more

Find your people - Meetup

Find Meetups and meet people in your local community who share your interests. ... 2 miles 5 miles 10 miles ... The Cheers Boardgames Meetup Group ...
Read more

AWS | Amazon Elastic Compute Cloud (EC2) - Scalable Cloud ...

Your compute instances are located in a Virtual Private Cloud (VPC) ... Spot Instances can significantly lower your Amazon EC2 costs. Easy to Start .
Read more

Spot Instances - Amazon Elastic Compute Cloud

... Launch an Instance; Step 2: Connect to Your Instance; ... Export Your VM from Its Virtual Environment; ... Spot instance request (or Spot bid) ...
Read more

How Spot Instances Work - Amazon Elastic Compute Cloud

Learn how Spot instances work. ... Export Your VM from Its Virtual ... If you bid $2.00, the Spot instance for bid 3 would be interrupted and ...
Read more