Private MWAA with custom domain - connection timeout

1

I've set up a PRIVATE_ONLY mwaa instance and created an ALB, which points to private addresses of the VPC endpoint based on this guide:
https://docs.aws.amazon.com/mwaa/latest/userguide/vpc-vpe-access.html
(I also added a new A record for my ALB in Route53 zone pointing to my ALB)

Target group reports both targets to be healthy and I can actually access the custom domain, which shows the Airflow login page (Sign in to Airflow). But after clicking on the login button and logging in, the URL I'm taken to is the URL of the vpce, not my custom domain. And because the mwaa instance is private and I'm not in the VPC, I get a connection timeout.

I also tried to use CNAME record instead of A record as mentioned in the docs: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-faqs.html#custom-dns
But the same result - connection timeout.

Seems like after logging in, AWS no longer uses the custom domain, but instead tries to use the default (vpce) url. Is there something I'm not doing correctly?

Edited by: vlmsgst on Aug 25, 2021 12:28 AM

vlmsgst
質問済み 3年前1280ビュー
1回答
0

Have a look at this thread https://forums.aws.amazon.com/thread.jspa?messageID=988951

tl;dr "MWAA does not yet support setting an alternate redirect location"

K4R0L15
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ