AWS Kubernetes Cluster

Introduction

In this article we're going to take a look at how you can create an Amazon Web Services (AWS) Kubernetes cluster and how you can connect the cluster to Bunnyshell.

First, we will explore how to create the cluster:

Once you have an AWS Kubernetes cluster available, we will explore how to connect it with Bunnyshell:

 

Connect an AWS Kubernetes cluster to Bunnyshell

Bunnyshell makes it easy to connect an AWS EKS cluster to your Organization, deploy your applications on it, and manage environments.

Prerequisites for Connecting to the Cluster

📘

Please see how to create an AWS Cluster if you do not have an existing cluster.

How to connect the cluster

  1. Go to the Bunnyshell platform and click Integrations on the left-side menu.
1362
  1. Click Kubernetes clusters on the left side of the main interface.

  2. Click Connect cluster.

1361
  1. Select Amazon Web Services.
1361
  1. A new window should pop-up now. When establishing the connection, Bunnyshell will ask for the following:
1361
  • Cluster name: Choose what name your cluster will have in Bunnyshell.

  • AWS Cluster name:

    • You can find it in the kubeconfig file, in clusters.[...].cluster.name.
    • In the AWS Console, it can be found in the title of the AWS page.
  • Cluster URL:

    • You can find it in the kubeconfig file, in clusters.[...].cluster.server.
    • In the AWS Console, it corresponds to the API server endpoint from AWS.
  • Certificate:

    • You can find it in the kubeconfig file, in clusters.[...].cluster.certificate-authority-data.
    • In the AWS Console, it corresponds to the Certificate authority field from AWS.
  • Access Key ID and Secret Access Key: These two credentials are needed to programmatically obtain a token for cluster access.

    • These can be found in the ~/.aws/credentials file after you have ran the aws configure command.