Enabling SSL Policies for EKS Cluster without Loadbalancer


Suppose an 'EKS Cluster' was created, and if no loadbalancers exists, is there any way to associate the 'SSL Policies' without loadbalancer

1 Answer

Yes, it is possible to associate SSL policies with an Amazon Elastic Kubernetes Service (EKS) cluster without using a load balancer. One way to do this is by using a Kubernetes ingress resource, which allows you to configure rules for routing incoming traffic to different services within your cluster.

Here is a general overview of the process:

Create an SSL certificate for your domain using AWS Certificate Manager (ACM) or another certificate provider.

Create a Kubernetes Secret that contains the SSL certificate and private key. This can be done using the Kubernetes command line tool kubectl.

Create a Kubernetes Ingress resource that references the secret and routes incoming traffic to the appropriate service within your cluster.

Add an annotation to the Ingress resource to configure the SSL policy that you want to use.

Deploy the Ingress resource to your EKS cluster.

Please note that this is a high-level overview and you would need to do more research on how to set up and configure each of these services. And also you might need to check if your applications are compatible with this approach.

profile picture
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions