Vaibhav Singh

Blog - vaibhavsingh.com

Changing GCP instance type

To increase hardware resources for our learning lab deployed in previous post, we would stop the instance and modify the type.

For my learning lab, suppose I’d need 2 vCPU, ~12GB RAM and about 20 or 30GB HDD. So let’s compare costs for various combinations available to us. Read [link] for more on various machine types.

The instance will likely run 3 hours per session on an average of 3 days per week in Iowa or Oregon region.

Cost calculation

I made few comparisons using the pricing calculator.

SNClassFamilySeriesTypevCPUMemINR
01RegularGeneralN1Custom213346
02N2216384
03E2216265
04E2e2-standard-4416374
Cost calculation

That’s pretty reasonable than I first imagined. I thought I’d start with SN-03 first for a week, if it’s inadequate I’ll switch to SN-04. Then I read this –

Caution: E2 machine types do not support GPUs, local SSDs, sole-tenant nodes, or nested virtualization. [link]

Conclusion

Nested virtualization is a must have feature for our learning lab. Therefore, we must go with SN-01 at first and switch to SN-03 as needed.

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top