1.9 KiB
title: Creating an EKS Cluster shortTitle: Amazon EKS weight: 2110 aliases: - /rancher/v2.x/en/tasks/clusters/creating-a-cluster/create-cluster-eks/_index.md
Objectives
-
Create an account with appropriate permissions
Create (or give an existing) user appropriate permissions to create an EKS cluster.
-
Create an access key and secret key
Create an access key and secret key to access Amazon Web Services (AWS) resources from Rancher.
-
Using the AWS account, create your Amazon Elastic Container Service for Kubernetes (EKS) cluster in Rancher.
Give Appropriate Permissions
Make sure that the account you will be using to create the EKS cluster has the appropriate permissions. Referring to the official EKS documentation for details.
Create Access Key and Secret Key
Use AWS to create an access key and client secret.
-
In the AWS Console, go to the IAM service.
-
Select Users.
-
Find the user you wish to create the EKS cluster with. Select the user.
-
Click Security Credentials.
-
Click Create access key.
-
Record the Access key ID and Secret access key. You will need to use these in Rancher to create your EKS cluster.
Create the EKS Cluster
Use {{< product >}} to set up and configure your Kubernetes cluster.
-
From the Clusters page, click Add Cluster.
-
Choose Amazon EKS.
-
Enter a Cluster Name.
-
{{< step_create-cluster_member-roles >}}
-
Enter your Access Key.
-
Enter your Secret Key
-
Click Next: Authenticate & configure nodes.
-
Specify any additional options (such as instance type or minimum and maximum number of nodes). Then click Create.
{{< result_create-cluster >}}