Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't create a new working MWAA environment

In the past two days, we can't create a new working MWAA environment. We started with Terraform - after apply, the environment is indicated as "Available" in the console, but when I click on the "Open UI" link, the UI never comes up. Then we manually created a couple environments, but with the same outcome. For us, MWAA as a service is practically down.

Here is what we are seeing when we click on "Open Airflow UI":

This page isn’t working

zxxcvbnm-6666-4516-935b-bb9701f525e5-vpce.c20.us-west-2.airflow.amazonaws.com didn’t send any data.

ERR_EMPTY_RESPONSE

Any insight/tip is appreciated!

like image 506
Tony Jiang Avatar asked Nov 19 '25 20:11

Tony Jiang


2 Answers

So - it turns out some subnet combinations work, some don't. I believe it's a bug in MWAA.

like image 103
Tony Jiang Avatar answered Nov 22 '25 23:11

Tony Jiang


If the MWAA console (or AWS CLI) reports the environment as AVAILABLE, then Airflow is up and working.

The issue you're seeing is due to networking. From ERR_EMPTY_RESPONSE I can tell that it is a message your browser is giving you based on the HTTP code/response it got from the URL. Unfortunately, these days most browsers engage in a sad trend of treating their users like idiots, and displaying overly vague and confusing error messages. What's actually happening is that your browser tries to access the Airflow URL, and fails, because AWS networking settings are not letting it through.

This may be due to:

  • VPC configuration (particularly security groups and firewall rules). If you created the VPC using the MWAA wizard there shouldn't be a problem, but if you tweaked it or used your own VPC, there might be.
  • MWAA configuration. There's a part in the Networking section where you must select public or private network - it will be much easier to get access if you select public.
like image 38
Dommondke Avatar answered Nov 23 '25 00:11

Dommondke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!