libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ldipenti <>
Subject [GitHub] libcloud pull request #1207: Support for AWS EC2 Spot Instances
Date Tue, 01 May 2018 16:22:17 GMT
GitHub user ldipenti opened a pull request:

    Support for AWS EC2 Spot Instances

    ## Basic support for EC2 Spot Instances
    ### Description
    Spot instances on AWS are a way to get cheaper nodes taking advantage of Amazon's over
capacity. The downside of using this kind of instances is that whenever AWS need the allocated
spot instances to deliver normal (on-demand) ones (at full price), it will shutdown them after
a 2 minute period, so this has to be taken into account when designing systems so they can
recover correctly.
    Recently, AWS was updated so that requesting Spot instances is easier than ever, the client
just to add a couple of parameters to the usual RunInstances call, immediately getting an
instance id from the API that can be treated as a normal Node.
    For testing purposes I added a new example script that creates t2.micro spot instances.
    ### Status
    - done, ready for review
    ### Checklist (tick everything that applies)
    - [ ] [Code linting](
(required, can be done after the PR checks)
    - [X] Documentation
    - [ ] [Tests](
    - [X] [ICLA](
(required for bigger changes)

You can merge this pull request into a Git repository by running:

    $ git pull ec2-spot-market

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1207
commit f34432eda0b4bb36f8b2234befaedf144d7d7a12
Author: Lucas Di Pentima <ldipentima@...>
Date:   2018-05-01T14:07:33Z

    Support for AWS EC2 Spot Instances



View raw message