I know that when you run airflow webserver
via your home terminal, you can view the UI interface by going to http://localhost:8080. I am able to do this.
However, I have a virtual Amazon Lightsail instance which I ssh into. I then jump into a virtual environment from there to run the airflow webserver
command. This executes successfully, however I cannot thereafter access the UI interface. I've tried entering the following addresses into my browser:
And a multitude of others. Any idea how I go about accessing the UI interface?
To access your Apache Airflow UIOpen the Environments page on the Amazon MWAA console. Choose an environment. Choose Open Airflow UI.
To access the Airflow web interface from the Google Cloud console: In the Google Cloud console, go to the Environments page. In the Airflow webserver column, follow the Airflow link for your environment. Log in with the Google account that has the appropriate permissions.
To check the health status of your Airflow instance, you can simply access the endpoint /health . It will return a JSON object in which a high-level glance is provided. Please keep in mind that the HTTP response code of /health endpoint should not be used to determine the health status of the application.
On an instance in AWS by default all external ports are closed and only port 22 is open (used for ssh), also there may be option to easily click Allow Http and Https which would open port 80 and 443 but since airflow webserver runs on port 8080 by default you would have to go in network setting of your instance and open port on which your airflow webserver is running.
This is actually really easy:
Go to the "Network & Security" -> Security Group settings in the left hand navigation
you can specify the port you opened while running the airflow command.
airflow webserver -p 8080
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With