0

I am running Apache Airflow on AWS EC2 instance, and it listens on port 8081, http://ec2-X-XX-YYY-ZZZ.compute-1.amazonaws.com:8081/

How can I make this Airflow instance use HTTPS? I followed the instructions here: HTTPS setup in Amazon EC2 and made changes to the security group but didn't do anything to my instance (I didn't restart my EC2 server).

Is there something I am missing here?

hky404
  • 1,039
  • 3
  • 17
  • 35

2 Answers2

1

You will need to specify your SSL settings in airflow.cfg: https://github.com/apache/airflow/blob/master/airflow/config_templates/default_airflow.cfg#L254

chris.mclennon
  • 966
  • 10
  • 25
1

From AWS console admin you have to add an inbound rule for HTTPS in security groups which is attached to your ec2 instance simply And install the SSL certificate from letsencrypt which is free and configure it with your domain and restart the apache airflow server after configuring the SSL certificate