AWS Builder Center
From Local Kubernetes to Production: Deploying Your First App on Amazon EKS

From Local Kubernetes to Production: Deploying Your First App on Amazon EKS

A hands-on bridge from local Kubernetes practice to Amazon EKS — covering managed node groups vs Fargate, cluster setup, and the AWS-specific pieces (LB Controller, IRSA, Karpenter) you'll need.

aimlops | devops engineer | aws community builder | open source contributor |

From Local Kubernetes to Production: Deploying Your First App on Amazon EKS

If you've worked through Kubernetes basics on Minikube or kind, you already understand Pods, Deployments, and Services. The next natural question is: how do you run this for real, without managing the control plane yourself? That's exactly what Amazon EKS (Elastic Kubernetes Service) is for. This article walks through what EKS actually manages for you, how it differs from a local cluster, and the steps to get a real application running on it.

What EKS Actually Manages

Running Kubernetes yourself means operating the control plane: the API server, etcd (the cluster's database), the scheduler, and keeping all of it highly available and patched. This is genuinely hard to do well.
EKS removes that burden. AWS runs and manages the control plane for you — patching, scaling, and multi-AZ availability are handled automatically. You're left responsible for:
  • Worker nodes — the machines that run your Pods (EC2 instances, or Fargate for serverless Pods)
  • Your workloads — Deployments, Services, Ingress, and everything you'd define in any Kubernetes cluster
  • Cluster add-ons — networking, DNS, storage drivers, and autoscaling components
The key idea: everything you already learned about Kubernetes objects — Pods, Deployments, Services — works exactly the same on EKS. What changes is how the cluster itself is provisioned and how it integrates with the rest of AWS.

Two Ways to Run Compute on EKS

1. Managed Node Groups (EC2-based)

You choose EC2 instance types, and EKS handles provisioning, joining nodes to the cluster, and rolling updates. You still pay for and size the underlying instances yourself, and you have more control over instance types, GPUs, and OS-level configuration.

2. Fargate (serverless Pods)

With Fargate, there are no EC2 nodes to manage at all — you specify a Pod's CPU and memory needs, and AWS runs it on right-sized compute behind the scenes. This trades some flexibility for zero node management, which is a good fit for teams that don't want to think about instance sizing or patching worker nodes.
Many real clusters mix both: Fargate for simpler, stateless workloads, and managed node groups for anything needing more control (like GPU workloads or DaemonSets, which Fargate doesn't support).

Setting Up Your First EKS Cluster

The most common way to create an EKS cluster is with eksctl, a CLI tool purpose-built for EKS that wraps the underlying CloudFormation complexity:
eksctl create cluster \
--name my-first-cluster \
--region us-east-1 \
--nodegroup-name standard-workers \
--node-type t3.medium \
--nodes 2 \
--nodes-min 1 \
--nodes-max 3

This single command provisions the control plane, a VPC, and a managed node group with autoscaling between 1 and 3 nodes. Once it finishes,  eksctl  automatically configures  kubectl  to talk to your new cluster — from here, every command you already know works identically:
kubectl get nodes
kubectl get pods -A


Deploying an Application

With the cluster ready, deploying looks exactly like it does locally:
apiVersion: apps/v1
kind: Deployment
metadata:
name: hello-app
spec:
replicas: 2
selector:
matchLabels:
app: hello-app
template:
metadata:
labels:
app: hello-app
spec:
containers:
- name: hello-app
image: public.ecr.aws/nginx/nginx:latest
ports:
- containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: hello-app-service
spec:
type: LoadBalancer
selector:
app: hello-app
ports:
- port: 80
targetPort: 80

kubectl apply -f hello-app.yaml
kubectl get service hello-app-service

The one AWS-specific detail worth noticing: setting  type: LoadBalancer  on the Service causes EKS to automatically provision a real AWS Elastic Load Balancer and wire it to your Pods. This is the cloud provider integration doing its job — the same YAML on a local cluster would just create a placeholder with no real external IP.

Where EKS Diverges from a Local Cluster

A few things behave differently once you move from Minikube to EKS, and are worth knowing before you go further:
  • Networking: EKS uses the Amazon VPC CNI plugin by default, which assigns each Pod a real VPC IP address, integrating Kubernetes networking directly with AWS networking and security groups.
  • Load balancing: Use the AWS Load Balancer Controller to get Application Load Balancers for Ingress resources, with support for path-based routing, TLS via ACM, and WAF integration.
  • Storage: Persistent volumes are commonly backed by Amazon EBS (via the EBS CSI driver) or Amazon EFS for shared storage across Pods.
  • Identity: IAM Roles for Service Accounts (IRSA) lets individual Pods assume specific IAM roles, so an app can call S3 or DynamoDB with least-privilege access instead of broad node-level permissions.
  • Autoscaling: Beyond the Horizontal Pod Autoscaler you may already know, Karpenter or the Cluster Autoscaler can automatically add or remove EC2 nodes based on unschedulable Pods.

A Sensible Next-Steps Checklist

If you're moving a real workload onto EKS, this is roughly the order things typically get addressed:
  1. Provision the cluster and node groups (or Fargate profiles)
  1. Deploy the AWS Load Balancer Controller for proper Ingress support
  1. Set up the EBS or EFS CSI driver if your app needs persistent storage
  1. Configure IRSA so Pods can securely access other AWS services
  1. Add cluster autoscaling (Karpenter or Cluster Autoscaler)
  1. Wire up observability — CloudWatch Container Insights, or your own Prometheus/Grafana stack
  1. Move deployments into a GitOps pipeline (e.g., ArgoCD) instead of manual  kubectl apply 

Final Thoughts

The biggest reassurance about EKS is this: nothing you learned about core Kubernetes concepts gets thrown away. Deployments, Services, ConfigMaps, and probes work identically. What EKS adds is the operational layer underneath — a managed control plane, and deep integration with the rest of AWS for networking, storage, identity, and scaling. Once your first Pod is running behind a real load balancer, you've crossed the main gap between "I understand Kubernetes" and "I can run it in production."
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article