{"id":9173,"date":"2022-07-06T10:35:27","date_gmt":"2022-07-06T03:35:27","guid":{"rendered":"https:\/\/gcloudvn.com\/?p=9173"},"modified":"2023-03-23T09:10:09","modified_gmt":"2023-03-23T02:10:09","slug":"google-cloud-spot-vms","status":"publish","type":"post","link":"https:\/\/gcloudvn.com\/en\/kienthuc\/google-cloud-spot-vms\/","title":{"rendered":"Run your fault-tolerant workloads cost-effectively with Google Cloud Spot VMs, now GA"},"content":{"rendered":"<p style=\"text-align: justify;\">Available in GA today, you can now begin deploying Spot VMs (<span style=\"font-weight: 600;\">Google Cloud Spot VMs<\/span>) in the above projects <a href=\"https:\/\/gcloudvn.com\/en\/google-cloud-platform\/\">GCP<\/a> so you can save now.<\/p>\n<p style=\"text-align: justify;\">Modern applications such as microservices, containerized workloads, and horizontal scalable applications are engineered to persist even when the underlying machine does not. This architecture allows you to leverage Spot VMs to access capacity and run applications at a low price. You will save 60 - 91% off the price of our on-demand VMs with Spot VMs.<\/p>\n<p style=\"text-align: justify;\">To make it even easier to utilize Spot VMs, we\u2019ve incorporated Spot VM support in a variety of tools.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/google-cloud-spot-vms\/#Google_Kubernetes_Engine_GKE\" >Google Kubernetes Engine (GKE)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/google-cloud-spot-vms\/#GKE_Autopilot_Spot_Pods\" >GKE Autopilot Spot Pods<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/google-cloud-spot-vms\/#Terraform\" >Terraform<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/gcloudvn.com\/en\/kienthuc\/google-cloud-spot-vms\/#Slurm\" >Slurm<\/a><\/li><\/ul><\/nav><\/div>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Google_Kubernetes_Engine_GKE\"><\/span>Google Kubernetes Engine (GKE)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Containerized applications are often a good choice for Spot VMs because they are often stateless and fault tolerant. <a href=\"https:\/\/gcloudvn.com\/en\/google-kubernetes-engine-gke\/\">GKE<\/a> provides container orchestration solutions. Now, with support for Spot VM, you can use GKE and manage Spot VMs for even greater savings. For GKE clusters version 1.20 and later, kubelet&#039;s secure node shutdown feature is enabled by default, allowing kubelet to receive priority notifications, securely shutdown pods on nodes, and restart Spot VMs , and rearrange the pods. In this roll out, Support for Spot VMs in GKE is currently in GA<\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"GKE_Autopilot_Spot_Pods\"><\/span>GKE Autopilot Spot Pods<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Kubernetes is a powerful and highly configurable system. However, not everyone needs that much control and choice. GKE Autopilot provides a new mode of using GKE which automatically applies industry best practices to help minimize the burden of node management operations. When using GKE Autopilot, your compute capacity is automatically adjusted and optimized based on your workload needs. To take your efficiency to the next level, mix in Spot Pods to drastically reduce the cost of your nodes. GKE Autopilot gracefully handles preemption events by redirecting requests away from nodes with preempted Spot Pods and manages autoscaling and scheduling to ensure new replacement nodes are created to maintain sufficient resources.<\/p>\n<p style=\"text-align: justify;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9183\" src=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2022\/07\/1_IOxrHiHQtDDF6zWkzBTTyg-1024x641.png\" alt=\"Google Cloud Spot VMs support fault-tolerant workloads at a fraction of the cost\" width=\"600\" height=\"376\" srcset=\"https:\/\/gcloudvn.com\/wp-content\/uploads\/2022\/07\/1_IOxrHiHQtDDF6zWkzBTTyg-1024x641.png 1024w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2022\/07\/1_IOxrHiHQtDDF6zWkzBTTyg-300x188.png 300w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2022\/07\/1_IOxrHiHQtDDF6zWkzBTTyg-768x481.png 768w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2022\/07\/1_IOxrHiHQtDDF6zWkzBTTyg-18x12.png 18w, https:\/\/gcloudvn.com\/wp-content\/uploads\/2022\/07\/1_IOxrHiHQtDDF6zWkzBTTyg.png 1200w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>Spot Pods for GKE Autopilot is now GA, and you can learn more through the GKE Autopilot and Spot Pods documentation.<\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Terraform\"><\/span>Terraform<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Terraform makes managing infrastructure as code easy, and Spot VM support is now available for Terraform on Google Cloud. Using Terraform templates to define your entire environment, including networking, disks, and service accounts to use with Spot VMs, makes continuous spin-up and tear down of deployments a convenient, repeatable process. Terraform is especially important when working with Spot VMs as the resources should be treated as ephemeral.<\/p>\n<p style=\"text-align: justify;\">Terraform works even better in conjunction with GKE to define and manage a node pool separately from the cluster control plane. This combination gives you the best of both worlds by using Terraform to set up your compute resources while allowing GKE to handle autoscaling and autohealing to make sure you have sufficient VMs after preemptions.<\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Slurm\"><\/span>Slurm<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Slurm is one of the leading open source HPC job managers used in TOP 500 supercomputers around the world. Over the past five years, Google has worked with SchedMD, the company behind Slurm, to release increasingly improved versions of Slurm on Google Cloud. SchedMD recently released the latest Slurm for Google Cloud, available through the Google Cloud Marketplace and SchedMD&#039;s GitHub repository. This latest version of Slurm for Google Cloud includes support for Spot VMs via the Bulk API. You can read more about the release in the Google Cloud blog post. <em>Link: <a href=\"https:\/\/cloud.google.com\/blog\/products\/compute\/introducing-the-latest-slurm-on-google-cloud-scripts\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/cloud.google.com\/blog\/products\/compute\/introducing-the-latest-slurm-on-google-cloud-scripts<\/a><\/em><\/p>\n<p>Above is important information about <strong>Google Cloud Spot VMs<\/strong>. <span style=\"font-weight: 400;\">If your business is interested in the Google Cloud platform, you can connect with Gimasys - Google&#039;s senior partner in Vietnam to get advice on solutions according to your business&#039;s unique needs.<\/span><span style=\"font-weight: 400;\"> Contact now:<\/span><\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Gimasys \u2013 Google Cloud Premier Partner<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Hotline: <\/b><span style=\"font-weight: 400;\">Hanoi: <\/span><span style=\"font-weight: 400;\">0987 682 505<\/span><span style=\"font-weight: 400;\"> - Ho Chi Minh: <\/span><span style=\"font-weight: 400;\">0974 417 099<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Email: <\/b>gcp@gimasys.com<\/li>\n<li aria-level=\"1\"><strong>Sign up for a trial<\/strong>: <strong><span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/gcloudvn.com\/en\/dang-ky-dung-thu\/\" rel=\"nofollow\">Here<\/a><\/span><\/strong><\/li>\n<\/ul>\n<p style=\"text-align: right;\"><strong>Source: Gimasys<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>B\u1eaft \u0111\u1ea7u v\u00e0o giai \u0111o\u1ea1n GA t\u1eeb h\u00f4m nay, kh\u00e1ch h\u00e0ng c\u00f3 th\u1ec3 tri\u1ec3n khai c\u00e1c M\u00e1y \u1ea3o \u0110i\u1ec3m (Google Cloud Spot VMs) trong c\u00e1c d\u1ef1 \u00e1n tr\u00ean GCP \u0111\u1ec3 c\u00f3 th\u1ec3 ti\u1ebft ki\u1ec7m ngay t\u1eeb b\u00e2y gi\u1edd. C\u00e1c \u1ee9ng&hellip;<\/p>","protected":false},"author":2,"featured_media":9189,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1,135],"tags":[],"class_list":["post-9173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kienthuc","category-google-cloud-platform","entry","has-media"],"_links":{"self":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/9173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/comments?post=9173"}],"version-history":[{"count":0,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/posts\/9173\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media\/9189"}],"wp:attachment":[{"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/media?parent=9173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/categories?post=9173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcloudvn.com\/en\/wp-json\/wp\/v2\/tags?post=9173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}