-
Notifications
You must be signed in to change notification settings - Fork 0
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
Instructions to automate creation, initialization and deletion of instances #4
Comments
to be continued from 6df8068#comments |
Note that for stopping the instance I include Also as a side note, I found that the default quota is 8 simultaneous IP addresses, so that's the number of VMs you can start at a time. I believe it's easy to increase the quota and also maybe to launch instances without external IPs to get around this. |
I think overall, dynamic allocation, or "delete instance when done" is going to be problematic, considering the need to copy the data to the instance to work with the data, unless they use FileStore, which I don't have experience with, and which apparently is very costly. I don't see how it can be practical without some orchestration layer that will implement granular distribution of data and synchronization back to persistent storage and balancing various sources of costs... I think for now, I will add a note that VMs can be deleted to eliminate the costs associated with VM disk storage, but not go beyond that - it is too advanced topic for me to make suggestions at this point! |
@pieper: In addition to warning people, we could tell them how to fix the problem (delete the instance if you are finished with it).
@fedorov: Is there a way to specify a script that should be run automatically to configure the instance?
@pieper:
Yes: --metadata-from-file startup-script=startup-script.sh
https://cloud.google.com/sdk/gcloud/reference/compute/instances/add-metadata
I'll invite you to a colab notebook where I use it.
The text was updated successfully, but these errors were encountered: