Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

F5 in Google Cloud on SPOT VM

gergovadaszsap
Altostratus
Altostratus

Hi All,
I'm using this template to create one F5 VE in Google Cloud.
https://github.com/F5Networks/f5-google-gdm-templates/tree/main/supported/standalone/1nic/existing-s...

It works well, just since this is for myself, doing some labs and study, I would need to deploy the VM with the provisioning model=SPOT setting, in order to save some costs.
I tried to research, edit the yaml file or even the python file, but no luck, it always gets deployed as a Standard VM instead of SPOT.

I tried the followings:
- added provisioningModel: SPOT to the yaml file
- added 
'provisioningModel': 'SPOT' to the py file
- tried to execute the gcloud deployment command with the additional --provisioning-model=SPOT 

No luck with any of these, can you suggest how to deploy a minimalist F5 LTM VE in Google Cloud as SPOT VM? Thank you.

1 ACCEPTED SOLUTION

gergovadaszsap
Altostratus
Altostratus

I solved my own problem 🙂 I changed the original F5 template, so now it is able to create Spot VM if needed.
Changes are in the yaml and the py file as well.
https://github.com/vadaszgergo/f5-google-gdm-templates/tree/main/supported/standalone/1nic/existing-...

View solution in original post

2 REPLIES 2

gergovadaszsap
Altostratus
Altostratus

I solved my own problem 🙂 I changed the original F5 template, so now it is able to create Spot VM if needed.
Changes are in the yaml and the py file as well.
https://github.com/vadaszgergo/f5-google-gdm-templates/tree/main/supported/standalone/1nic/existing-...

Leslie_Hubertus
Community Manager
Community Manager

@gergovadaszsap - glad you figured it out and shared how to do it. Thanks for sharing it!