So if you do get it wrong, it is easy to change the VM instance to a different configuration.įor disk size 30GB is a reasonable size. The great thing about Google is that it will give you recommendations if the machine type or memory needs to be higher based on your past usage. Google gives you an estimate of the monthly costs at the top right corner. As with many things, experiment and trial different configurations to see what works for you. But since I am a hobbyist and not a mission critical developer, that is an acceptable trade-off for me. I have on occasion, froze the machine if I am running a heavy load of applications. From personal experience, e2-medium works great for developer type of applications like VS Code and running web servers in the background. As a hobbist, I will try to get away with the lowest cost machine I can, so e2-medium is the machine type for me. However, this choice also comes with a higher cost. If you go with Ubuntu's recommendations, E2-standard-2 (2 vCPU, 8GB RAM) would be the machine type for you. If you go to the official Ubuntu website, you are presented with the following page of requirements. ![]() The smallest configurations are shown in the table below. There are various options to choose from each with a different price. This will work well for a small Ubuntu Desktop deployment. See Google Cloud Machine Types (opens new window) for a complete descriptions of the different machine types and a comparison table to help you choose the VM Instance that is right for you.įor this setup, we will go with the general-purpose machine type E2. This family is the best option for workloads that require GPUs. GPU: ideal for massively parallelized Compute Unified Device Architecture (CUDA) compute workloads, such as machine learning (ML) and high performance computing (HPC). Memory-optimized: ideal for memory-intensive workloads, offering more memory per core than other machine families, with up to 12 TB of memory. General-purpose: best price-performance ratio for a variety of workloads.Ĭompute-optimized: highest performance per core on Compute Engine and optimized for compute-intensive workloads. ![]() Starting with machine types, Google Cloud offers four options, as noted in the Google website: Now you are presented with a menu of options with the ability to choose different types of machines, memory, and operating systems. The region and zone is permanent and cannot be changed once the VM Instance is created. The zone is arbitrary, go with the Google selected default. Even if you are located in Europe, you still will get acceptable response times if you choose a US location. The cheapest operating costs are locations in the United States. However, if you are running things as a hobby, response times are secondary to cost. A good link to check the response times near you based on your GCP ping (opens new window). Conventional wisdom states that you should pick one that is close to where your users are to minimize response times. Remember that the name is permanent and cannot be changed once created.Įvery VM Instance is tied to a region and a zone. Type in a name for your instance under Name. Menu > Compute Engine > VM instances > Create Instance
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |