Katonic can natively run using an EKS cluster hosted on your own AWS account and an EKS cluster can also be used to run all your Katonic job. This allows you to leverage Katonic and Kubernetes to create one flexible compute and DS environment.
In this guide, you will learn how to:
- Create a EKS cluster using eksctl and the AWS CLI
Before you can complete the installation, you must install and prepare the following dependencies on your local machine:
NOTE You can skip this step if you have already logged in to the AWS CLI. :::
To connect with your AWS account, use the AWS configure command:
We will use eksctl to create the cluster in AWS. To use eksctl, you will need to create a YAML file that provides the necessary configuration for the cluster.
In the file, you must set:
- name: the name for the cluster you will create
- region: the name of the Amazon region you want to create the cluster in.
The rest of the configuration is already set within the file to the default recommended values for running Katonic. However, excluding the lines commented as Required., you can edit the rest of the configuration to your needs. For example, you could add new node pools or change the instance types for the node pools. You could also change the lower and upper bounds of the node pools.
Copy the following text into a new file called cluster.yaml and then edit it accordingly:
To create the cluster based on your prepared cluster.yaml file use the following command:
Congratulations, you have now set up a working EKS cluster in AWS!