We currently manage Airflow via ECS containers? Looking to remove the hassle of dockerfiles etc.
Our DAGs are hosted in S3, how is everyone else’s experience with the managed Airflow in AWS? Is it good and easy to use/build?
We currently manage Airflow via ECS containers? Looking to remove the hassle of dockerfiles etc.
Our DAGs are hosted in S3, how is everyone else’s experience with the managed Airflow in AWS? Is it good and easy to use/build?
As any fully mamaged service, it’s a one click deployment and never care about anything else. Quite good, quite costly, but it definitely does its job
I’ve implemented batch data pipelining for large geospatial datasets with MWAA as the orchestrator for a few companies. It’s great, no problems. Minor nitpicks are:
I’m running a production integrations suite via MWAA. The platform has been solid. We had to figure out how to test our logic locally so that our development flow didn’t involve
“…push to s3…wait for MWAA to pick up the files…watch the dag run…”
but once that was in place, it’s been pretty great.
One caveat is that we weren’t able to upgrade to MWAA 2.5.1 and instead had to build an entirely new MWAA environment and re-import our dags. I can’t speak to whether that’s a failing of the way AWS is handling MWAA or if that would be true for a self-hosted airflow installation.
Or maybe we just missed the boat somewhere and were unaware of the upgrade path. Either way, something to consider
We gave up on MWAA, since it costs a lot, and we are running only a handful of DAGs. Running Helm chart on our k8s cluster is easy, and also much, much cheaper, even with sizeable worker. Note that the absolute lowest you can go on MWAA is around 340$ monthly.
local runner solves for the waiting game
We use it to orchestrate DS jobs and it mostly performs as advertised, but:
That said, its an OK product that mostly works, and still easier to do than handling your own, esp with Iam auth and cloudwatch integrations
Don’t get too attached to whats in your metadata db ![]()
yeah that was the original upgrade path - 2-3 months ago they’ve started allowing in place upgrades too i recall (not tried personally )
We started with airflow and moved to self-hosting with ECS. We now have 10x better performance for less than half the cost.
I was using Terraform to manage DAGs and the config https://github.com/alias454/sec-airflow-ingester. It is pricey compared to managing your own containers but overall, it seemed to work pretty decent for my use case at the time.
We ran Airflow 1x on k8s, and recently moved over to MWAA.
We looked into MWAA and Astronomer. I think Astronomer is much more polished, but our workload would result in huge bills if we went with them, since they charge based on run count.
MWAA to be honest has been kind of disappointing. I ran into an autoscaler bug inside MWAA, which prevents me from using the autoscaler. That was half the point of us looking into managed Airflow.
It also doesn’t support in-place upgrades. I feel like that should have been an MVP feature.
While not having to manage the Airflow infrastructure is pretty nice, I still need to know how to tweak the Airflow parameters for it to run properly.
Lastly, AWS support for MWAA hasn’t been too helpful, and this is with premium support.
Same here. Autoscaler not working reliably and there were a handful of other bugs as well, that rendered the solution not ready for production.
We just moved off of it. It uses older versions of airflow under the hood. There were also other issues the teams had which escape me now, some around jobs shutting down or tasks having have to be restarted periodically.
We then migrated to astronomer. Which uses later versions and patches atomically.
Though even from that now we are migrating to a simple worker pattern.
Three cheers for simple worker patterns getting the job done.
Can’t speak to your other points, but in-place upgrades are available as of June 2023.
That is great news, thanks for the info!
Any chance you can share how to deploy and config airlfow in ECS?
I wish i could give it. The company closed lol!
High level is you deploy task definitions for trigger, web server and workers and optionally Use the ECS task executor as well
Setup ci/cd to update task definition and deploy it
Hahah thanks man, no problem!
Do upgrades follow on directly from airflow releases? same release versions? I find being open source, the release tend to break things and then fixes can take a long time.