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

Use spot instances to reduce transfer costs #513

Merged
merged 4 commits into from
Sep 9, 2022
Merged

Use spot instances to reduce transfer costs #513

merged 4 commits into from
Sep 9, 2022

Conversation

parasj
Copy link
Contributor

@parasj parasj commented Sep 4, 2022

Fixes #511

Problem: Skyplane VMs tend to be left running for extended periods in the case where there is an exception in the CLI. Although egress fees dominate the cost of transfers, VM costs remain significant. To improve cost-effectiveness of Skyplane, we introduce a new option to control scheduling on spot instances.

Implementation stages:

  • (done) Provisioning spot VMs: in {aws, azure, gcp}_cloud_provider.py, we expose a use_spot_instances flag
  • (done) Exposing spot instances in the CLI: we add additional configuration options to enable spot instances
  • (todo) Document new flags in the documentation under a "cost optimization" section
  • (todo) NEEDS DESIGN, recovering when spot VMs die: TODO

@parasj parasj marked this pull request as ready for review September 9, 2022 06:16
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.

[request] Provision spot instances for Skyplane VMs
1 participant