This guide walks through the process of creating an IAM user with full administrative access, setting up AWS CLI and eksctl
on Windows, and creating/deleting an EKS cluster.
- AWS Management Console access with admin privileges
- Windows system with PowerShell or Command Prompt
- Chocolatey Package Manager
-
Go to AWS Management Console → IAM.
-
Navigate to Users → Add users.
-
Enter User name:
atul
. -
Select Access type: ✅ Programmatic access.
-
Click Next: Permissions.
-
Attach AdministratorAccess policy:
- Select Attach existing policies directly
- Search for
AdministratorAccess
- ✅ Check the box
-
Click Next: Tags → Next: Review.
-
Click Create user.
- In IAM Users, click on
atul
. - Go to Security credentials tab.
- Under Access keys, click Create access key.
- Note down the Access Key ID and Secret Access Key securely.
Follow official AWS documentation: 👉 Install AWS CLI v2 on Windows
Quick steps:
-
Download installer: https://awscli.amazonaws.com/AWSCLIV2.msi
-
Run the installer and follow the prompts.
-
Verify installation:
aws --version
Run:
aws configure
When prompted:
- AWS Access Key ID: your-access-key
- AWS Secret Access Key: your-secret-key
- Default region name:
us-east-1
(or your preferred region) - Default output format:
json
Install via Chocolatey:
choco install eksctl
Verify installation:
eksctl version
Run the following command to create an EKS cluster named mycluster
in us-east-1
:
eksctl create cluster --name mycluster --region us-east-1
eksctl create cluster \
--name mycluster \
--region us-east-1 \
--nodegroup-name mynodes \
--node-type t3.micro \
--nodes 2 \
--nodes-min 2 \
--nodes-max 2 \
--managed
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: mycluster
region: us-east-1
nodeGroups:
- name: mynodes
instanceType: t3.small
desiredCapacity: 2
minSize: 2
maxSize: 2
amiFamily: AmazonLinux2
ssh:
allow: true
eksctl create cluster -f cluster-config.yaml
Note: This will take several minutes. It creates:
- EKS control plane
- Managed node group
- Networking resources
EKS - manually
1. search eks
2. create cluster
3. name cluster - mycluster
4. create AmazonEKSAutoClusterRole Role
5. create AmazonEKSAutoNodeRole Role
6. Create node group - mynodegroup
7. min- 2, max- 2, desired - 2 | managed/spot | type- t3.micro
8. open cloud shell
aws eks update-kubeconfig --region us-east-1 --name mycluster
kubectl get nodes
To delete the cluster:
eksctl delete cluster --name mycluster --region us-east-1
Task | Command / Action |
---|---|
Create IAM User | AWS Console → IAM → Users → Add User atul |
Create Access Key | AWS Console → IAM → Users → atul → Security credentials |
Install AWS CLI | AWS CLI v2 Installer |
Configure AWS CLI | aws configure |
Install eksctl via Choco |
choco install eksctl |
Create EKS Cluster | eksctl create cluster --name mycluster --region us-east-1 |
Delete EKS Cluster | eksctl delete cluster --name mycluster --region us-east-1 |
Atul Kamble