Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aws spot ondemand fallback #915

Closed

Conversation

mrdavidlaing
Copy link
Contributor

This PR is a WIP, and should only be considered for merging after #888


Occasionally the AWS spot price will spike for a number of hours, causing the resurrection of BOSH deployed spot jobs to fail.

The PR implements a simple but effective way to favor uptime over cost savings - have BOSH "fallback" to creating a regular on-demand instance when spot creation failed AND the spot_ondemand_fallback manifest property is set to true.

This enables resurrection to succeed during the spot price spike. At the end of the spot price spike, the operator can manually terminate the on-demand nodes, and the BOSH's will resurrect them as spot instances again.

screen shot 2015-08-10 at 12 20 43

@cfdreddbot
Copy link

Hey mrdavidlaing!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA.

@calebamiles
Copy link
Contributor

Closing this PR, content merged in cloudfoundry-incubator/bosh-aws-cpi-release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants