Skip to content

Create Kubernetes cluster on Amazon Elastic Kubernetes Service (EKS)

Prerequisites

Before creating an EKS cluster, make sure to:

  1. Install the AWS Command Line Interface (AWS CLI) for interacting with the different parts of AWS.

  2. Install eksctl to simplify cluster creation on EKS.

  3. Install kubectl to manage and deploy applications on Kubernetes.

  4. Configure AWS CLI with your credentials.

Create the EKS cluster

Important

To run a 3-node pxc cluster, you will need at least a 3-node cluster with 2vCPUs available. The database will not be created if you attempt to create a database cluster in a Kubernetes cluster without sufficient resources.

To create the EKS cluster, do the following steps:

  1. Settled the required cluster details:

    • name of your EKS cluster
    • AWS region in which you wish to deploy your cluster
    • the number of nodes you would like to have
    • the desired ratio between on-demand and spot instances in the total number of nodes.

    Note

    spot instances are not recommended for production environment but may be useful for testing purposes.

  2. Create your EKS cluster following the official cluster creation instructions.

  3. Install the Amazon EBS CSI driver on your cluster. See the official documentation on adding it as an Amazon EKS add-on.

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.