(v2.2.0.0) Creating Amazon EKS (Elastic Kubernetes Service) Cluster
This is a guide for how to create an EKS cluster using the AWS Management Console. If you have an existing one that meets the requirements, please skip to the next section.
Prerequisites
Before you begin, make sure you have:
An AWS account with appropriate permissions to create EKS clusters, manage IAM roles, and create EC2 instances.
Familiarity with basic Kubernetes concepts.
Step-by-Step Guide
Step 1: Open EKS Service
Log in to your AWS Management Console.
Navigate to the EKS service by typing "EKS" in the search bar or finding it under “Services”.
Step 2: Create EKS Cluster
Click on Clusters in the left sidebar, then click on the Create cluster button.
Step 3: Configure Cluster
Name your cluster: Enter a unique name for your Kubernetes cluster.
Kubernetes version: Select the version of Kubernetes you want to use. AWS typically supports the last three stable versions.
Cluster Service Role: Select an existing IAM role or create a new role. This role provides Kubernetes permissions to make AWS API calls on your behalf.
If you need to create a new role, navigate to the IAM console in another tab, create a role with the
AmazonEKSClusterPolicy
, and then return to select this new role.
Step 4: Configure Networking
VPC: Select a VPC that has at least two subnets in different Availability Zones for high availability. You can use the default VPC or create a new one.
Subnets: Choose the subnets into which your cluster should be deployed.
Cluster endpoint access: Configure public and private access to your Kubernetes API server.
Step 5: Configure Logging
Logging: Enable or disable logging for your cluster components. You can select which logs (API, audit, authenticator, controllerManager, scheduler) to send to CloudWatch.
Step 6: Review and Create
Review all your settings. Make sure everything is configured as you desire.
Click on Create to start the process of EKS cluster creation.