# Keycloak deployment on EKS using kubectl

**URL:** <https://forum.keycloak.org/t/keycloak-deployment-on-eks-using-kubectl/19622>\
**Category:** Miscellanaeous\
**Created:** [January 16, 2023, 11:06am UTC](https://forum.keycloak.org/t/keycloak-deployment-on-eks-using-kubectl/19622 "2023-01-16T11:06:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kunal](https://avatars.discourse-cdn.com/v4/letter/k/dec6dc/32.png) [@Kunal](https://forum.keycloak.org/u/Kunal)\
**Post date:** [January 16, 2023, 11:06am UTC](https://forum.keycloak.org/t/keycloak-deployment-on-eks-using-kubectl/19622/1 "2023-01-16T11:06:37Z")

</div>

I am in the process of deploying keycloak on the AWS EKS cluster.

Referred below link to EKS Cluster deployment.

> **[Amazon EKS Clusters Setup – Step by Step Instructions](https://dev.to/aws-builders/amazon-eks-clusters-setup-step-by-step-instructions-2gp)**
>
> A production-quality Kubernetes cluster requires planning and preparation. If your Kubernetes cluster...

Able to deploy Nginx sample application successfully. But when doing the same for keycloak application is not running on HTTP port 80.

Command -  
kubectl create deployment keycloak-app --image=jboss/keycloak --port=80 --replicas=1  
kubectl expose keycloak-app --port=80 --type=LoadBalancer

everything is showing in running, pod, deployment etc  
pod/keycloak-app-7cb59d744-s9r5m 1/1 Running 0 40m  
deployment.apps/keycloak-app 1/1 1 1 40m  
replicaset.apps/keycloak-app-7cb59d744 1 1 1 40m

Everything shows running but, on the application it giving an error on browser  
**didn’t send any data.**

What is the best way to deploy Keycloak on the AWS EKS cluster?

Thanks!
