In this tutorial, you’ll learn how to optimally run your Kubernetes cluster on AWS spot instances.
Spot instances allow cloud customers to purchase compute capacity at a significantly lower cost than on-demand or reserved instances. To learn more about spot instances, read this article.
Containerized appliances in general, and Kubernetes services, in particular, are fault tolerant by nature making them ideal candidates for spot instances. With spot instances, you can achieve substantial cost savings—up to 90%.
Ocean, a managed infrastructure service for containers from Spot by NetApp, lets users run Kubernetes clusters on spot instances without having to manage the underlying servers. With Ocean, there is no need to provision or scale instances, and there’s no need to worry about bin packing containers on them in an optimized way. Ocean takes care of all of that for you.
Follow the instructions below to run your Kubernetes cluster on spot instances. You can connect to any type of managed or unmanaged Kubernetes cluster to Ocean.
Ocean fetches all the metadata from your current workers, and displays the configurations on the compute page.
All possible machine types and sizes are selected automatically by Ocean to optimize your cluster, but you can delist instance families and limit the size of them should you need to make adjustments.
Ocean manages your container infrastructure via one small operator inside your cluster. The connection allows Ocean to see the status of the cluster, its resources and communicate with your control plane.
On the connectivity page, install the Spot Kubernetes controller.
Once this deployment is complete, you’re ready to optimize and orchestrate your cluster with Ocean:
Migrate your Workloads to Ocean, and de facto replace any on-demand instances previously existing in the cluster with spot instances managed by Ocean.
From container-driven auto scaling to right sizing, Ocean offers many powerful features to handle the day-to-day management of your Kubernetes infrastructure. To learn more, read our technical overview of Ocean.
for up to 20 instances