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

Add support for spot instances #397

Closed
frival opened this issue Jan 15, 2021 · 1 comment · Fixed by #559
Closed

Add support for spot instances #397

frival opened this issue Jan 15, 2021 · 1 comment · Fixed by #559
Labels
has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments

Comments

@frival
Copy link

frival commented Jan 15, 2021

SUMMARY

Add support for creating spot instances in AWS and would like to be able to do the same in Azure rather than having to spin up only full-price instances. In the CLI this is done by adding a "--priority spot" to the VM instance creation command. See: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/spot-cli

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

azure_rm_virtualmachine

ADDITIONAL INFORMATION

For instances that are (relatively) short-lived and/or have workloads that can be easily restarted on a new instance using spot instances is a way to reduce overall cloud spend. In my group we use this for running benchmarks that can be restarted but there are many other possible use cases.

@ElPrincidente
Copy link
Contributor

I also needed this feature so I've submitted a PR that supports Spot instance for both VM and VMSS. Waiting for review.

@Fred-sun Fred-sun added has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments labels Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants