Open edX on AWS EKS

Hello everyone!
I’m new here. I’m starting my journey on deploying tutor on the AWS cloud and I started by following this article
but I’m stuck at the step where i shoud run tutor k8s start command but tutor is not generating ingress.extensions/web.
I saw that by default the /env/k8s/ingress.yml file does not runs. Is there an option to have ingress.extensions/web deployed?

We had a similar challenge for ingres on EKS. We wrote our deployment in terraform so couldn’t use the wrapped eksctl from AWS.

We use an IAM Service Account and wrote a config file for an ALB ingress controller. It can be called with:

- kubectl apply -f ingress.yml

Config file ingress.yml - replacing {{ }} with your variables :

  ---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: {{WEBSITE NAME}}
  namespace: "openedx"
  annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internet-facing
  labels:
app: {{WEBSITE NAME}}

spec:
  rules:
  
  - host: {{LMS_HOST}}
http:
  paths:
  - backend:
      serviceName: nginx
      servicePort: 80
  - host: preview.{{ LMS_HOST }}
http:
  paths:
  - backend:
      serviceName: nginx
      servicePort: 80
  - host: {{ CMS_HOST }}
http:
  paths:
  - backend:
      serviceName: nginx
      servicePort: 80
1 Like

@regis I was following https://rajputvaibhav.medium.com/open-edx-on-aws-eks-382419ca0865 to install tutor, upper part was mostly done in cluster v1.21 but not able to do Annotation part tried every single possible. Please help to configure ingress to connect with alb.

Hi @techimanshu,
I did not write this tutorial, which is outdated now that Tutor no longer ships with an Ingress resource. I strongly recommend you get in touch with the author of the blog post. Alternatively, you may just follow the instructions from the Tutor docs: Kubernetes deployment — Tutor documentation